Update pkg/rp/relaying_party.go
Co-authored-by: Livio Amstutz <livio.a@gmail.com>
This commit is contained in:
parent
ce9a8ecf3d
commit
0479454f1f
1 changed files with 2 additions and 2 deletions
|
@ -99,10 +99,10 @@ func WithCodeChallenge(codeChallenge string) AuthURLOpt {
|
|||
}
|
||||
|
||||
//WithPrompt sets the `prompt` params in the auth request
|
||||
func WithPrompt(prompt string) AuthURLOpt {
|
||||
func WithPrompt(prompt oidc.Prompt) AuthURLOpt {
|
||||
return func() []oauth2.AuthCodeOption {
|
||||
return []oauth2.AuthCodeOption{
|
||||
oauth2.SetAuthURLParam("prompt", prompt),
|
||||
oauth2.SetAuthURLParam("prompt", string(prompt)),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue