This repository has been archived by the owner on Feb 25, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 86
Enforce client grant_types and response_types #217
Merged
christiansmith
merged 11 commits into
master
from
vsimonian-enforce-grant_types-response_types
Sep 3, 2015
Merged
Enforce client grant_types and response_types #217
christiansmith
merged 11 commits into
master
from
vsimonian-enforce-grant_types-response_types
Sep 3, 2015
Commits on Sep 3, 2015
-
feat(Client): Require and provide default for grant_type
The OpenID Connect specification makes it clear that this property is optional, and does not need to be specified in order to register a client. However, it provides a desired default value and behaviour. Marking this property as required in the schema and providing a default value effectively makes it optional, as the default value is used whenever a desired value is not explicitly specified. This falls in line with the defined behaviour in the specification.
Configuration menu - View commit details
-
Copy full SHA for acfe1ee - Browse repository at this point
Copy the full SHA acfe1eeView commit details -
feat(Client): Require and provide default for response_types
The OpenID Connect specification makes it clear that this property is optional, and does not need to be specified in order to register a client. However, it provides a desired default value and behaviour. Marking this property as required in the schema and providing a default value effectively makes it optional, as the default value is used whenever a desired value is not explicitly specified. This falls in line with the defined behaviour in the specification.
Configuration menu - View commit details
-
Copy full SHA for 8136ad6 - Browse repository at this point
Copy the full SHA 8136ad6View commit details -
feat(Client): Validate response_types against grant_types
Validates that clients have the appropriate grant_types defined for their desired response_types per the Client Metadata section in the OpenID Connect Registration 1.0 specification http://openid.net/specs/openid-connect-registration-1_0.html#ClientMetadata
Configuration menu - View commit details
-
Copy full SHA for 9846da6 - Browse repository at this point
Copy the full SHA 9846da6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 75b6e8d - Browse repository at this point
Copy the full SHA 75b6e8dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d4f834 - Browse repository at this point
Copy the full SHA 9d4f834View commit details -
Configuration menu - View commit details
-
Copy full SHA for d951c28 - Browse repository at this point
Copy the full SHA d951c28View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a7350 - Browse repository at this point
Copy the full SHA a0a7350View commit details -
Configuration menu - View commit details
-
Copy full SHA for f4ebf52 - Browse repository at this point
Copy the full SHA f4ebf52View commit details -
fix(Client): Equate undefined NODE_ENV to development environment
Makes behaviour consistent with the rest of Anvil Connect, where the lack of a NODE_ENV environment variable value denotes that the server is in a development environment.
Configuration menu - View commit details
-
Copy full SHA for 76d0937 - Browse repository at this point
Copy the full SHA 76d0937View commit details -
Merge branch 'vsimonian-fix-unverified-redirects' into vsimonian-enfo…
…rce-grant_types-response_types
Configuration menu - View commit details
-
Copy full SHA for 0271fe3 - Browse repository at this point
Copy the full SHA 0271fe3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8dc37bc - Browse repository at this point
Copy the full SHA 8dc37bcView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.