Skip to content

Commit

Permalink
fix: update import of FederatedIdentityError in example
Browse files Browse the repository at this point in the history
  • Loading branch information
nicornk authored and rjw57 committed Dec 9, 2024
1 parent e97411c commit 179e32c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ EXPECTED_AUDIENCE_CLAIM = "https://my-service.example.com"
def verify_gitlab_token(token: str) -> dict[str, Any]:
"""
Verify an OIDC token from GitLab and return the dictionary of claims. Raises
federatedidentity.FederatedIdentityError if the token failed verification.
federatedidentity.exceptions.FederatedIdentityError if the token failed verification.
"""
return verify_id_token(
token,
Expand Down

0 comments on commit 179e32c

Please sign in to comment.