1
0
mirror of https://github.com/oauth2-proxy/oauth2-proxy.git synced 2025-08-06 22:42:56 +02:00

Fix #381, expose acr_values to all providers (#445)

This commit is contained in:
Jakub Holy
2020-03-17 18:57:33 +01:00
committed by GitHub
parent 4eef21cf3d
commit 3108f765a5
7 changed files with 19 additions and 11 deletions

View File

@ -12,17 +12,20 @@ import (
// of OAuth2 providers
type ProviderData struct {
ProviderName string
ClientID string
ClientSecret string
ClientSecretFile string
LoginURL *url.URL
RedeemURL *url.URL
ProfileURL *url.URL
ProtectedResource *url.URL
ValidateURL *url.URL
Scope string
Prompt string
ApprovalPrompt string
// Auth request params & related, see
//https://openid.net/specs/openid-connect-basic-1_0.html#rfc.section.2.1.1.1
AcrValues string
ApprovalPrompt string // NOTE: Renamed to "prompt" in OAuth2
ClientID string
ClientSecret string
ClientSecretFile string
Scope string
Prompt string
}
// Data returns the ProviderData