diff options
author | Frederick Muriuki Muriithi | 2023-01-04 06:37:32 +0300 |
---|---|---|
committer | Frederick Muriuki Muriithi | 2023-01-04 06:44:26 +0300 |
commit | 7ea2f83c505c792a36d17cc0fc13301a885fb732 (patch) | |
tree | 68a51ddc2cbf7668e23c7e881dd83826db8d0757 /gn3/app.py | |
parent | dcd09e820ff142a8ca932363a0b67b72182d355c (diff) | |
download | genenetwork3-7ea2f83c505c792a36d17cc0fc13301a885fb732.tar.gz |
auth: return group info as part of user details
* gn3/app.py: import blueprint from authorisation views inorder to get all
endpoints
* gn3/auth/authentication/oauth2/views.py: remove the `/user` endpoint
* gn3/auth/authorisation/views.py: add the `/user` endpoint and add the group
information to the user details.
Diffstat (limited to 'gn3/app.py')
-rw-r--r-- | gn3/app.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ from gn3.api.async_commands import async_commands from gn3.api.menu import menu from gn3.api.search import search from gn3.api.metadata import metadata -from gn3.auth.authentication.oauth2.views import oauth2 +from gn3.auth.authorisation.views import oauth2 from gn3.auth.authentication.oauth2.server import setup_oauth2_server |