Skip to content
Snippets Groups Projects
Commit f8241f35 authored by Mohammad Torkashvand's avatar Mohammad Torkashvand
Browse files

run ruff formatter

parent 10508595
No related branches found
No related tags found
1 merge request!224skip calling oidc userinfo when token is client-credential flow
Pipeline #87355 failed
......@@ -241,9 +241,7 @@ class OIDCUser(HTTPBearer):
client_id = intercepted_token.get("client_id")
if "sub" not in intercepted_token:
return OIDCUserModel(
client_id=client_id
)
return OIDCUserModel(client_id=client_id)
user_info = await self.userinfo(async_request, token)
user_info["client_id"] = client_id
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment