You've already forked oauth2-proxy
mirror of
https://github.com/oauth2-proxy/oauth2-proxy.git
synced 2025-06-15 00:15:00 +02:00
Add a flag to set the value of "approval_prompt".
By setting this to "force", certain providers, like Google, will interject an additional prompt on every new session. With other values, like "auto", this prompt is not forced upon the user.
This commit is contained in:
1
main.go
1
main.go
@ -63,6 +63,7 @@ func main() {
|
||||
flagSet.String("profile-url", "", "Profile access endpoint")
|
||||
flagSet.String("validate-url", "", "Access token validation endpoint")
|
||||
flagSet.String("scope", "", "Oauth scope specification")
|
||||
flagSet.String("approval-prompt", "force", "Oauth approval_prompt")
|
||||
|
||||
flagSet.Parse(os.Args[1:])
|
||||
|
||||
|
Reference in New Issue
Block a user