feat: add local auth billing and usage management
This commit is contained in:
1 parent
f642b5e71f
commit
196fdde83f
119 files changed
+15695
-2650
No files matched your search
@@ -92,7 +92,8 @@ export async function completeAuthorizationCallback(request: Request): Promise<N
|
||||
const claims = await verifyAuthJwt(token.access_token, config);
|
||||
const session = createSessionFromClaims(claims, config, token.expires_in, {
|
||||
accessToken: token.access_token,
|
||||
tokenType: token.token_type
|
||||
tokenType: token.token_type,
|
||||
authMode: "user"
|
||||
});
|
||||
const response = NextResponse.redirect(new URL(stateCookie.next, request.url));
|
||||
setSessionCookieValue(
|
||||
|
||||
Reference in new issue
Block a user