Skip to content

fix: Make userinfo_endpoint optional#75

Open
ejmartin504 wants to merge 1 commit intoDockYard:masterfrom
ejmartin504:userinfo_optional
Open

fix: Make userinfo_endpoint optional#75
ejmartin504 wants to merge 1 commit intoDockYard:masterfrom
ejmartin504:userinfo_optional

Conversation

@ejmartin504
Copy link

resolves #74

This PR simply makes userinfo_endpoint optional, which makes it possible to validate Apple tokens using their openID configuration.

Given that "userinfo_endpoint" is not present in required_keys I think this is a relatively non-controversial change, and IMO a test does not need to be added here (before, a document without this key would result in an exception, rather than :invalid_document being returned) But happy to add one if needed!

(side note: Not particularly important for this PR, but https://github.com/dockyard/styleguides 404s for me. )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Apple token validation fails because no userinfo_endpoint

1 participant

Comments