Skip to content
This repository was archived by the owner on Oct 10, 2025. It is now read-only.

Conversation

@kangmingtay
Copy link
Member

What kind of change does this PR introduce?

  • Refactor _getSessionFromURL, _isPKCEFlow and _isImplicitGrantFlow - previously we were parsing the url parameters multiple times which was unnecessary. Now, we parse it once and pass it in as an argument in other functions that need it.
  • Makes the code more readable since getSessionFromURL should only be called in a browser context and if detectSessionInURL is set.
Base automatically changed from km/fix-identity-linking-error to master December 12, 2024 09:04
@kangmingtay kangmingtay force-pushed the km/ref-get-session-from-url branch from 890a0e7 to 05215e6 Compare December 12, 2024 09:06
@kangmingtay kangmingtay merged commit 089c687 into master Dec 12, 2024
3 checks passed
@kangmingtay kangmingtay deleted the km/ref-get-session-from-url branch December 12, 2024 09:09
hf added a commit that referenced this pull request Dec 13, 2024
This reverts commit 089c687.
hf added a commit that referenced this pull request Dec 13, 2024
hf pushed a commit that referenced this pull request Dec 13, 2024
🤖 I have created a release *beep* *boop* --- ## [2.67.1](v2.67.0...v2.67.1) (2024-12-13) ### Bug Fixes * revert [#992](#992) and [#993](#993) ([#999](#999)) ([12b2848](12b2848)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
kangmingtay added a commit that referenced this pull request Dec 16, 2024
mandarini pushed a commit to supabase/supabase-js that referenced this pull request Oct 2, 2025
🤖 I have created a release *beep* *boop* --- ## [2.67.1](supabase/auth-js@v2.67.0...v2.67.1) (2024-12-13) ### Bug Fixes * revert [#992](supabase/auth-js#992) and [#993](supabase/auth-js#993) ([#999](supabase/auth-js#999)) ([03a2b5c](supabase/auth-js@03a2b5c)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

3 participants