Skip to content

Replace supertokens with our own authentication #7110

@n1ru4l

Description

@n1ru4l

We want to remove Supertokens from Hive Console.

The main reasons:

In Feburary 2025 @kamilkisiela evaluated and started working on replacing supertokens with better-auth, but due to other priorities he abandoned the project.

Basically the replacement needs to support everything we have today:

  • Sign in/up via Email (with email verification and forgot password etc.)
  • Sign up via GitHub
  • Sign up via organization OIDC provider
  • The transition should be seamless so users do not have to sign-in again

It makes sense to re-use the existing supertoken pg tables and at the same cleanup the tables (there are a lot of tables created that are actually unused). In addition to that we also need to create a db migration that seeds the tables, for users that start using hive console self-hosted after we remove the super tokens service.

In the next step we could then introduce account linking.


Resources/ Prior work:

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions