Skip to content

ServerpodClientEndpointNotFound (No endpoint of type "EndpointRefreshJwtTokens" found.) #4400

Closed
serverpod/serverpod_docs
#372

Description

@KiwiLee123

Describe the bug

CRITICAL

It appears that any Serverpod 3.0.0 project using JWT tokens will encounter this issue and it prevents all communication to the server.

To reproduce

$ serverpod create my_project
$ cd my_project/my_project_server
$ docker compose up
$ cd my_project/my_project_server
$ dart run bin/main.dart --apply-migrations
$ cd my_project/my_project_flutter
$ flutter run -d iOS

-> Create an account
-> Sign in
-> Run the server connection test

ServerpodClientEndpointNotFound (No endpoint of type "EndpointRefreshJwtTokens" found.)

Expected behavior

No error

Library version

Serverpod 3.0.0

Platform information

iOS

Additional context

No response

How experienced are you with this library?

None

Are you interested in working on a PR for this?

  • I want to work on this

Activity

  1. added
    bug
    on Dec 10, 2025
  2. marcelomendoncasoares commented on Dec 10, 2025

    @marcelomendoncasoares
    Collaborator

    Thanks for reporting, @KiwiLee123! There is indeed one step missing on the docs.

    To enable the JWT Token Manager, you must also extend the RefreshJwtTokensEndpoint:

    import 'package:serverpod_auth_idp_server/core.dart' as core;
    
    class RefreshJwtTokensEndpoint extends core.RefreshJwtTokensEndpoint {}

    Then, run serverpod generate and you will have the missing endpoint.

    We'll fix this on the docs and improve the onboarding to avoid this for new projects.

  3. added
    area: authentication
    on Dec 10, 2025
  4. moved this from Inbox 📫 to In Progress 🔥 in Serverpod Frameworkson Dec 10, 2025
  5. added
    documentation
    on Dec 10, 2025
  6. KiwiLee123 commented on Dec 10, 2025

    @KiwiLee123
    Author

    I can confirm this fixes the issue.

    As this is not a bug I will close the issue however the "serverpod create" template and docs still need updating

  7. moved this from In Progress 🔥 to Done 🚀 in Serverpod Frameworkson Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area: authenticationbugdocumentation

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions