You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In initUserManager, you have destructured settings object omitting lot of config properties such as metadata or extraQueryParams which should be support as in oidc-client library.
The text was updated successfully, but these errors were encountered:
mancioshell
pushed a commit
to mancioshell/oidc-react
that referenced
this issue
Mar 20, 2021
Thank you so much for reporting and using this library. 🙏
You can use all config arguments from oidc-client, you just have to assert your own UserManager.
See the example:
importReactfrom'react';import{UserManager,AuthProvider}from'oidc-react';constuserManager=newUserManager({// ... set your config here});exportconstHelloComponent: React.FC=()=>(<AuthProvideruserManager={userManager}>{/* ... */}</AuthProvider>);
We are probably going to research ways to improve all this when we eventually land #652
AuthProvider should support every config available on UserManager.
Currently it seems support only :
In initUserManager, you have destructured settings object omitting lot of config properties such as
metadata
orextraQueryParams
which should be support as in oidc-client library.The text was updated successfully, but these errors were encountered: