-
Notifications
You must be signed in to change notification settings - Fork 384
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
feat: refactor generate accesss token to take in request #1531
Merged
J0
merged 2 commits into
master
from
j0/refactor_generate_access_token_to_accept_request
Apr 12, 2024
Merged
feat: refactor generate accesss token to take in request #1531
J0
merged 2 commits into
master
from
j0/refactor_generate_access_token_to_accept_request
Apr 12, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
J0
commented
Apr 12, 2024
J0
commented
Apr 12, 2024
J0
commented
Apr 12, 2024
Pull Request Test Coverage Report for Build 8658079027Details
💛 - Coveralls |
hf
approved these changes
Apr 12, 2024
kangmingtay
pushed a commit
that referenced
this pull request
Apr 15, 2024
🤖 I have created a release *beep* *boop* --- ## [2.149.0](v2.148.0...v2.149.0) (2024-04-15) ### Features * refactor generate accesss token to take in request ([#1531](#1531)) ([e4f2b59](e4f2b59)) ### Bug Fixes * linkedin_oidc provider error ([#1534](#1534)) ([4f5e8e5](4f5e8e5)) * revert patch for linkedin_oidc provider error ([#1535](#1535)) ([58ef4af](58ef4af)) * update linkedin issuer url ([#1536](#1536)) ([10d6d8b](10d6d8b)) --- 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>
J0
added a commit
that referenced
this pull request
Apr 15, 2024
Combination of multiple commits. More context below: Fixes #1533 Attempting to signInWithOAuth with linkedin_iodc provider results in error 500 Attempting to signInWithOAuth with linkedin_iodc results in a successful login Error from Supabase Auth Logs: `oidc: id token issued by a different provider, expected \"https://www.linkedin.com\" got \"https://www.linkedin.com/oauth\"` fix: revert patch for linkedin_oidc provider error (#1535) Reverts #1534 Doesn't seem to work as expected. Directly testing against the API by calling `https://localhost:9999/?provider=linkedin_oidc will return a 404 error. fix: update linkedin issuer url (#1536) * Linkedin introduced a breaking change by changing the issuer url in their discover document from `https://linkedin.com` to `https://linkedin.com/oauth` * Fixes #1533, #1534, [#22711](https://github.com/orgs/supabase/discussions/22711), [#22708](https://github.com/orgs/supabase/discussions/22708) Please link any relevant issues here. Feel free to include screenshots if it includes visual changes. Add any other context or screenshots. chore(master): release 2.149.0 (#1532) :robot: I have created a release *beep* *boop* --- [2.149.0](v2.148.0...v2.149.0) (2024-04-15) * refactor generate accesss token to take in request ([#1531](#1531)) ([e4f2b59](e4f2b59)) * linkedin_oidc provider error ([#1534](#1534)) ([4f5e8e5](4f5e8e5)) * revert patch for linkedin_oidc provider error ([#1535](#1535)) ([58ef4af](58ef4af)) * update linkedin issuer url ([#1536](#1536)) ([10d6d8b](10d6d8b)) --- 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> Revert "Merge branch 'master' into j0/allow_postgres_and_http_on_extensibility_point" This reverts commit 4311d7e, reversing changes made to 32fd777.
uxodb
pushed a commit
to uxodb/auth
that referenced
this pull request
Nov 13, 2024
## What kind of change does this PR introduce? In support of the use of HTTP Hook with Custom Access Token Extension Point. We need to take in a request in order to support the Custom Access Token Hook. We use the request in the Custom access hook depends on the request to fetch the global logger. We refactor `generateAccessToken` and a wrapping method, `issueRefreshToken`, to take in a request to support this. We also add a dummy request to the tests to support this change. Supports supabase#1528 - branched out as a separate PR so as not to bloat the main PR with peripheral changes.
uxodb
pushed a commit
to uxodb/auth
that referenced
this pull request
Nov 13, 2024
🤖 I have created a release *beep* *boop* --- ## [2.149.0](supabase/auth@v2.148.0...v2.149.0) (2024-04-15) ### Features * refactor generate accesss token to take in request ([supabase#1531](supabase#1531)) ([e4f2b59](supabase@e4f2b59)) ### Bug Fixes * linkedin_oidc provider error ([supabase#1534](supabase#1534)) ([4f5e8e5](supabase@4f5e8e5)) * revert patch for linkedin_oidc provider error ([supabase#1535](supabase#1535)) ([58ef4af](supabase@58ef4af)) * update linkedin issuer url ([supabase#1536](supabase#1536)) ([10d6d8b](supabase@10d6d8b)) --- 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>
LashaJini
pushed a commit
to LashaJini/auth
that referenced
this pull request
Nov 13, 2024
## What kind of change does this PR introduce? In support of the use of HTTP Hook with Custom Access Token Extension Point. We need to take in a request in order to support the Custom Access Token Hook. We use the request in the Custom access hook depends on the request to fetch the global logger. We refactor `generateAccessToken` and a wrapping method, `issueRefreshToken`, to take in a request to support this. We also add a dummy request to the tests to support this change. Supports supabase#1528 - branched out as a separate PR so as not to bloat the main PR with peripheral changes.
LashaJini
pushed a commit
to LashaJini/auth
that referenced
this pull request
Nov 13, 2024
🤖 I have created a release *beep* *boop* --- ## [2.149.0](supabase/auth@v2.148.0...v2.149.0) (2024-04-15) ### Features * refactor generate accesss token to take in request ([supabase#1531](supabase#1531)) ([e4f2b59](supabase@e4f2b59)) ### Bug Fixes * linkedin_oidc provider error ([supabase#1534](supabase#1534)) ([4f5e8e5](supabase@4f5e8e5)) * revert patch for linkedin_oidc provider error ([supabase#1535](supabase#1535)) ([58ef4af](supabase@58ef4af)) * update linkedin issuer url ([supabase#1536](supabase#1536)) ([10d6d8b](supabase@10d6d8b)) --- 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>
LashaJini
pushed a commit
to LashaJini/auth
that referenced
this pull request
Nov 15, 2024
## What kind of change does this PR introduce? In support of the use of HTTP Hook with Custom Access Token Extension Point. We need to take in a request in order to support the Custom Access Token Hook. We use the request in the Custom access hook depends on the request to fetch the global logger. We refactor `generateAccessToken` and a wrapping method, `issueRefreshToken`, to take in a request to support this. We also add a dummy request to the tests to support this change. Supports supabase#1528 - branched out as a separate PR so as not to bloat the main PR with peripheral changes.
LashaJini
pushed a commit
to LashaJini/auth
that referenced
this pull request
Nov 15, 2024
🤖 I have created a release *beep* *boop* --- ## [2.149.0](supabase/auth@v2.148.0...v2.149.0) (2024-04-15) ### Features * refactor generate accesss token to take in request ([supabase#1531](supabase#1531)) ([e4f2b59](supabase@e4f2b59)) ### Bug Fixes * linkedin_oidc provider error ([supabase#1534](supabase#1534)) ([4f5e8e5](supabase@4f5e8e5)) * revert patch for linkedin_oidc provider error ([supabase#1535](supabase#1535)) ([58ef4af](supabase@58ef4af)) * update linkedin issuer url ([supabase#1536](supabase#1536)) ([10d6d8b](supabase@10d6d8b)) --- 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 join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
What kind of change does this PR introduce?
In support of the use of HTTP Hook with Custom Access Token Extension Point.
We need to take in a request in order to support the Custom Access Token Hook. We use the request in the Custom access hook depends on the request to fetch the global logger. We refactor
generateAccessToken
and a wrapping method,issueRefreshToken
, to take in a request to support this.We also add a dummy request to the tests to support this change. Supports #1528 - branched out as a separate PR so as not to bloat the main PR with peripheral changes.