HotFix to test hydra connexion (#1471)
This commit is contained in:
parent
553902e52a
commit
8c96b514d4
2
front/dist/.htaccess
vendored
2
front/dist/.htaccess
vendored
@ -23,4 +23,4 @@ RewriteCond %{REQUEST_FILENAME} !-f
|
|||||||
RewriteRule "^[_@]/" "/index.html" [L]
|
RewriteRule "^[_@]/" "/index.html" [L]
|
||||||
RewriteRule "^register/" "/index.html" [L]
|
RewriteRule "^register/" "/index.html" [L]
|
||||||
RewriteRule "^login" "/index.html" [L]
|
RewriteRule "^login" "/index.html" [L]
|
||||||
RewriteRule "^jwt/" "/index.html" [L]
|
RewriteRule "^jwt" "/index.html" [L]
|
||||||
|
@ -83,6 +83,7 @@ export class AuthenticateController extends BaseController {
|
|||||||
this.addCorsHeaders(res);
|
this.addCorsHeaders(res);
|
||||||
return res.end(JSON.stringify({ authToken }));
|
return res.end(JSON.stringify({ authToken }));
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
console.error("openIDCallback => ERROR", e);
|
||||||
return this.errorToResponse(e, res);
|
return this.errorToResponse(e, res);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -153,6 +154,7 @@ export class AuthenticateController extends BaseController {
|
|||||||
})
|
})
|
||||||
);
|
);
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
|
console.error("register => ERROR", e);
|
||||||
this.errorToResponse(e, res);
|
this.errorToResponse(e, res);
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
@ -214,6 +216,7 @@ export class AuthenticateController extends BaseController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
|
console.error("profileCallback => ERROR", error);
|
||||||
this.errorToResponse(error, res);
|
this.errorToResponse(error, res);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user