Skip to content

Conversation

@martinml
Copy link
Contributor

@martinml martinml commented Jul 30, 2025

Description

This PR adds support for DPoP via an update of auth0-spa-js from 2.3.0 to 2.4.1.

New methods are exposed, docs are updated. No logic changes.

Testing

  • This change adds test coverage for new/changed/fixed functionality

Checklist

  • I have added documentation for new/changed functionality in this PR or in auth0.com/docs
  • All active GitHub checks for tests, formatting, and security are passing
  • The correct base branch is being used, if not the default branch

getDpopNonce: Auth0Client['getDpopNonce'];

/**
* Gets the current DPoP nonce used for making requests to Auth0.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Gets the current DPoP nonce used for making requests to Auth0.
* Sets the current DPoP nonce used for making requests to Auth0.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

*/
generateDpopProof: Auth0Client['generateDpopProof'];

createFetcher: Auth0Client['createFetcher'];
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one is missing doc comments.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

EXAMPLES.md Outdated
>
> You decide how to handle this transition. For example, you might require users to log in again the next time they use your application.
> [!IMPORTANT]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one should probably be a NOTE.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

EXAMPLES.md Outdated
> [!IMPORTANT]
> Using DPoP requires storing some temporary data in the user's browser. When you log the user out with `logout()`, this data is deleted.
> [!IMPORTANT]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one should probably be a TIP.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

EXAMPLES.md Outdated
const { createFetcher } = useAuth0();

const fetcher = createFetcher({
fetch: (request) => signal: AbortSignal.timeout(2000),
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The syntax here seems off.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed!

Widcket
Widcket previously approved these changes Sep 8, 2025
Widcket
Widcket previously approved these changes Sep 10, 2025
@martinml martinml marked this pull request as ready for review September 15, 2025 07:53
@martinml martinml requested a review from a team as a code owner September 15, 2025 07:53
@gyaneshgouraw-okta gyaneshgouraw-okta merged commit 1d5e69f into auth0:main Sep 15, 2025
8 of 11 checks passed
gyaneshgouraw-okta added a commit that referenced this pull request Sep 17, 2025
**Added**
- Add support for DPoP
[\#869](#869)
([martinml](https://github.com/martinml))
gyaneshgouraw-okta added a commit that referenced this pull request Sep 17, 2025
### Description

This PR adds support for DPoP via an update of `auth0-spa-js` from 2.3.0
to 2.4.1.

New methods are exposed, docs are updated. No logic changes.

### Testing

- [x] This change adds test coverage for new/changed/fixed functionality

### Checklist

- [x] I have added documentation for new/changed functionality in this
PR or in auth0.com/docs
- [x] All active GitHub checks for tests, formatting, and security are
passing
- [x] The correct base branch is being used, if not the default branch

---------

Co-authored-by: Rita Zerrizuela <[email protected]>
Co-authored-by: Gyanesh Gouraw <[email protected]>
gyaneshgouraw-okta added a commit that referenced this pull request Sep 17, 2025
**Added**
- Add support for DPoP
[\#869](#869)
([martinml](https://github.com/martinml))
techman823 added a commit to techman823/auth0-react that referenced this pull request Sep 30, 2025
**Added**
- Add support for DPoP
[\#869](auth0/auth0-react#869)
([martinml](https://github.com/martinml))
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