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

Add Pushed Authorization Requests #1598

Merged
merged 6 commits into from
Dec 6, 2023
Merged

Add Pushed Authorization Requests #1598

merged 6 commits into from
Dec 6, 2023

Conversation

ewanharris
Copy link
Contributor

  • All new/changed/fixed functionality is covered by tests (or N/A)
  • I have added documentation for all new/changed functionality (or N/A)

📋 Changes

Adds support for using PAR when logging in, it can be enabled using the pushedAuthorizationRequests config setting or the AUTH0_PUSHED_AUTHORIZATION_REQUESTS environment variable.

📎 References

Spec: https://www.rfc-editor.org/rfc/rfc9126

🎯 Testing

Tested using the example app with pages/app and nodejs/edge runtime

@ewanharris ewanharris requested a review from a team as a code owner December 6, 2023 12:45
Copy link

vercel bot commented Dec 6, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Ignored Deployment
Name Status Preview Comments Updated (UTC)
nextjs-auth0 ⬜️ Ignored (Inspect) Visit Preview Dec 6, 2023 1:54pm

ESLint and Prettier are conflicting here when the line includes a long string,
Prettier will still enfore the max line length but not throw issues for cases
that can't really be multi-lined
tests/fixtures/setup.ts Dismissed Show dismissed Hide dismissed
Copy link

vercel bot commented Dec 6, 2023

You must have Developer access to commit code to Auth0 on Vercel. If you contact an administrator and receive Developer access, commit again to see your changes.

Learn more: https://vercel.com/docs/concepts/teams/roles-and-permissions#enterprise-team-account-roles

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (7f9f8a2) 100.00% compared to head (b1e4859) 100.00%.
Report is 1 commits behind head on main.

❗ Current head b1e4859 differs from pull request most recent head 07a7b2b. Consider uploading reports for the commit 07a7b2b to get more accurate results

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1598   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files           65        65           
  Lines         6658      6701   +43     
  Branches       547       558   +11     
=========================================
+ Hits          6658      6701   +43     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ewanharris ewanharris merged commit d06d352 into main Dec 6, 2023
13 checks passed
@ewanharris ewanharris deleted the feat/SDK-4132-PAR branch December 6, 2023 13:56
@adamjmcgrath adamjmcgrath mentioned this pull request Dec 6, 2023
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.

3 participants