Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Fiberplane Auth integration #319

Draft
wants to merge 22 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion api/.dev.vars.example
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
FPX_DATABASE_URL=file:fpx.db
FPX_LOG_LEVEL=debug
FPX_LOG_LEVEL=debug
FPX_AUTH_BASE_URL=http://localhost:3578
8 changes: 8 additions & 0 deletions api/drizzle/0015_icy_thunderball.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
CREATE TABLE `tokens` (
`id` integer PRIMARY KEY AUTOINCREMENT NOT NULL,
`value` text NOT NULL,
`created_at` text DEFAULT (CURRENT_TIMESTAMP) NOT NULL,
`updated_at` text DEFAULT (CURRENT_TIMESTAMP) NOT NULL
);
--> statement-breakpoint
CREATE UNIQUE INDEX `tokens_value_unique` ON `tokens` (`value`);
1 change: 1 addition & 0 deletions api/drizzle/0016_puzzling_black_bolt.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `tokens` ADD `expires` text;
1 change: 1 addition & 0 deletions api/drizzle/0017_busy_whizzer.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
ALTER TABLE `tokens` RENAME COLUMN `expires` TO `expires_at`;
Loading
Loading