Closed okazu-dm closed 6 years ago
kuroko2 can accept only single hosted domain. This PR enable kuroko2 to accept multiple hosted domains like omniauth-google-oauth2.(https://github.com/zquestz/omniauth-google-oauth2/blob/master/lib/omniauth/strategies/google_oauth2.rb#L208)
example conf
app_authentication: google_oauth2: client_id: '<%= ENV["GOOGLE_CLIENT_ID"] %>' client_secret: '<%= ENV["GOOGLE_CLIENT_SECRET"] %>' options: hd: - example.org - example.com
kuroko2 can accept only single hosted domain. This PR enable kuroko2 to accept multiple hosted domains like omniauth-google-oauth2.(https://github.com/zquestz/omniauth-google-oauth2/blob/master/lib/omniauth/strategies/google_oauth2.rb#L208)
example conf