Skip to content

Commit

Permalink
Add hosted domain options (for google interop)
Browse files Browse the repository at this point in the history
  • Loading branch information
jjbohn committed Dec 9, 2015
1 parent a632e2b commit 98a57c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/omniauth/strategies/openid_connect.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class OpenIDConnect
option :response_mode
option :display, nil #, [:page, :popup, :touch, :wap]
option :prompt, nil #, [:none, :login, :consent, :select_account]
option :hd, nil
option :max_age
option :ui_locales
option :id_token_hint
Expand Down Expand Up @@ -121,6 +122,7 @@ def authorize_uri
scope: options.scope,
state: new_state,
nonce: (new_nonce if options.send_nonce),
hd: options.hd,
}
client.authorization_uri(opts.reject{|k,v| v.nil?})
end
Expand Down

0 comments on commit 98a57c3

Please sign in to comment.