Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Validate / Cast Token Responses #306

Closed
maennchen opened this issue Dec 13, 2023 · 0 comments · Fixed by #308
Closed

Validate / Cast Token Responses #306

maennchen opened this issue Dec 13, 2023 · 0 comments · Fixed by #308
Assignees
Labels
Milestone

Comments

@maennchen
Copy link
Member

oidcc version

3.1.2-beta.1

Erlang version

26.2

Elixir version

1.15.7

Summary

oidcc should validate / cast token responses as it does for the provider metadata.

Current behavior

Given an Azure AD token response, the #oidcc_token_access.expires_in is a string and not a number as expected.

How to reproduce

Request token from Azure AD and check response.

Expected behavior

The fields of the token response should be cast and validated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant