Browse Source

feat: add logout for auth0 (#5545)

Co-authored-by: Pam Selle <pam@thewebivore.com>
pull/5582/head
Pam S 2 years ago
committed by GitHub
parent
commit
8290e86aaf
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions
  1. 3
      server/modules/authentication/auth0/authentication.js

3
server/modules/authentication/auth0/authentication.js

@ -27,5 +27,8 @@ module.exports = {
}
}
))
},
logout (conf) {
return `https://${conf.domain}/v2/logout?${new URLSearchParams({ client_id: conf.clientId, returnTo: WIKI.config.host }).toString()}`
}
}
Loading…
Cancel
Save