-
Notifications
You must be signed in to change notification settings - Fork 23
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
[FEATURE] Integrate new authentication system #396
Labels
Type: Feature Request
Requesting new functionality
Comments
mihail-varbanov
pushed a commit
that referenced
this issue
Nov 16, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Nov 16, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Nov 17, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Nov 18, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Nov 18, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Dec 21, 2020
…en yet to user signed requests (#396).
mihail-varbanov
pushed a commit
that referenced
this issue
Dec 23, 2020
…thentication only in Health API calls (#396).
mihail-varbanov
pushed a commit
that referenced
this issue
Dec 23, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Dec 23, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Dec 30, 2020
mihail-varbanov
pushed a commit
that referenced
this issue
Dec 30, 2020
Refresh auth token before refreshing rokmetro token (#396).
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Re: University Monday 2020/11/09 - 2020/11/10
5 Misho, please take a look at https://github.com/rokmetro/auth-service. I believe you have access to the ROKMETRO GitHub org, but let me know if not. JP wants us to integrate this into Safer so we can use a common "middle man" for Login/Authentication systems. In addition bring the Rokwire and Rokmetro sources closer together. Petyo should also look as To get the whole system working there obviously need to be changes in all of the apps and services as well. Let me know your thoughts.
University Thursday 2020/11/12
2 Petyo/Misho - More on Safer and Stephen's Auth
No documentation yet. Here is what Sephen had written before as a summary:
"Essentially, we have rearchitected the authentication systems in the building blocks into a centralized auth service to provide a more consistent, maintainable and configurable approach to authentication. Our main goal was to be able to quickly and easily integrate with any authentication system we come across without having to modify every service individually. We also wanted to standardize and control permission groups within the ecosystem rather than delegating this to identity providers directly. The flow we have implemented is as follows:
We also plan to update the admin app to interface with this new system. We would like to allow users to sign up with an email and password using a phone number for two-factor authentication (we have replaced Twillio with Firebase for phone authentication so we are implementing this with Firebase) to allow non-university admins to get access. Since the permission groups for users are now stored in our own database, we would also like to provide certain admins with the ability to set user permissions using an interface within the admin app."
He will also be pointing out some key points and providing access to his Dev environment. You should also grab his Safer Community app and try it.
We will want to use a static ClientId so that eventually our app config has API base urls that end with it. Basically our source will be multi tenant but a single tenant model. This also means all BB will need to use the client ID in their documents etc
Stephen from Slack
Hi everyone, here is some of the information that you will need to try out our APIs and view our databases. Let me know if you have trouble accessing anything that you need. Our latest updates should be on the develop branch for all of our services. If you have specific questions, or need help finding anything feel free to reach out. Thanks for all your help!
MongoDB
Connection string: mongo "mongodb+srv://cluster0.rmcsk.mongodb.net/" --username
Databases:
dev_adminconfigs
dev_appconfigs
dev_auth
dev_dining
dev_events
dev_health
dev_keys
dev_polls
dev_profiles
dev_talent
Services
Sample clientID: ...
Sample API Key: ....
Auth identity token (see Token Authentication procedure):
...
Current Permission Groups: admin_app
Token Authentication
Description: In order to access Rokwire APIs, you will need to use an identity token provided by ROKMETRO to get a temporary API access token
Procedure:
APIs
Service Base URLs: https://{application}.api.{env}.services.rokmetro.com/{clientID}
Envs:
Applications:
For an example of how to use the auth service in a client, check https://github.com/rokmetro/safer-app/blob/e3292c9453d23963c0aaebcf80285921d144e627/lib/service/Auth.dart#L361
The text was updated successfully, but these errors were encountered: