diff --git a/extensions/authentication-jwt/README.md b/extensions/authentication-jwt/README.md index 5f14751f8928..967769ddc7cc 100644 --- a/extensions/authentication-jwt/README.md +++ b/extensions/authentication-jwt/README.md @@ -176,12 +176,12 @@ The code snippet for whoAmI function: } ``` -### End points with refresh token +### Endpoints with refresh token -To add refresh token mechanism in your app. you have to call the following -interrceptor. +To add refresh token mechanism in your app, you have to call the following +interceptor. -1. ('refresh-token-generate') : to generate the refresh token and access token +1. `refresh-token-generate` : to generate the refresh token and access token when user logins to your app with provided credentials. ```ts @@ -203,8 +203,8 @@ async refreshLogin( } ``` -2. ('refresh-token-grant'): to genearate the access token by the refresh token - obtained from the the last login end-point. +2. `refresh-token-grant`: to generate the access token by the refresh token + obtained from the the last login endpoint. ```ts @intercept('refresh-token-grant')