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

Implement the sign in screen #15

Open
Areadrill opened this issue Mar 30, 2020 · 2 comments
Open

Implement the sign in screen #15

Areadrill opened this issue Mar 30, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@Areadrill
Copy link
Contributor

Areadrill commented Mar 30, 2020

Attention: This includes co-ordinating with the backend folks in order to to see how the API is configures right now (this relates to #16 ).

Designs here

@Areadrill Areadrill added the enhancement New feature or request label Mar 30, 2020
@Areadrill Areadrill added this to the Onboarding + Login milestone Mar 30, 2020
@imonthercks
Copy link

It looks like the design for this is using native login screens vs browser based. Could knock out a bunch of that scope by using the built in Auth0 user flows for account creation, forgot/change password and login. We have some auth0 middleware already working in a branch of the back-end api, so this could be a good jumping off point anyway. I’ll hopefully push some changes to an API PR soon that will demonstrate what it looks like.

@imonthercks
Copy link

An example of the Auth0 sign-in screen can be found here...

https://o2-monitoring-dev-us.auth0.com/authorize?client_id=5SvFE06CGaHu39AmPQmTa76X1TlibVUt&redirect_uri=https://openidconnect.net/callback&scope=openid%20profile%20email%20phone%20address&response_type=code&state=5d839812bfb8ed9fc398065b4f4a534e5bee5bc9

This will end up dumping you at an auth0 testing site https://openidconnect.net

Here is some documentation on how to make the redirect to the Auth0 browser based login work, including the use of the Auth0 sdk for React Native as well as how to setup the listener for when the Auth0 signing screen redirects back to the app after login.

Auth0 will need to be configured to allow any redirect URI specified in the mobile apps, so be sure to share these with us.

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

No branches or pull requests

2 participants