Is there an oidc client library?

Hi, I’m looking to transition from React with typescript to rescript. I need to integrate with Azure AD B2C, and have experience with msal-browser.

I’m thinking of making bindings for this library, but as I have no experience with rescript I’m anticipating a lot of hair-pulling.

Are there any oidc client libraries in the ecosystem? What do people do when implementing auth?

Hello! If you have some example snippets you’d like to see in the output, you can write them here, and we can write the input. You can also try looking at the output at https://rescript-lang.org/try

I have bindings for msal and a react wrapper for it. I’ll try to remember to post it tomorrow if you’re interested.
They are written in reason but you can either convert them or just keep them as is.

1 Like

Thanks for responses, and sorry for being unresponsive. Yes, @ulrikstrid, I’d very much like to see how you made the bindings and the react wrapper :+1: