Skip to content
New issue

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

Add oidc-client authorization provider #56

Open
ngbrown opened this issue Jan 20, 2020 · 1 comment
Open

Add oidc-client authorization provider #56

ngbrown opened this issue Jan 20, 2020 · 1 comment

Comments

@ngbrown
Copy link

ngbrown commented Jan 20, 2020

I saw that you were open to other identity providers besides Auth0, so how about oidc-client?

@ngbrown
Copy link
Author

ngbrown commented Jan 23, 2020

I've created a version that supports oidc-client and Identity Server here: https://gist.github.com/ngbrown/0be839b1f56679e6d41bbe5f36538931

I started with a very similar API, except that the isAuthenticated is directly from the state and updated on expire instead of being a function. With the way this repository exposes isAuthenticated as a function, doesn't correctly let the components know when to re-render.

Use as inspiration if you want.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant