SGW + Custom Authentication App (rails)

I am considering following the SGW + Custom Authentication pattern for my mobile/web app.

Q : Could I create the custom authentication application in Rails?

Has anyone ever done that? Am I just being bonkers? Should I use another technology?

If you use the SG Admin API to create sessions, I don’t see why it wouldn’t work.

We also support OIDC that can save effort if you are authenticating against backends that support OIDC, like MS ActiveDirectory.