3 ms·
> Need to quickly put together an application that supports enterprise OAuth? ???? That's super easy. I added support for Clerk's OAuth to our app in literall
by cyberax 2y ago
> Need to quickly put together an application that supports enterprise OAuth?
????
That's super easy. I added support for Clerk's OAuth to our app in literally 10 minutes. It was as easy as:
> token, err := jwt.ParseString(sessionToken, jwt.WithKeySet(r.keySet), jwt.WithAudience(r.audience))
JWT is from `github.com/lestrrat-go/jwx`
I'm not sure about SAML, but at this point it's probably best to not even touch it.
- lordofgibbons 2y agoI'm complaining about having to use external services to do auth, and your solution is to use external services lol
- deleted 2y ago[deleted]
- cyberax 2y agoYou can do Google/Microsoft/Apple OAuth is pretty much the same amount of code. E.g.: https://github.com/pgrok/pgrok/blob/dda32d9accfb46ab41f59cae2dce96346435a213/pgrokd/cli/web_server.go#L159 https://github.com/pgrok/pgrok/blob/dda32d9accfb46ab41f59cae... What else do you need?