mirror of
https://github.com/fosrl/pangolin.git
synced 2026-02-24 13:56:39 +00:00
access token endpoints and other backend support
This commit is contained in:
@@ -174,7 +174,6 @@ export async function authWithWhitelist(
|
||||
const cookie = serializeResourceSessionCookie(
|
||||
cookieName,
|
||||
token,
|
||||
resource.fullDomain
|
||||
);
|
||||
res.appendHeader("Set-Cookie", cookie);
|
||||
|
||||
@@ -188,7 +187,6 @@ export async function authWithWhitelist(
|
||||
status: HttpCode.OK
|
||||
});
|
||||
} catch (e) {
|
||||
throw e;
|
||||
logger.error(e);
|
||||
return next(
|
||||
createHttpError(
|
||||
|
||||
Reference in New Issue
Block a user