@tiledesk/tiledesk-server 2.4.44 → 2.4.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/routes/auth.js +1 -1
package/package.json
CHANGED
package/routes/auth.js
CHANGED
|
@@ -539,7 +539,7 @@ router.get("/google/callback", passport.authenticate("google", { session: false
|
|
|
539
539
|
var url = dashboard_base_url+homeurl+"?token=JWT "+token;
|
|
540
540
|
|
|
541
541
|
if (req.session.forced_redirect_url) {
|
|
542
|
-
url = req.session.forced_redirect_url+"?
|
|
542
|
+
url = req.session.forced_redirect_url+"?jwt=JWT "+token; //attention we use jwt= (ionic) instead token=(dashboard) for ionic
|
|
543
543
|
}
|
|
544
544
|
|
|
545
545
|
winston.info("Google Redirect: "+ url);
|