Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use my site in the email verification and password reset link #121

Open
BlackRam-oss opened this issue Jan 4, 2024 · 0 comments
Open

Use my site in the email verification and password reset link #121

BlackRam-oss opened this issue Jan 4, 2024 · 0 comments

Comments

@BlackRam-oss
Copy link
Collaborator

BlackRam-oss commented Jan 4, 2024

For reset password:

  • in the link replace: https://drincs-website.firebaseapp.com/__/auth/action?mode=resetPassword& with my url
  • get apiKey and oobCode from url
  • send POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/resetPassword?key={apiKey}
    body:
    {
      "oobCode":{oobCode},
      "newPassword": {newPassword}
    }
    

Verify mail

  • in the link replace: https://drincs-website.firebaseapp.com/__/auth/action?mode=verifyEmail& with my url
  • get apiKey and oobCode from url
  • send POST https://www.googleapis.com/identitytoolkit/v3/relyingparty/setAccountInfo?key={apiKey}
    body:
    {
      "oobCode":{oobCode}
    }
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant