Merge pull request #1951 from flant/update-descovery-endpoint-info
fix: update auth methods and claims from discovery endpoint
This commit is contained in:
		@@ -184,10 +184,10 @@ func (s *Server) discoveryHandler() (http.HandlerFunc, error) {
 | 
				
			|||||||
		IDTokenAlgs:       []string{string(jose.RS256)},
 | 
							IDTokenAlgs:       []string{string(jose.RS256)},
 | 
				
			||||||
		CodeChallengeAlgs: []string{CodeChallengeMethodS256, CodeChallengeMethodPlain},
 | 
							CodeChallengeAlgs: []string{CodeChallengeMethodS256, CodeChallengeMethodPlain},
 | 
				
			||||||
		Scopes:            []string{"openid", "email", "groups", "profile", "offline_access"},
 | 
							Scopes:            []string{"openid", "email", "groups", "profile", "offline_access"},
 | 
				
			||||||
		AuthMethods:       []string{"client_secret_basic"},
 | 
							AuthMethods:       []string{"client_secret_basic", "client_secret_post"},
 | 
				
			||||||
		Claims: []string{
 | 
							Claims: []string{
 | 
				
			||||||
			"aud", "email", "email_verified", "exp",
 | 
								"iss", "sub", "aud", "iat", "exp", "email", "email_verified",
 | 
				
			||||||
			"iat", "iss", "locale", "name", "sub",
 | 
								"locale", "name", "preferred_username", "at_hash",
 | 
				
			||||||
		},
 | 
							},
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user