Skip to content

Commit

Permalink
fix(auth): try to refresh auth0 session silently, without having to r…
Browse files Browse the repository at this point in the history
…e-login everyday

follow up for PR #705.
  • Loading branch information
adrienjoly committed Mar 9, 2024
1 parent 64d9b7d commit c8fb684
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/lib/auth0/index.js
Expand Up @@ -73,6 +73,7 @@ exports.Auth0Wrapper = class Auth0Wrapper {
const openId = require('express-openid-connect');
return openId.auth({
authRequired: false,
attemptSilentLogin: true,
auth0Logout: true,
baseURL: urlPrefix,
secret: this.env.AUTH0_SECRET,
Expand Down

0 comments on commit c8fb684

Please sign in to comment.