UX: Change callback URL to be shorter

This commit is contained in:
David Taylor 2018-11-15 17:29:21 +00:00
parent 5ce9aeb174
commit 1c56447c91
1 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ end
class OpenIDConnectAuthenticator < Auth::ManagedAuthenticator
def name
'openid_connect'
'oidc'
end
def enabled?
@ -69,7 +69,7 @@ class OpenIDConnectAuthenticator < Auth::ManagedAuthenticator
def register_middleware(omniauth)
omniauth.provider :openid_connect,
name: :openid_connect,
name: :oidc,
cache: lambda { |key, &blk| Rails.cache.fetch(key, expires_in: 10.minutes, &blk) },
setup: lambda { |env|
opts = env['omniauth.strategy'].options