diff --git a/docs/06-concepts/11-authentication/01-setup.md b/docs/06-concepts/11-authentication/01-setup.md index 2198def1..d28aebec 100644 --- a/docs/06-concepts/11-authentication/01-setup.md +++ b/docs/06-concepts/11-authentication/01-setup.md @@ -59,8 +59,7 @@ void run(List 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; diff --git a/docs/06-concepts/11-authentication/04-providers/02-email/01-setup.md b/docs/06-concepts/11-authentication/04-providers/02-email/01-setup.md index fdaabc57..2da19b18 100644 --- a/docs/06-concepts/11-authentication/04-providers/02-email/01-setup.md +++ b/docs/06-concepts/11-authentication/04-providers/02-email/01-setup.md @@ -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';