Skip to content

Commit d35831a

Browse files
author
Perki
committed
Simple customization to use home made app-web-auth3
1 parent 4de1424 commit d35831a

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

components/register/src/config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,11 @@ module.exports = {
5252
if (settingPublicUrl.slice(-1) !== '/') {
5353
settingPublicUrl += '/';
5454
}
55-
const pathPublicUrl = settingPublicUrl.slice(0, -1);
55+
// const pathPublicUrl = settingPublicUrl.slice(0, -1);
5656
config.publicUrl = settingPublicUrl;
5757
config['access:trustedAuthUrls'] = [settingPublicUrl];
58-
config['access:defaultAuthUrl'] = [
59-
pathPublicUrl + wwwPath + '/access/access.html'
60-
];
58+
config['access:defaultAuthUrl'] = [settings.get('hds:defaultAuthUrl')];
59+
// pathPublicUrl + wwwPath + '/access/access.html' ];
6160

6261
// load admin keys
6362
config.adminKey = settings.get('auth:adminAccessKey');

configs/api.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
hds:
2+
defaultAuthUrl: https://healthdatasafe.github.io/app-web-auth3-hds/access/access.html
13
dnsLess:
24
publicUrl: http://localhost:3000/ # the "Public" URL to reach the service, you need to change this if you use a third party SSL service such as NGNIX.
35
http:

0 commit comments

Comments
 (0)