More robust Authentication API #27722
Darhagonable
started this conversation in
Proposals and Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The current expo library for authentication is expo-auth-session but in my use cases it seems pretty lacking or at least not that clearly documented for how to make full solution.
Would be nice the the API was more akin to the likes of oidc-react or react-oidc-context
Set of requitements:
Nice to haves:
Proposed API:
Have API similar to oidc-react and react-oidc-context with a simple React Context Provider and then a useAuth() hook to get the
userData
,accessToken
,signIn
method,signOut
method and moreHow to support multiple providers/tenants:
Provider:
Sign In method:
Beta Was this translation helpful? Give feedback.
All reactions