Integrate auth0 authentication service into ionic 2 app
€30-250 EUR
Dalam Kemajuan
Disiarkan sekitar 7 tahun yang lalu
€30-250 EUR
Dibayar semasa penghantaran
Hi, we're looking just for a provider class to integrate [login to view URL] as authentication provider into a ionic 2 app. For this project:
- create a dummy ionic app (could be even starter template)
- add auth0 as provider
You will require ionic 2 or angular knowledge. auth0 knowledge will be helpful. Most of the functions listed below can be copied from the auth0 lib documentation/tutorial.
auth0 provider can't use the auth0 lock screen (as we don't want that) but can either use the auth0 javascript lib or authenticate against their http API.
auth0 provider needs to support following functions (which will be called from our login form/other pages):
1) register new user with username, password
input: username, password
output: user registered with auth0 & logged in. user object available in ionic
2) login with username, password
input: username, password
output: user logged in auth0. user object available in ionic
3) login with social provider, for example google
input: social provider
output: user logged in auth0. user object available in ionic
4) logout
output: user logged out from auth0 and app
5) trigger change password
input: user
output: auth0 email to user
While signed in the user will get a token from auth0. This can be stored locally (as described in auth0 tutorial) & token to be refreshed automatically.
When a user opens the app the app should automatically login user again based on locally stored token. Even if token has already been [login to view URL] for example if token expiration is 10 hours and user opens app again after 3 days, we still use the token to log him back in in the background. User won't notice this background login process. Only when he explicitly logs out (via above function), token will have been removed from local storage and he needs to log back in.
For this project you will need to provide us:
- dummy ionic app
- include a auth0 provider that either goes against auth0 http api or uses [login to view URL]
- access to auth0 Dashboard (free account)
- for testing purpose include a static page in the app that can call each of the auth0 provider functions listed above
- automatic login with locally stored tokens need to work in addition to the functions listed above
Later we will migrate the auth0 provider ourselves into our existing app.