Commit 90f314bf authored by Chris Hines's avatar Chris Hines
Browse files

still having login problems

parent 86548498
Pipeline #7540 passed with stages
in 2 minutes and 54 seconds
......@@ -312,6 +312,8 @@ public getKeys(id?: Identity) {
let nonce=Math.random().toString(36).substring(2, 15)
localStorage.setItem('authservice', JSON.stringify([authservice,nonce]));
console.log('stored the authservice in localStorage');
console.log(localStorage.getItem('authservice'));
localStorage.setItem('path', this.location.path());
if (authservice.scope == null) {
window.location.assign(authservice.authorise+"?response_type=token&redirect_uri="+redirect_uri+"&state="+nonce+"&client_id="+authservice.client_id);
......
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