Skip to content

Commit

Permalink
driver: Use proper key name when JWT is enabled
Browse files Browse the repository at this point in the history
Closes #1369

Signed-off-by: aeneasr <aeneas@ory.sh>
  • Loading branch information
aeneasr committed Apr 19, 2019
1 parent 14f494c commit ced3d51
Show file tree
Hide file tree
Showing 3 changed files with 98 additions and 2 deletions.
2 changes: 1 addition & 1 deletion driver/configuration/provider_viper.go
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ func (v *ViperProvider) InsecureRedirects() []string {

func (v *ViperProvider) WellKnownKeys(include ...string) []string {
if v.AccessTokenStrategy() == "jwt" {
include = append(include, x.OpenIDConnectKeyName)
include = append(include, x.OAuth2JWTKeyName)
}

include = append(include, x.OpenIDConnectKeyName)
Expand Down
2 changes: 1 addition & 1 deletion quickstart.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ services:
- OAUTH2_SHARE_ERROR_DEBUG=1
- OIDC_SUBJECT_TYPES_SUPPORTED=public,pairwise
- OIDC_SUBJECT_TYPE_PAIRWISE_SALT=youReallyNeedToChangeThis
# - OAUTH2_ACCESS_TOKEN_STRATEGY=jwt
- OAUTH2_ACCESS_TOKEN_STRATEGY=jwt
restart: unless-stopped

consent:
Expand Down
96 changes: 96 additions & 0 deletions sdk/go/hydra/models/handled_authentication_request.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit ced3d51

Please sign in to comment.