Skip to content

Commit

Permalink
Merge pull request #23 from nicornk/patch-1
Browse files Browse the repository at this point in the history
update import of FederatedIdentityError in example
  • Loading branch information
rjw57 authored Dec 9, 2024
2 parents e97411c + cd7bd1e commit 0edea1f
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 0edea1f

Please sign in to comment.