Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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: 1 addition & 2 deletions docs/06-concepts/11-authentication/01-setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,7 @@ void run(List<String> args) async {
await pod.start();
}
```

Then, extend the abstract endpoint for refreshing JWT tokens to expose it on the server:
Then, extend the abstract endpoint for refreshing JWT tokens to expose it on the server, by creating a new endpoint file in your server's lib/src/endpoints/ directory so that the generator can detect and register the endpoint.

```dart
import 'package:serverpod_auth_idp_server/core.dart' as core;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ void _sendPasswordResetCode(
}
```

Then, extend the abstract endpoint to expose it on the server:
Then, extend the abstract endpoint to expose it on the server, by creating a new endpoint file in your `lib/src/endpoints/` directory to expose the email-specific authentication routes:

```dart
import 'package:serverpod_auth_idp_server/providers/email.dart';
Expand Down
Loading