Skip to content

Commit

Permalink
oauth user pk
Browse files Browse the repository at this point in the history
  • Loading branch information
q committed Feb 26, 2025
1 parent a1f969f commit c698d9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions irrd/webui/auth/endpoints.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import logging
import secrets
import uuid
from urllib.parse import unquote_plus, urlparse
import oic
import oic.oic.message
Expand Down Expand Up @@ -381,6 +382,7 @@ async def oauth_callback(request: Request):

if not user:
user = AuthUser(
pk=uuid.uuid4(),
email=userinfo["email"],
oidc_sub=userinfo["sub"],
name=userinfo["name"],
Expand Down

0 comments on commit c698d9c

Please sign in to comment.