Skip to content

Commit

Permalink
fixes typo
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Jun 21, 2024
1 parent 118b3fd commit 6216565
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion v2/emailpassword/common-customizations/sessions/ssr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow the [JWT verification guide](./with-jwt/jwt-verification) to verify the J

On the `/refresh-session` page, you want to call the `attemptRefreshingSession` function (from the client side). This function will attempt to refresh the session. If it succeeds, it will return `true`. If it fails, it will return `false`. If it returns `true`, you want to redirect the user back to the page they were on. If it returns `false`, you want to redirect the user to the login page.

## 3) Implementing the refresh session flow (`/refresh-session` pagr)
## 3) Implementing the refresh session flow (`/refresh-session` page)
On this path, we want to attempt refreshing the session which can yield:
- Success: The frontend will get new access and refresh tokens. Post this, we want to redirect the user to the path mentioned on the `redirectBack` query param.
- Failure: This would happen if the session has expired or has been revoked from the backend. Either way, you want to redirect the user to the login page.
Expand Down
2 changes: 1 addition & 1 deletion v2/passwordless/common-customizations/sessions/ssr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow the [JWT verification guide](./with-jwt/jwt-verification) to verify the J

On the `/refresh-session` page, you want to call the `attemptRefreshingSession` function (from the client side). This function will attempt to refresh the session. If it succeeds, it will return `true`. If it fails, it will return `false`. If it returns `true`, you want to redirect the user back to the page they were on. If it returns `false`, you want to redirect the user to the login page.

## 3) Implementing the refresh session flow (`/refresh-session` pagr)
## 3) Implementing the refresh session flow (`/refresh-session` page)
On this path, we want to attempt refreshing the session which can yield:
- Success: The frontend will get new access and refresh tokens. Post this, we want to redirect the user to the path mentioned on the `redirectBack` query param.
- Failure: This would happen if the session has expired or has been revoked from the backend. Either way, you want to redirect the user to the login page.
Expand Down
2 changes: 1 addition & 1 deletion v2/session/common-customizations/sessions/ssr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow the [JWT verification guide](./with-jwt/jwt-verification) to verify the J

On the `/refresh-session` page, you want to call the `attemptRefreshingSession` function (from the client side). This function will attempt to refresh the session. If it succeeds, it will return `true`. If it fails, it will return `false`. If it returns `true`, you want to redirect the user back to the page they were on. If it returns `false`, you want to redirect the user to the login page.

## 3) Implementing the refresh session flow (`/refresh-session` pagr)
## 3) Implementing the refresh session flow (`/refresh-session` page)
On this path, we want to attempt refreshing the session which can yield:
- Success: The frontend will get new access and refresh tokens. Post this, we want to redirect the user to the path mentioned on the `redirectBack` query param.
- Failure: This would happen if the session has expired or has been revoked from the backend. Either way, you want to redirect the user to the login page.
Expand Down
2 changes: 1 addition & 1 deletion v2/thirdparty/common-customizations/sessions/ssr.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow the [JWT verification guide](./with-jwt/jwt-verification) to verify the J

On the `/refresh-session` page, you want to call the `attemptRefreshingSession` function (from the client side). This function will attempt to refresh the session. If it succeeds, it will return `true`. If it fails, it will return `false`. If it returns `true`, you want to redirect the user back to the page they were on. If it returns `false`, you want to redirect the user to the login page.

## 3) Implementing the refresh session flow (`/refresh-session` pagr)
## 3) Implementing the refresh session flow (`/refresh-session` page)
On this path, we want to attempt refreshing the session which can yield:
- Success: The frontend will get new access and refresh tokens. Post this, we want to redirect the user to the path mentioned on the `redirectBack` query param.
- Failure: This would happen if the session has expired or has been revoked from the backend. Either way, you want to redirect the user to the login page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow the [JWT verification guide](./with-jwt/jwt-verification) to verify the J

On the `/refresh-session` page, you want to call the `attemptRefreshingSession` function (from the client side). This function will attempt to refresh the session. If it succeeds, it will return `true`. If it fails, it will return `false`. If it returns `true`, you want to redirect the user back to the page they were on. If it returns `false`, you want to redirect the user to the login page.

## 3) Implementing the refresh session flow (`/refresh-session` pagr)
## 3) Implementing the refresh session flow (`/refresh-session` page)
On this path, we want to attempt refreshing the session which can yield:
- Success: The frontend will get new access and refresh tokens. Post this, we want to redirect the user to the path mentioned on the `redirectBack` query param.
- Failure: This would happen if the session has expired or has been revoked from the backend. Either way, you want to redirect the user to the login page.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ Follow the [JWT verification guide](./with-jwt/jwt-verification) to verify the J

On the `/refresh-session` page, you want to call the `attemptRefreshingSession` function (from the client side). This function will attempt to refresh the session. If it succeeds, it will return `true`. If it fails, it will return `false`. If it returns `true`, you want to redirect the user back to the page they were on. If it returns `false`, you want to redirect the user to the login page.

## 3) Implementing the refresh session flow (`/refresh-session` pagr)
## 3) Implementing the refresh session flow (`/refresh-session` page)
On this path, we want to attempt refreshing the session which can yield:
- Success: The frontend will get new access and refresh tokens. Post this, we want to redirect the user to the path mentioned on the `redirectBack` query param.
- Failure: This would happen if the session has expired or has been revoked from the backend. Either way, you want to redirect the user to the login page.
Expand Down

0 comments on commit 6216565

Please sign in to comment.