authts / react-oidc-context

Lightweight auth library based on oidc-client-ts for React single page applications (SPA). Support for hooks and higher-order components (HOC).
MIT License
723 stars 68 forks source link

Tutorial with React? #1134

Open CzechCoder opened 9 months ago

CzechCoder commented 9 months ago

I've been trying to use this with Soluto's oidc server mock but for some reason it's very difficult to make the Getting Started app work with it (constantly getting errors). If I want to make the user log in with credentials, how do I make them work together? Any practical demo would be greatly appreciated.

Tockra commented 9 months ago

Maybe you could add here a minimum example of your solution, which is not working. Then we could point on things, where you need to fix something. Indeed I'm not sure if this board is for such support. Otherwise you could ask chatgpt. There we get a lot of helpful ideas.