Commit 508bafd1 authored by Johannes Winter's avatar Johannes Winter

issue own popup

rel #166
parent 096141e0
Pipeline #392 passed with stages
in 4 minutes and 30 seconds
This diff is collapsed.
......@@ -10,9 +10,7 @@
import auth from 'solid-auth-client'
const DOMAIN = process.env.VUE_APP_DOMAIN || 'https://app.solidbase.info'
const popupUri = 'https://ld.solidbase.info/common/popup.html'
var callbackURL = new URL('popup.html', DOMAIN)
callbackURL.protocol='http'
const popupUri = (new URL('popup.html', DOMAIN)).href
export default {
name: 'LoginButton',
......@@ -26,8 +24,8 @@ export default {
this.trackSession()
})
} else {
// console.log(`logging in using options:\n${JSON.stringify({popupUri, callbackUri})}`);
this.session = await auth.popupLogin({ popupUri})
console.log(`logging in with:\n${JSON.stringify({ popupUri })}`);
this.session = await auth.popupLogin({ popupUri })
this.trackSession()
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment