-
Notifications
You must be signed in to change notification settings - Fork 167
Description
Issue and Steps to Reproduce
Hi i added last version of oidc-client : "@axa-fr/react-oidc": "^7.0.1", but i get :
I have in public folder a Service worker.js. This is the config:
I added the oidc provider in App.tsx and it includes all the routes.
This is where i use it in the LoginForm.tsx:
Maybe I am missing something, or it could be a bug ?
P.S. I have 2 more questions for better understanding the flow, is there a default redirect_url I can use in order for the oidc-client package to manage the oauth2 login till I get the token, because I don't want to actually create the requests from scratch, or where in the examples on github is the resirect url treated ? The second question is regarding the OidcTrustedDomains , I see I need to add my localhost:3000. but should I let the others domains in that file, or just complete with mine, and it is mandatory to change that file in order to function ? Thank you.