feat: add logout for auth0 (#5545)

Co-authored-by: Pam Selle <pam@thewebivore.com>
This commit is contained in:
Pam S 2022-08-16 16:37:19 -04:00 committed by GitHub
parent 4e5da41d35
commit 8290e86aaf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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()}`
}
}