News for hackers. Stuff that matters.
Re:Why Tracebit is written in C# by cyberax on Friday January 31, 2025 @11:40PM (#42895693)
> 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.

Re:Why Tracebit is written in C# by lordofgibbons on Saturday February 01, 2025 @12:55AM (#42896052)
I'm complaining about having to use external services to do auth, and your solution is to use external services lol
Re:Why Tracebit is written in C# by cyberax on Saturday February 01, 2025 @12:55PM (#42900389)
You can do Google/Microsoft/Apple OAuth is pretty much the same amount of code. E.g.: https://github.com/pgrok/pgrok/blob/dda32d9accfb46ab41f59cae...

What else do you need?