feat: coverage prompt=none, response_mode=fragment (#385)
This commit is contained in:
parent
e62473ba71
commit
157bc6ceb0
5 changed files with 117 additions and 10 deletions
|
@ -569,6 +569,11 @@ func WithPromptURLParam(prompt ...string) URLParamOpt {
|
|||
return withPrompt(prompt...)
|
||||
}
|
||||
|
||||
// WithResponseModeURLParam sets the `response_mode` parameter in a URL.
|
||||
func WithResponseModeURLParam(mode oidc.ResponseMode) URLParamOpt {
|
||||
return withURLParam("response_mode", string(mode))
|
||||
}
|
||||
|
||||
type AuthURLOpt func() []oauth2.AuthCodeOption
|
||||
|
||||
// WithCodeChallenge sets the `code_challenge` params in the auth request
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue