-
Notifications
You must be signed in to change notification settings - Fork 6
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
Make user names cleaner #357
Comments
|
@jdkent I don't think this task is super straighforward. When a user clones a study, we save their given auth0 ID The easiest solution would be to save the user's name/username when they clone the study. However, this may eventually be out of date if the user changes their name/username at a later time. Otherwise, could we use auth0 and force users to come up with a unique username that they would use? How is it done in neuroscout @adelavega ? |
I think Auth0 has a mechanism to access the name field. get name field from Auth0 (using the management api token)Management API tokenusing the auth0 management api token from here: https://manage.auth0.com/dashboard/us/dev-mui7zm42/apis/60f60987000aa700428537c5/test What could be a solution is adding an endpooint to /users/ where a |
@jdkent It's trivial to get the name of the user currently logged in; however, what about the list of studies that have a sourceId (a user cloned the study)? |
Another solution would just be to do a mapping on the frontend. We can gather all userIDs that are displayed on the page and call the management API: https://auth0.com/docs/manage-users/user-search/retrieve-users-with-get-users-endpoint |
Update: Our solution will be to create a This will replace the FE auth0IDs for a more user friendly visual. In the future, we will want to be able to update their profile and give them the ability to update their display name |
still a WIP |
Related: #487 |
completed via #197 |
Currently they are ugly oauth2 IDs
The text was updated successfully, but these errors were encountered: