mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-02 02:11:33 +00:00
Request offline access when connecting OIDC account
This commit is contained in:
@@ -155,7 +155,7 @@ if ENV["OPENID_APP_ID"].present? && ENV["OPENID_APP_SECRET"].present?
|
||||
config.omniauth :openid_connect, {
|
||||
name: :openid_connect,
|
||||
issuer: "https://login.lescommuns.org/auth/realms/data-food-consortium",
|
||||
scope: [:openid, :profile, :email],
|
||||
scope: [:openid, :profile, :email, :offline_access],
|
||||
response_type: :code,
|
||||
uid_field: "email",
|
||||
discovery: true,
|
||||
|
||||
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user