Skip to content

Decouple auth module #2269

Closed
Closed

Description

@Maksimka101

Is your feature request related to a problem? Please describe.
I want to add custom authentication. So I need to add the serverpod_auth_server package to do this. However, it depends on the abandoned (last commit was 2 years ago) firebase_admin package that depends on http 0.13 which is one year old.

And the main thing is that I don't even need the google sign in.

Describe the solution you'd like
Authorization module should be decoupled from the google, apple and other implementations. We can simply create a base auth package or create a separate package for each methods.

Describe alternatives you've considered
Alternatively, firebase_admin package can be forked to update it's dependencies.

Additional context
-

Activity

  1. added
    enhancement
    on May 17, 2024
  2. Isakdl commented on May 17, 2024

    @Isakdl
    Collaborator

    We are planning on doing this, we are currently reworking some auth stuff to make way for this implementation.

  3. added
    area: authentication
    on Jan 3, 2025
  4. SandPod commented on Apr 4, 2025

    @SandPod
    Contributor

    It is now possible to implement a custom authentication module without depending on serverpod_auth_server.

    With the new authentication module we will also make it possible to reuse authentication module implementations without inheriting the endpoints.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: authenticationenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions