Skip to content

Conversation

hf
Copy link
Contributor

@hf hf commented Jul 23, 2023

Bumps gotrue-js to v2.45.0.

@github-actions
Copy link
Contributor

Pull Request Test Coverage Report for Build 5637125339

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 66.492%

Totals Coverage Status
Change from base Build 5322600712: 0.0%
Covered Lines: 83
Relevant Lines: 107

💛 - Coveralls

@hf hf merged commit ce46e69 into master Jul 23, 2023
@hf hf deleted the hf/bump-gotrue-js-2-45-0 branch July 23, 2023 15:02
mandarini pushed a commit that referenced this pull request Oct 2, 2025
## What kind of change does this PR introduce?

Currently, `PASSWORD_RECOVERY` auth event is not emitted during a
password recovery flow using pkce.

## What is the current behavior?

Calling `resetPasswordForEmail()` method 

## What is the new behavior?

Calling `resetPasswordForEmail()` sets a code verifier and the auth flow
`PASSWORD_RECOVERY` with a `/` separator on the local storage like this:
`${codeVerifier}/PASSWORD_RECOVERY`

Within `_exchangeCodeForSession()`, the auth flow and the code verifier
is extracted from local storage, and if the auth flow is
`PASSWORD_RECOVERY`, then `PASSWORD_RECOVERY` event is fired instead of
`SIGNED_IN` event.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants