Skip to content

Commit 344511c

Browse files
Move goodbye.html to views
1 parent fa2b96c commit 344511c

File tree

4 files changed

+3
-48
lines changed

4 files changed

+3
-48
lines changed
Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@
44
<meta charset="utf-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1">
66
<title>Logged Out</title>
7-
<!-- Bootstrap CSS and Theme for demo purposes -->
8-
<link rel="stylesheet" href="css/bootstrap-3.3.6.min.css">
7+
<link rel="stylesheet" href="/common/css/bootstrap.min.css">
98
</head>
109
<body>
1110
<div class="container">

lib/api/authn/webid-oidc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,14 @@ function middleware (oidc) {
3636

3737
// User-facing Authentication API
3838
router.get('/api/auth/select-provider', (req, res) => {
39-
res.render('auth/select-provider', {})
39+
res.render('auth/select-provider')
4040
})
4141
router.post('/api/auth/select-provider', bodyParser, selectProvider)
4242

4343
router.post(['/login', '/signin'], bodyParser, login)
4444

4545
router.get('/goodbye', (req, res) => {
46-
res.sendFile('goodbye.html', { root: './static/oidc/' })
46+
res.render('auth/goodbye')
4747
})
4848

4949
// The relying party callback is called at the end of the OIDC signin process

static/oidc/css/bootstrap-3.3.6.min.css

Lines changed: 0 additions & 6 deletions
This file was deleted.

static/oidc/discover-provider.html

Lines changed: 0 additions & 38 deletions
This file was deleted.

0 commit comments

Comments
 (0)