Skip to content

Commit c787744

Browse files
machisujioliverguenther
authored andcommitted
allow overriding prompt via get param
1 parent efddc06 commit c787744

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/omniauth/strategies/openid_connect.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def authorize_options
146146
login_hint: params['login_hint'].presence || options.login_hint.presence,
147147
ui_locales: params['ui_locales'].presence || options.ui_locales.presence,
148148
claims_locales: params['claims_locales'].presence || options.claims_locales.presence,
149-
prompt: options.prompt,
149+
prompt: params['prompt'].presence || options.prompt.presence,
150150
nonce: (new_nonce if options.send_nonce),
151151
hd: options.hd,
152152
acr_values: options.acr_values

0 commit comments

Comments
 (0)