Skip to content
This repository was archived by the owner on Apr 19, 2025. It is now read-only.

Commit 09e3028

Browse files
committed
fix auth
1 parent 9a44e5d commit 09e3028

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ exports.creds = {
4646
responseMode: 'form_post',
4747

4848
// Required, the reply URL registered in AAD for your app
49-
redirectUrl: `${process.env.BASE_PROTO}://${process.env.baseURL}/auth/openid/return`,
49+
redirectUrl: `${process.env.BASE_PROTO}://${process.env.BASE_URL}/auth/openid/return`,
5050
// Required if we use http for redirectUrl
5151
allowHttpForRedirectUrl: true,
5252

@@ -97,7 +97,7 @@ exports.creds = {
9797
};
9898

9999
// The url you need to go to destroy the session with AAD
100-
exports.destroySessionUrl = `https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri=${process.env.BASE_PROTO}://${process.env.baseURL}`
100+
exports.destroySessionUrl = `https://login.microsoftonline.com/common/oauth2/logout?post_logout_redirect_uri=${process.env.BASE_PROTO}://${process.env.BASE_URL}`
101101

102102
// If you want to use the mongoDB session store for session middleware, set to true; otherwise we will use the default
103103
// session store provided by express-session.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "linkry-link-shortener",
3-
"version": "1.2.0",
3+
"version": "1.2.1",
44
"description": "",
55
"main": "index.js",
66
"scripts": {

0 commit comments

Comments
 (0)