Skip to content

Commit

Permalink
Configure the openid passport strategy to request offline tokens
Browse files Browse the repository at this point in the history
  • Loading branch information
ajluker committed Oct 23, 2024
1 parent c8a58d4 commit 9dfb9d9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -127,6 +127,9 @@ async function createApp() {
{
client: client,
usePKCE: true,
params: {
scope: "offline_access",
},
},
function authCallback(tokenset, userinfo, done) {
userinfo.accessToken = tokenset.access_token;
Expand Down

0 comments on commit 9dfb9d9

Please sign in to comment.