Skip to content

Commit

Permalink
fix(backend): add provider detail for debuging scope declines
Browse files Browse the repository at this point in the history
  • Loading branch information
ntindle committed Oct 1, 2024
1 parent 65de432 commit 2004d80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ async def callback(
# Check if the granted scopes are sufficient for the requested scopes
if not set(scopes).issubset(set(credentials.scopes)):
logger.warning(
f"Granted scopes {credentials.scopes} do not include all requested scopes {scopes}"
f"Granted scopes {credentials.scopes} for {provider}do not include all requested scopes {scopes}"
)
# You can choose to raise an exception here or handle it in another way
# For now, we'll just log the warning and continue
Expand Down

0 comments on commit 2004d80

Please sign in to comment.