We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
something like:
export interface AuthState { user?: User; isAuthenticated: boolean; isLoading: boolean; error?: Error; }
inside the context:
const [state, dispatch] = useReducer(reducer, initialAuthState);
Additionally a AuthReducer.tsx file is handling the reducing. I could put together a merge request, iff wanted.
The text was updated successfully, but these errors were encountered:
Thanks for opening this issue, @pamapa. I'm closing this now, but we'll use this for reference in regards to #652.
For reference, @pamapa have made a separate library that adds this. So, if you are looking for such functionality, have a look at: https://github.com/pamapa/react-oidc-context
Sorry, something went wrong.
No branches or pull requests
something like:
inside the context:
Additionally a AuthReducer.tsx file is handling the reducing. I could put together a merge request, iff wanted.
The text was updated successfully, but these errors were encountered: