Skip to content

Commit

Permalink
adjust scopes to match IAM client
Browse files Browse the repository at this point in the history
  • Loading branch information
apdavison committed Nov 24, 2023
1 parent c0ef638 commit d698338
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/simqueue/oauth.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
client_secret=settings.EBRAINS_IAM_SECRET,
userinfo_endpoint=f"{settings.EBRAINS_IAM_SERVICE_URL}/protocol/openid-connect/userinfo",
client_kwargs={
"scope": "openid profile collab.drive clb.drive:read clb.drive:write group team web-origins roles email",
"scope": "openid profile collab.drive group team roles email",
"trust_env": False,
"timeout": Timeout(timeout=settings.AUTHENTICATION_TIMEOUT),
},
Expand Down

0 comments on commit d698338

Please sign in to comment.