Open shorrocka opened 2 months ago
Even though you configured the authentication, ATLAS/WebAPI will not grant the role automatically. In order to grant your user with admin permissions, please follow this section in documentation: https://github.com/OHDSI/WebAPI/wiki/Atlas-Security#defining-an-administrator
Expected behavior
We have connected Atlas with Auth0 using OpenIDC and can successfully login after passing our credentials thru Auth0 before being redirected to Atlas with our login information appearing. We should then be able to access anything we have been given permission to based on database roles.
Actual behavior
We have no access to anything regardless of the roles in the database, my user is set to have Admin rights but cannot access anything with the system.
user_id | login | role_id | role_name ---------+--------------------+---------+-------------------- 1000 | shorrocka@chop.edu | 1002 | shorrocka@chop.edu 1000 | shorrocka@chop.edu | 1 | public 1000 | shorrocka@chop.edu | 2 | admin 1000 | shorrocka@chop.edu | 10 | Atlas users
Steps to reproduce behavior
We setup security with the following settings:
We then can see the login information coming from the log with debug set for shiro:
Is there something I am missing or is this a bug and we need to route to a different auth mechanism. Please let me know if there is something else that can be provided to support.