Skip to content

Commit

Permalink
Modification de 'omniauth'
Browse files Browse the repository at this point in the history
  • Loading branch information
tnicolas1 committed Feb 7, 2025
1 parent 77bc7d2 commit ef087c1
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/initializers/omniauth.rb
Original file line number Diff line number Diff line change
Expand Up @@ -41,9 +41,10 @@

provider :openid_connect, {
name: :academic,
scope: ENV.fetch("APLYPRO_ACADEMIC_OIDC_SCOPE"),
discovery: true,
scope: ENV.fetch("APLYPRO_FIM_SCOPE"),
response_type: :code,
issuer: ENV.fetch("APLYPRO_ACADEMIC_OIDC_ISSUER"),
discovery: true,
client_options: {
host: ENV.fetch("APLYPRO_ACADEMIC_OIDC_HOST"),
redirect_uri: ENV.fetch("APLYPRO_ACADEMIC_OIDC_REDIRECT_URI"),
Expand Down

0 comments on commit ef087c1

Please sign in to comment.