http -> https

This commit is contained in:
Kgothatso 2019-12-07 14:43:17 +02:00
parent d947433196
commit e07ab9cee0

View File

@ -51,7 +51,7 @@ module.exports = function (options) {
// TODO: Support multiple login options...
const loginMessage = {
action: "authenticate",
responseEndpoint: `http://${config.get("server.domain")}/xpub-auth/sign`,
responseEndpoint: `https://${config.get("server.domain")}/xpub-auth/sign`,
url: config.get("server.domain"),
userIdentifier: user.displayName,
}
@ -233,7 +233,7 @@ module.exports = function (options) {
// Challenge
const registerationMessage = {
action: "register",
responseEndpoint: `http://${config.get("server.domain")}/xpub-auth/sign`,
responseEndpoint: `https://${config.get("server.domain")}/xpub-auth/sign`,
serviceExtendedPublicKey: config.get("bip32.serviceAuthenticatingExtendedPublicKey"),
url: config.get("server.domain"),
userIdentifier: xpubUser.displayName, // identifier the user supplies on the login page