mirror of
https://github.com/better-auth/better-auth.git
synced 2026-06-08 15:26:56 -05:00
This commit is contained in:
committed by
Bereket Engida
parent
66bffe35cf
commit
b17c71be39
@@ -105,6 +105,7 @@ export const bearer = (options?: BearerOptions) => {
|
||||
}
|
||||
const token = sessionCookie.value;
|
||||
ctx.responseHeader.set("set-auth-token", token);
|
||||
ctx.responseHeader.set("Access-Control-Expose-Headers", "set-auth-token" );
|
||||
return {
|
||||
responseHeader: ctx.responseHeader,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user