Skip to content

Commit

Permalink
Merge pull request #656 from supertokens/doc-updates
Browse files Browse the repository at this point in the history
Adds missing email verification snippet
  • Loading branch information
rishabhpoddar authored May 10, 2023
2 parents c6b751a + 6604a1c commit 35d6b62
Show file tree
Hide file tree
Showing 10 changed files with 60 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</AppInfoForm>

</TabItem>
Expand Down
6 changes: 6 additions & 0 deletions v2/emailpassword/custom-ui/enable-email-verification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</TabItem>
</FrontendCustomUITabs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</AppInfoForm>

</TabItem>
Expand Down
6 changes: 6 additions & 0 deletions v2/passwordless/custom-ui/enable-email-verification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</TabItem>
</FrontendCustomUITabs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</AppInfoForm>

</TabItem>
Expand Down
6 changes: 6 additions & 0 deletions v2/thirdparty/custom-ui/enable-email-verification.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</TabItem>
</FrontendCustomUITabs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1404,6 +1404,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</AppInfoForm>

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -822,6 +822,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</TabItem>
</FrontendCustomUITabs>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1403,6 +1403,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</AppInfoForm>

</TabItem>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -823,6 +823,12 @@ Future<void> checkIfEmailIsVerified() async {

</FrontendMobileSubTabs>

<details><summary>Handling 403 responses on the frontend</summary>

If your frontend queries a protected API on your backend and it fails with a 403, you can check the value of the `st-ev` claim in the access token payload. If it is set to false you can send the verification email

</details>

</TabItem>
</FrontendCustomUITabs>

Expand Down

0 comments on commit 35d6b62

Please sign in to comment.