Skip to content

Commit

Permalink
Fix Express + Auth0 Logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Matt Raible committed Aug 24, 2022
1 parent 53535d0 commit dcaef97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/add-auth/auth0/express/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ require('dotenv').config()
const app = express();
const config = {
authRequired: false,
auth0Logout: true,
baseURL: process.env.BASE_URL,
clientID: process.env.OIDC_CLIENT_ID,
issuerBaseURL: process.env.OIDC_ISSUER,
Expand Down
2 changes: 1 addition & 1 deletion src/add-auth/auth0/express/views/index.pug
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ extends layout
block content
h1= title
p Welcome to #{title}, #{user.name}!
form(method='POST' action='/logout')
form(method='GET' action='/logout')
button(type='submit') Logout

0 comments on commit dcaef97

Please sign in to comment.