@ -48,7 +48,7 @@ module OpenProject::OpenIDConnect
end
# Remember oidc session values when logging in user
h[:retain_from_session] = %w[omniauth.openid_sid]
h[:retain_from_session] = %w[omniauth.oidc_sid]
h[:backchannel_logout_callback] = ->(logout_token) do
::OpenProject::OpenIDConnect::SessionMapper.handle_logout(logout_token)
@ -34,7 +34,7 @@ module OpenProject::OpenIDConnect
# we want to map that to the internal session
def user_logged_in(context)
session = context[:session]
oidc_sid = session['omniauth.openid_sid']
oidc_sid = session['omniauth.oidc_sid']
return if oidc_sid.nil?
::OpenProject::OpenIDConnect::SessionMapper.handle_login(oidc_sid, session)