We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 444af09 commit 48d35a3Copy full SHA for 48d35a3
Auth/login1.js
@@ -3,11 +3,13 @@ const authClient = solidClientAuthentication.default;
3
var url = new URL(window.location.href)
4
const url_hash = url.hash;
5
6
-const callback = url.origin+url.pathname;
7
8
const IdP = url.searchParams.get('idp') || '';
9
const autoLogin = url.searchParams.get('autologin');
10
var sLogin = url.searchParams.get('slogin');
+const sApp = url.searchParams.get('app');
11
+
12
+const callback = url.origin+url.pathname + (sApp ? '?opl_app='+sApp : '');
13
14
const authCode =
15
url.searchParams.get("code") ||
@@ -25,8 +27,6 @@ const authCode =
25
27
}
26
28
29
-
30
document.addEventListener('DOMContentLoaded', async () =>
31
{
32
if (authCode) {
0 commit comments