Lots of updates and cleaning up.

This commit is contained in:
2026-02-14 12:08:23 -06:00
parent 7466bbdeac
commit 3ab443790c
17 changed files with 484 additions and 52 deletions
-2
View File
@@ -23,8 +23,6 @@ export default createRoute("get", ["/redirect"], async (c) => {
refreshToken: tokens.refreshToken,
});
console.log("Emitted auth callback for key:", callbackKey);
// Close the window because duh
return c.html(
`<script>
-2
View File
@@ -8,8 +8,6 @@ export default createRoute("post", ["/refresh"], async (c) => {
const refreshToken = c.req.header("x-refresh-token") || "";
console.log("Received refresh token:", refreshToken);
const session = await sessions.fetch({
refreshToken: refreshToken,
});