Skip to content

Complete new authentication system implementation and cleanup #4105

Closed

Description

@coderabbitai

Description

Multiple TODOs are related to completing the new authentication system and cleaning up old auth code. These should be addressed together once the new auth system is fully deployed.

Affected Files

  • modules/new_serverpod_auth/serverpod_auth_idp/serverpod_auth_idp_server/lib/src/providers/apple/business/apple_idp_utils.dart:66 - "Handle the edge-case where we already know the user"
  • modules/new_serverpod_auth/serverpod_auth_idp/serverpod_auth_idp_server/lib/src/providers/apple/business/apple_idp_utils.dart:201 - "Implement session revocation based on the notification"
  • modules/new_serverpod_auth/serverpod_auth_core/serverpod_auth_core_server/lib/src/common/endpoints/status_endpoint.dart:13 - "Replace signout methods implementation by using the TokenManager"
  • modules/serverpod_chat/serverpod_chat_flutter/lib/src/chat_input.dart:90 - "Remove from server"
  • packages/serverpod/lib/src/server/serverpod.dart:488 - "Remove this when we have a better way to handle this"
  • packages/serverpod_client/lib/src/serverpod_client_shared.dart:141 - "Deprecate after the new authentication system is in place"

Suggested Implementation

  • Complete new auth system implementation
  • Handle Apple IDP edge cases
  • Implement session revocation
  • Migrate to TokenManager for signout
  • Deprecate old auth parameters
  • Remove temporary workarounds
  • Update documentation and migration guide
  • Add comprehensive tests for new auth system

Impact

Modern authentication system, better security, cleaner API

Related

Activity

  1. added
    enhancement
    on Oct 27, 2025
  2. moved this from Inbox 📫 to Planned 🔭 in Serverpod Frameworkson Oct 30, 2025
  3. self-assigned this
    on Oct 30, 2025
  4. moved this from Planned 🔭 to Next Up 🎯 in Serverpod Frameworkson Oct 30, 2025
  5. moved this from Next Up 🎯 to In Progress 🔥 in Serverpod Frameworkson Oct 30, 2025
  6. added
    area: authentication
    on Oct 30, 2025
  7. moved this from In Progress 🔥 to Done 🚀 in Serverpod Frameworkson Nov 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area: authenticationenhancement

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions