Skip to content

Commit

Permalink
Merge pull request #12932 from mkllnk/dfc-offline-token
Browse files Browse the repository at this point in the history
Request offline access when connecting OIDC account
  • Loading branch information
mkllnk authored Oct 17, 2024
2 parents afff200 + 7b8aeb7 commit 783de09
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion config/initializers/devise.rb
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
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,
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 783de09

Please sign in to comment.