From eadc416369724790f24243e3c384444b29e19f81 Mon Sep 17 00:00:00 2001 From: Amit Singh Date: Wed, 10 Jun 2026 13:58:39 +0530 Subject: [PATCH 1/2] Release v2.18.0 --- .version | 2 +- CHANGELOG.md | 7 +++ docs/assets/hierarchy.js | 2 +- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/classes/AuthenticationError.html | 2 +- docs/classes/ConnectError.html | 2 +- docs/classes/GenericError.html | 2 +- docs/classes/MfaChallengeError.html | 2 +- docs/classes/MfaEnrollmentError.html | 2 +- docs/classes/MfaEnrollmentFactorsError.html | 2 +- docs/classes/MfaError.html | 2 +- docs/classes/MfaListAuthenticatorsError.html | 2 +- docs/classes/MfaRequiredError.html | 2 +- docs/classes/MfaVerifyError.html | 2 +- docs/classes/MissingRefreshTokenError.html | 2 +- docs/classes/OAuthError.html | 4 +- docs/classes/PasskeyChallengeError.html | 35 ++++++++++++++ docs/classes/PasskeyError.html | 34 ++++++++++++++ docs/classes/PasskeyGetTokenError.html | 35 ++++++++++++++ docs/classes/PasskeyRegisterError.html | 35 ++++++++++++++ docs/classes/PopupCancelledError.html | 2 +- docs/classes/PopupOpenError.html | 2 +- docs/classes/PopupTimeoutError.html | 2 +- docs/classes/TimeoutError.html | 2 +- docs/classes/UseDpopNonceError.html | 2 +- docs/functions/Auth0Provider.html | 2 +- docs/functions/useAuth0.html | 2 +- docs/functions/withAuth0.html | 2 +- .../functions/withAuthenticationRequired.html | 2 +- docs/hierarchy.html | 2 +- docs/interfaces/Auth0ContextInterface.html | 47 ++++++++++++------- docs/interfaces/EnrollEmailParams.html | 2 +- docs/interfaces/EnrollOtpParams.html | 2 +- docs/interfaces/EnrollPushParams.html | 2 +- docs/interfaces/EnrollSmsParams.html | 2 +- docs/interfaces/EnrollVoiceParams.html | 2 +- docs/interfaces/GetTokenWithPopupOptions.html | 2 +- docs/interfaces/LogoutOptions.html | 2 +- docs/interfaces/PasskeyApiClient.html | 32 +++++++++++++ docs/interfaces/PopupLoginOptions.html | 2 +- docs/interfaces/RedirectLoginOptions.html | 2 +- docs/interfaces/WithAuth0Props.html | 4 +- .../WithAuthenticationRequiredOptions.html | 12 ++--- docs/modules.html | 2 +- docs/types/AppState.html | 4 +- docs/types/Auth0ProviderOptions.html | 2 +- .../types/Auth0ProviderWithClientOptions.html | 2 +- .../types/Auth0ProviderWithConfigOptions.html | 2 +- docs/types/ConnectedAccount.html | 2 +- docs/types/PasskeyLoginOptions.html | 2 + docs/types/PasskeySignupOptions.html | 2 + docs/variables/Auth0Context.html | 2 +- package.json | 2 +- 54 files changed, 264 insertions(+), 71 deletions(-) create mode 100644 docs/classes/PasskeyChallengeError.html create mode 100644 docs/classes/PasskeyError.html create mode 100644 docs/classes/PasskeyGetTokenError.html create mode 100644 docs/classes/PasskeyRegisterError.html create mode 100644 docs/interfaces/PasskeyApiClient.html create mode 100644 docs/types/PasskeyLoginOptions.html create mode 100644 docs/types/PasskeySignupOptions.html diff --git a/.version b/.version index fd595728..d1a7a5c1 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v2.17.0 \ No newline at end of file +v2.18.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index f03a42e0..ee59ef1e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # Change Log +## [v2.18.0](https://github.com/auth0/auth0-react/tree/v2.18.0) (2026-06-10) +[Full Changelog](https://github.com/auth0/auth0-react/compare/v2.17.0...v2.18.0) + +**Added** +- feat: add passkey API support for signup and login methods [\#1114](https://github.com/auth0/auth0-react/pull/1114) ([amitsingh05667](https://github.com/amitsingh05667)) +- docs: add delegation and impersonation example for CTE [\#1111](https://github.com/auth0/auth0-react/pull/1111) ([yogeshchoudhary147](https://github.com/yogeshchoudhary147)) + ## [v2.17.0](https://github.com/auth0/auth0-react/tree/v2.17.0) (2026-05-22) [Full Changelog](https://github.com/auth0/auth0-react/compare/v2.16.2...v2.17.0) diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index ab497ff5..9b0f20fe 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyVlMtu2zAQRf+Fa6aR+RBt7Qr3gQJuU6RpuwiyIOixRYQmVZJeFIH/vbCMppRkl/RKgHRHZ+68XpB3LgbUPHI+w5RSTGj9hJGHjQEVtbMBNS+I0Pr4sHIHqEFfXbfvVm6r7V13kmD0rO0aNYTXGO29QQ3SNoLfSAXhdqJ/08adQRgpI0NADYphfXP8wc1r0PFjq83ag0XNI2Hk6YARYSTJ4iPEB/cM9qeObU8oS+ZSWEFOB4wopUkKn5ZStZABnkTXWqa8t0x5annllDTfovNyC0P0jMz/onsChNuJ+GIKpxdHmqgS2oPegdvH9947/z9QqsswBhYZE73FRVrSzxt5D7/22sM6Cx5r8wYZIeM5XkqrwJgC3Bl5AZGJMbG0rhNxAU1M/N11YMtQr8oCzoInnLf72IKNWsnjJmVhZ+R5IicsnRIdgrbbe9h4CG2/z/lpuRBTwOazwd2x4LXK8lLdNWtBRYXpgmJGCGaCYLbgmBOGuahxTSpci35tuEhP8vcA7zrXfXFWQTaziThfgpqkl2HprAWVn+BUV8AQYngISg7A1eUVFcGCCCw4wUIIPK/6QysqMoSvdIjJpDofStK5EJU3L8jYvPXOmB3YfJmn6gIeH/ldttIYsNv8+EzEBbRxa3+A15vfJahEmefMx138V5cPUpU28XxQjn44/AHvIBUb" \ No newline at end of file +window.hierarchyData = "eJyVlF1v0zAUhv+Lrz1W/BEnuUMdIKTC0BhwMe3Cck8ba64dbPcCTf3vqKnY3KSd3atIyXvynPd8PSPvXAyofeCcYko5JrR+xMjDyoCK2tmA2mdEaL1/WLkB1KLvrt/2C7fW9rY/SDB60naJWsIrjLbeoBZpG8GvpIJwPdG/6+LGIIyUkSGgFsWwvNr/4OolaP+x02bpwaL2gTD2uMOIMJZk8RnivXsC+1vHbiCUJXMurCCnHUaU8iSFL3OpOsgAD6JLLVM+WKY8tbxwSpof0Xm5hmP0e1L/Rw8ECNcT8dkUDi/2NEES2r3egNvGj947/xYo1WUYRxYZawaLTVrSryt5B3+22sMyCx5r8wYZYeM5nkurwJgC3Al5AZE1Y2JpXSfiApqY+LvtwZahXpQFnEYknA/b2IGNWsn9JmVhJ+R5IidVOiU6BG3Xd7DyELphn/PTciamgM3p0d2x4LXK8lLdJWtBBcG04ZgRhplgmDUCc1JhLmpcEYIrMawNF+lJ/hngpnf9N2cVZDObiPMlqEh6GebOWlD5CU51BQzRHB+CkgNwcXnFjGFBGiw4w0I0uJ4Nh1bM2DF8oUNMJtX5UJLOmai8eUHG5q13xmzA5ss8VRfw+MjvvJPGgF3nx2ciLqCNW/sLvF79LUElyjynHnfxtS6fpCpt4umgHH23+wdsmhVr" \ No newline at end of file diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index f5cf2b99..687521e4 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJytmcty0zAUht/F65ZeoAWy64S2dKYhmfTCgmEh5JNYU1kyklwaGN6dsR3bUnRxKrNsz6//08U6OlK+/UkUvKhkkixBFpxJuN8UkBwkBVJZMkmAlbk80mNvMpXT5CB5IixNJh8OEkyRlMkkUTI9JPIQXhQIhmjy96DzvihVBkwRjBTh7FIILnpE3R7kkUNksk5O96NNOWOAlQejR+P8r4GBINjjr0fj/G/YDHIuNlOEM7ABRjiOcMsxoneKC7QGD8WSxJFmKzTNEKXA1uCZMEsSTbpkglOaA/Otva35D6wrhBUXch+kLo0n+0GjfG+JVNoeDA7Jo41mL+FnSQSkfqKhiOY8giCrjZ+ixSMZRErC1ktYCZDZPX8CX7rzKeO482o1PKQ+ZnlrDgtelMUUMQyUehfCIYrrb200L7yzY8ZHMO5JDrz0JQRLEkcKQ8b7P0j4VPDiC2fYl0UtSTTJbR7pd4HVlCKS956EKRArhKsTfxs0rU/PzvcuKo6nnFV/3rSmbo5LaUHd9Yo+1zuWnSK+/1yQ33W5s0AC5dKL2tHFAbtT1uh8gBxqMLILbUUZ5raqSBglwNSUsxVZl6KePjfO1sUBm4P+MkeEBmbVUo2B9VVFgNWLxqDmqhgcVacZA1qUMhsk9aIxqLtcDpI6zRjQIycYBlGaKg52DaquJO4IBaboZl5UX7Mb6dGOA38lKtue3cPkXXEc+mbnBqOBbhw3l71t07qPbt8mFmd8y9e8VKH5MRShc6oRPgg67NaL4no9W6GLgjSp0onRBXGIpris03BoPLZsBO6WrwkbpOmqONgSUiIAq+3rwwXGvGTBjyDYYlwnBgftEoa+w+baFEhvuiCu71WuqOu4heCFG2JKQv1tlf1zU3u9DM3KYKtgSVkUdwopLU+pTVFVd9v/77Q9/vj+5Ox0t9pdCP5MUhBWL7deDs2rfKsRNjt4H4Klfj3Lvdl9rMCet1h15kc/qDXhXcDpsF9hWVlUD2RmSan5t8ERDGPbtxtyCbKkykIGtKN7AOnW10Pt4oMrUkrF8+ah4wVniK3Bs/J+Zfxo+krYvno0VFsxlrabEHWOMxe+gnAFCmcgmj2xizCC8Yz6roywIs/Nk8JnxFKqvw80NI8snjtboea6Yv4W0dCMYDyj+bpYWnDi/ySconim/g7Ro56RIFU+Mt8pTMpbbxrtfVYlw/UmMTOnaXT+TjMqZX2zP3Z5tLFA81/teetq3wX3MLAP1JCjrbYQ3/8BDxlK8A==" \ No newline at end of file +window.navigationData = "eJytmdty3CgQht9F187GcQ6b+M41cRJX2eupGTt7sZULgnokygi0gLyepPLuKZ1GIA4aw17a/fN/CKmbhvnnZ6bgSWXn2QZkzZmEu30N2UlWI1Vm5xmwppIv9dgfpapodpI9EJZn5+9PMkyRlNl5pmT+gsgX8KRAMESzXycH74tGlcAUwUgRzi6F4GJCdONBvnSITNars+NoK84YYOXB6NE4/8/AQBDs8dejcf5X7AYqLvYrhEuwAUY4jnDNMaJbxQUqwEOxJHGkmx1alYhSYAV4FsySRJMumeCUVsB8797W/A+sTwgrLuQxSF0aT/aDknyviVRaDgYfyaONZm/g34YIyP1EQxHN+QqC7PZ+ihaPZBApCSs2sBMgyzv+AL5y51PGcW/bt+EhTTHLW3NYIykfYL+UrU5Z3JwHqzAo3f8zqNB7cKmSeBsoiFQgwjxDFcnjdVOvEMNAqTd1HKIE2m3tX0cjnsC4IxXwxlfCLUkcKQxJ97+X8LHm9V+cYV8mWZJokts80u8CqxVFpJo8CVMgdgi3PdoQNK3P3r47ug08XXHW/nk1mro5LqUFdXeY+lrPLA+K+PlzQX50DeoaCVRJL2qmiwMeqqwx+QA5NCBxCuMZIMwdVZEwSoCpFWc7UjSiWz43ztbFAfvW7LJChAZW1VKlwKY+MMCaRCmoW1UvPtVBkwJaN7JcJE2iFNS2koukgyYF9JUTDIsoTRUHG/uOLaHAFN3f1u3X7EZ6tGngv4kqh717mTwXx6GvZmdODXTlOGsebZt3c3T79rE442te8EaF1sdQhPapXngv6LLbJIqb9c0OXdSkL5VOjC6IQwy9bBgzF0Wiuj62q/ihpbNlCbhrXhC2SNNVcbAN5EQAVsPV1AXGvGHB7y04Im0Siw/tEoY++f5MHaikuiBu7m1Z6lrGteC1G2JKQvMdldNd5Hj3EFqVxVHB7rWutwoprSSqfd02ksP/Z2NPP/z56u3ZvLFeC/5IchDWLAcvh+ZZvu0T9hl8DMFSP5/lTnYfK5DzFqvbZNB3ai34IeB0OK6HbS3a21Oze9X8x2ACw0j7MSE3IBuqLGRAmzwDyAdfD/UQX3wjjVS86m9gnnCJWAGeN+9Xxj/N1HTbp5yeaitSafOCqHOctfAZhE+gcAmiz4k5wgjGM7pjOcKKPPa3F18Qy6l+FdHTPLJ47s0O9Scj84eqnmYE4xlDy+LeCnuSQ5LM25KCOfpwA2ho4ol9/rC85sT/0TtF8Uz9UmdCPSJB2oprXvqYlNfejWLy2TUMd4ti7g2m0bs3mlEju2uSU5fHGAsM/2/sKFzjD8EjDOyWIeRoqy3Et99wCFX0" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index ef3cdb78..2818b70b 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 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wOcgJtjfsVZlwPXCtARfvPW6eT1KRdgCkwc85u4VqxPnaL7SgRcggIhLhXGVgKQ9tyjIt4FJE9ymSaZJNvd3cvL/7T4MMA="; \ No newline at end of file diff --git a/docs/classes/AuthenticationError.html b/docs/classes/AuthenticationError.html index a0eab8ee..1c604a21 100644 --- a/docs/classes/AuthenticationError.html +++ b/docs/classes/AuthenticationError.html @@ -1,6 +1,6 @@ AuthenticationError | @auth0/auth0-react
@auth0/auth0-react
    Preparing search index...

    Class AuthenticationError

    Thrown when handling the redirect callback fails, will be one of Auth0's Authentication API's Standard Error Responses: https://auth0.com/docs/api/authentication?javascript#standard-error-responses

    -

    Hierarchy (View Summary)

    Index

    Constructors

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    appState error error_description diff --git a/docs/classes/ConnectError.html b/docs/classes/ConnectError.html index a5c0f293..50185bb2 100644 --- a/docs/classes/ConnectError.html +++ b/docs/classes/ConnectError.html @@ -1,6 +1,6 @@ ConnectError | @auth0/auth0-react
    @auth0/auth0-react
      Preparing search index...

      Class ConnectError

      Thrown when handling the redirect callback for the connect flow fails, will be one of Auth0's Authentication API's Standard Error Responses: https://auth0.com/docs/api/authentication?javascript#standard-error-responses

      -

      Hierarchy (View Summary)

      Index

      Constructors

      Hierarchy (View Summary)

      Index

      Constructors

      Properties

      appState connection error diff --git a/docs/classes/GenericError.html b/docs/classes/GenericError.html index cbabf28f..d47d063e 100644 --- a/docs/classes/GenericError.html +++ b/docs/classes/GenericError.html @@ -1,5 +1,5 @@ GenericError | @auth0/auth0-react
      @auth0/auth0-react
        Preparing search index...

        Class GenericError

        Thrown when network requests to the Auth server fail.

        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaChallengeError.html b/docs/classes/MfaChallengeError.html index 87502aa9..26b4395a 100644 --- a/docs/classes/MfaChallengeError.html +++ b/docs/classes/MfaChallengeError.html @@ -2,7 +2,7 @@
        try {
        const challenge = await mfa.challenge({
        mfaToken: mfaToken,
        challengeType: 'otp',
        authenticatorId: 'otp|dev_123'
        });
        } catch (error) {
        if (error instanceof MfaChallengeError) {
        console.log(error.error); // 'too_many_attempts'
        console.log(error.error_description); // 'Rate limit exceeded'
        }
        }
        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaEnrollmentError.html b/docs/classes/MfaEnrollmentError.html index 87ef6f15..16f8cbd8 100644 --- a/docs/classes/MfaEnrollmentError.html +++ b/docs/classes/MfaEnrollmentError.html @@ -2,7 +2,7 @@
        try {
        const enrollment = await mfa.enroll({
        authenticator_types: ['otp']
        });
        } catch (error) {
        if (error instanceof MfaEnrollmentError) {
        console.log(error.error); // 'invalid_phone_number'
        console.log(error.error_description); // 'Invalid phone number format'
        }
        }
        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaEnrollmentFactorsError.html b/docs/classes/MfaEnrollmentFactorsError.html index d48e4f6c..791b5917 100644 --- a/docs/classes/MfaEnrollmentFactorsError.html +++ b/docs/classes/MfaEnrollmentFactorsError.html @@ -2,7 +2,7 @@
        try {
        const factors = await mfa.getEnrollmentFactors(mfaToken);
        } catch (error) {
        if (error instanceof MfaEnrollmentFactorsError) {
        console.log(error.error); // 'mfa_context_not_found'
        console.log(error.error_description); // 'MFA context not found...'
        }
        }
        -

        Hierarchy (View Summary)

        Index

        Constructors

        Hierarchy (View Summary)

        Index

        Constructors

        Properties

        error error_description message diff --git a/docs/classes/MfaError.html b/docs/classes/MfaError.html index 7a3733e4..d19c8e05 100644 --- a/docs/classes/MfaError.html +++ b/docs/classes/MfaError.html @@ -1,6 +1,6 @@ MfaError | @auth0/auth0-react
        @auth0/auth0-react
          Preparing search index...

          Class MfaError

          Base class for MFA-related errors in auth0-spa-js. Extends GenericError for unified error hierarchy across the SDK.

          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          error error_description message diff --git a/docs/classes/MfaListAuthenticatorsError.html b/docs/classes/MfaListAuthenticatorsError.html index bebad1f4..d7dafd8b 100644 --- a/docs/classes/MfaListAuthenticatorsError.html +++ b/docs/classes/MfaListAuthenticatorsError.html @@ -2,7 +2,7 @@
          try {
          const authenticators = await mfa.getAuthenticators();
          } catch (error) {
          if (error instanceof MfaListAuthenticatorsError) {
          console.log(error.error); // 'access_denied'
          console.log(error.error_description); // 'Unauthorized'
          }
          }
          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          error error_description message diff --git a/docs/classes/MfaRequiredError.html b/docs/classes/MfaRequiredError.html index eeb6644d..5a26aa85 100644 --- a/docs/classes/MfaRequiredError.html +++ b/docs/classes/MfaRequiredError.html @@ -1,5 +1,5 @@ MfaRequiredError | @auth0/auth0-react
          @auth0/auth0-react
            Preparing search index...

            Class MfaRequiredError

            Error thrown when the token exchange results in a mfa_required error

            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Properties

            error error_description message diff --git a/docs/classes/MfaVerifyError.html b/docs/classes/MfaVerifyError.html index c3ab2b85..24bf614d 100644 --- a/docs/classes/MfaVerifyError.html +++ b/docs/classes/MfaVerifyError.html @@ -2,7 +2,7 @@
            try {
            const tokens = await mfa.verify({
            mfaToken: mfaToken,
            grant_type: 'http://auth0.com/oauth/grant-type/mfa-otp',
            otp: '123456'
            });
            } catch (error) {
            if (error instanceof MfaVerifyError) {
            console.log(error.error); // 'invalid_otp' or 'context_not_found'
            console.log(error.error_description); // Error details
            }
            }
            -

            Hierarchy (View Summary)

            Index

            Constructors

            Hierarchy (View Summary)

            Index

            Constructors

            Properties

            error error_description message diff --git a/docs/classes/MissingRefreshTokenError.html b/docs/classes/MissingRefreshTokenError.html index a54b0922..f294d13d 100644 --- a/docs/classes/MissingRefreshTokenError.html +++ b/docs/classes/MissingRefreshTokenError.html @@ -1,5 +1,5 @@ MissingRefreshTokenError | @auth0/auth0-react
            @auth0/auth0-react
              Preparing search index...

              Class MissingRefreshTokenError

              Error thrown when there is no refresh token to use

              -

              Hierarchy (View Summary)

              Index

              Constructors

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              audience error error_description diff --git a/docs/classes/OAuthError.html b/docs/classes/OAuthError.html index bbbe6457..36f2512e 100644 --- a/docs/classes/OAuthError.html +++ b/docs/classes/OAuthError.html @@ -1,7 +1,7 @@ OAuthError | @auth0/auth0-react
              @auth0/auth0-react
                Preparing search index...

                Class OAuthError

                An OAuth2 error will come from the authorization server and will have at least an error property which will be the error code. And possibly an error_description property

                See: https://openid.net/specs/openid-connect-core-1_0.html#rfc.section.3.1.2.6

                -

                Hierarchy

                • Error
                  • OAuthError
                Index

                Constructors

                Hierarchy

                • Error
                  • OAuthError
                Index

                Constructors

                • Parameters

                  • error: string
                  • Optionalerror_description: string

                  Returns OAuthError

                Properties

                error: string
                error_description?: string
                message: string
                name: string
                stack?: string
                stackTraceLimit: number

                The Error.stackTraceLimit property specifies the number of stack frames +

                Constructors

                • Parameters

                  • error: string
                  • Optionalerror_description: string

                  Returns OAuthError

                Properties

                error: string
                error_description?: string
                message: string
                name: string
                stack?: string
                stackTraceLimit: number

                The Error.stackTraceLimit property specifies the number of stack frames collected by a stack trace (whether generated by new Error().stack or Error.captureStackTrace(obj)).

                The default value is 10 but may be set to any valid JavaScript number. Changes diff --git a/docs/classes/PasskeyChallengeError.html b/docs/classes/PasskeyChallengeError.html new file mode 100644 index 00000000..263e743e --- /dev/null +++ b/docs/classes/PasskeyChallengeError.html @@ -0,0 +1,35 @@ +PasskeyChallengeError | @auth0/auth0-react

                @auth0/auth0-react
                  Preparing search index...

                  Class PasskeyChallengeError

                  Error thrown when requesting a passkey login challenge fails.

                  +

                  Hierarchy

                  • PasskeyError
                    • PasskeyChallengeError
                  Index

                  Constructors

                  • Parameters

                    • message: string
                    • Optionalcause: PasskeyApiErrorResponse

                    Returns PasskeyChallengeError

                  Properties

                  cause?: PasskeyApiErrorResponse
                  code: string
                  message: string
                  name: string
                  stack?: string
                  stackTraceLimit: number

                  The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                  +

                  The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                  +

                  If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                  +

                  Methods

                  • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                    +
                    const myObject = {};
                    Error.captureStackTrace(myObject);
                    myObject.stack; // Similar to `new Error().stack` +
                    + +

                    The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                    +

                    The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                    +

                    The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                    +
                    function a() {
                    b();
                    }

                    function b() {
                    c();
                    }

                    function c() {
                    // Create an error without stack trace to avoid calculating the stack trace twice.
                    const { stackTraceLimit } = Error;
                    Error.stackTraceLimit = 0;
                    const error = new Error();
                    Error.stackTraceLimit = stackTraceLimit;

                    // Capture the stack trace above function b
                    Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                    throw error;
                    }

                    a(); +
                    + +

                    Parameters

                    • targetObject: object
                    • OptionalconstructorOpt: Function

                    Returns void

                  diff --git a/docs/classes/PasskeyError.html b/docs/classes/PasskeyError.html new file mode 100644 index 00000000..ac150c1a --- /dev/null +++ b/docs/classes/PasskeyError.html @@ -0,0 +1,34 @@ +PasskeyError | @auth0/auth0-react
                  @auth0/auth0-react
                    Preparing search index...

                    Class PasskeyError

                    Hierarchy

                    • Error
                      • PasskeyError
                    Index

                    Constructors

                    • Parameters

                      • code: string
                      • message: string
                      • Optionalcause: PasskeyErrorResponse

                      Returns PasskeyError

                    Properties

                    cause?: PasskeyErrorResponse
                    code: string
                    message: string
                    name: string
                    stack?: string
                    stackTraceLimit: number

                    The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                    +

                    The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                    +

                    If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                    +

                    Methods

                    • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                      +
                      const myObject = {};
                      Error.captureStackTrace(myObject);
                      myObject.stack; // Similar to `new Error().stack` +
                      + +

                      The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                      +

                      The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                      +

                      The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                      +
                      function a() {
                      b();
                      }

                      function b() {
                      c();
                      }

                      function c() {
                      // Create an error without stack trace to avoid calculating the stack trace twice.
                      const { stackTraceLimit } = Error;
                      Error.stackTraceLimit = 0;
                      const error = new Error();
                      Error.stackTraceLimit = stackTraceLimit;

                      // Capture the stack trace above function b
                      Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                      throw error;
                      }

                      a(); +
                      + +

                      Parameters

                      • targetObject: object
                      • OptionalconstructorOpt: Function

                      Returns void

                    diff --git a/docs/classes/PasskeyGetTokenError.html b/docs/classes/PasskeyGetTokenError.html new file mode 100644 index 00000000..b51999eb --- /dev/null +++ b/docs/classes/PasskeyGetTokenError.html @@ -0,0 +1,35 @@ +PasskeyGetTokenError | @auth0/auth0-react
                    @auth0/auth0-react
                      Preparing search index...

                      Class PasskeyGetTokenError

                      Error thrown when exchanging a passkey credential for tokens fails.

                      +

                      Hierarchy

                      • PasskeyError
                        • PasskeyGetTokenError
                      Index

                      Constructors

                      • Parameters

                        • message: string
                        • Optionalcause: PasskeyApiErrorResponse

                        Returns PasskeyGetTokenError

                      Properties

                      cause?: PasskeyApiErrorResponse
                      code: string
                      message: string
                      name: string
                      stack?: string
                      stackTraceLimit: number

                      The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                      +

                      The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                      +

                      If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                      +

                      Methods

                      • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                        +
                        const myObject = {};
                        Error.captureStackTrace(myObject);
                        myObject.stack; // Similar to `new Error().stack` +
                        + +

                        The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                        +

                        The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                        +

                        The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                        +
                        function a() {
                        b();
                        }

                        function b() {
                        c();
                        }

                        function c() {
                        // Create an error without stack trace to avoid calculating the stack trace twice.
                        const { stackTraceLimit } = Error;
                        Error.stackTraceLimit = 0;
                        const error = new Error();
                        Error.stackTraceLimit = stackTraceLimit;

                        // Capture the stack trace above function b
                        Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                        throw error;
                        }

                        a(); +
                        + +

                        Parameters

                        • targetObject: object
                        • OptionalconstructorOpt: Function

                        Returns void

                      diff --git a/docs/classes/PasskeyRegisterError.html b/docs/classes/PasskeyRegisterError.html new file mode 100644 index 00000000..64935749 --- /dev/null +++ b/docs/classes/PasskeyRegisterError.html @@ -0,0 +1,35 @@ +PasskeyRegisterError | @auth0/auth0-react
                      @auth0/auth0-react
                        Preparing search index...

                        Class PasskeyRegisterError

                        Error thrown when requesting a passkey register challenge fails.

                        +

                        Hierarchy

                        • PasskeyError
                          • PasskeyRegisterError
                        Index

                        Constructors

                        • Parameters

                          • message: string
                          • Optionalcause: PasskeyApiErrorResponse

                          Returns PasskeyRegisterError

                        Properties

                        cause?: PasskeyApiErrorResponse
                        code: string
                        message: string
                        name: string
                        stack?: string
                        stackTraceLimit: number

                        The Error.stackTraceLimit property specifies the number of stack frames +collected by a stack trace (whether generated by new Error().stack or +Error.captureStackTrace(obj)).

                        +

                        The default value is 10 but may be set to any valid JavaScript number. Changes +will affect any stack trace captured after the value has been changed.

                        +

                        If set to a non-number value, or set to a negative number, stack traces will +not capture any frames.

                        +

                        Methods

                        • Creates a .stack property on targetObject, which when accessed returns +a string representing the location in the code at which +Error.captureStackTrace() was called.

                          +
                          const myObject = {};
                          Error.captureStackTrace(myObject);
                          myObject.stack; // Similar to `new Error().stack` +
                          + +

                          The first line of the trace will be prefixed with +${myObject.name}: ${myObject.message}.

                          +

                          The optional constructorOpt argument accepts a function. If given, all frames +above constructorOpt, including constructorOpt, will be omitted from the +generated stack trace.

                          +

                          The constructorOpt argument is useful for hiding implementation +details of error generation from the user. For instance:

                          +
                          function a() {
                          b();
                          }

                          function b() {
                          c();
                          }

                          function c() {
                          // Create an error without stack trace to avoid calculating the stack trace twice.
                          const { stackTraceLimit } = Error;
                          Error.stackTraceLimit = 0;
                          const error = new Error();
                          Error.stackTraceLimit = stackTraceLimit;

                          // Capture the stack trace above function b
                          Error.captureStackTrace(error, b); // Neither function c, nor b is included in the stack trace
                          throw error;
                          }

                          a(); +
                          + +

                          Parameters

                          • targetObject: object
                          • OptionalconstructorOpt: Function

                          Returns void

                        diff --git a/docs/classes/PopupCancelledError.html b/docs/classes/PopupCancelledError.html index 62c043c1..9c6e07c2 100644 --- a/docs/classes/PopupCancelledError.html +++ b/docs/classes/PopupCancelledError.html @@ -1,5 +1,5 @@ PopupCancelledError | @auth0/auth0-react
                        @auth0/auth0-react
                          Preparing search index...

                          Class PopupCancelledError

                          Thrown when network requests to the Auth server fail.

                          -

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Properties

                          error error_description message diff --git a/docs/classes/PopupOpenError.html b/docs/classes/PopupOpenError.html index a7ae7b11..6fc98b68 100644 --- a/docs/classes/PopupOpenError.html +++ b/docs/classes/PopupOpenError.html @@ -1,5 +1,5 @@ PopupOpenError | @auth0/auth0-react
                          @auth0/auth0-react
                            Preparing search index...

                            Class PopupOpenError

                            Thrown when network requests to the Auth server fail.

                            -

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Hierarchy (View Summary)

                            Index

                            Constructors

                            Properties

                            error error_description message diff --git a/docs/classes/PopupTimeoutError.html b/docs/classes/PopupTimeoutError.html index fcafbfef..2e758159 100644 --- a/docs/classes/PopupTimeoutError.html +++ b/docs/classes/PopupTimeoutError.html @@ -1,5 +1,5 @@ PopupTimeoutError | @auth0/auth0-react
                            @auth0/auth0-react
                              Preparing search index...

                              Class PopupTimeoutError

                              Error thrown when the login popup times out (if the user does not complete auth)

                              -

                              Hierarchy (View Summary)

                              Index

                              Constructors

                              Hierarchy (View Summary)

                              Index

                              Constructors

                              Properties

                              error error_description message diff --git a/docs/classes/TimeoutError.html b/docs/classes/TimeoutError.html index 4a1778ff..7b66544c 100644 --- a/docs/classes/TimeoutError.html +++ b/docs/classes/TimeoutError.html @@ -1,6 +1,6 @@ TimeoutError | @auth0/auth0-react
                              @auth0/auth0-react
                                Preparing search index...

                                Class TimeoutError

                                Thrown when silent auth times out (usually due to a configuration issue) or when network requests to the Auth server timeout.

                                -

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                Properties

                                error error_description message diff --git a/docs/classes/UseDpopNonceError.html b/docs/classes/UseDpopNonceError.html index 043d595e..d1397d43 100644 --- a/docs/classes/UseDpopNonceError.html +++ b/docs/classes/UseDpopNonceError.html @@ -1,5 +1,5 @@ UseDpopNonceError | @auth0/auth0-react
                                @auth0/auth0-react
                                  Preparing search index...

                                  Class UseDpopNonceError

                                  Error thrown when the wrong DPoP nonce is used and a potential subsequent retry wasn't able to fix it.

                                  -

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Properties

                                  error error_description message diff --git a/docs/functions/Auth0Provider.html b/docs/functions/Auth0Provider.html index 34e39bf0..468f35af 100644 --- a/docs/functions/Auth0Provider.html +++ b/docs/functions/Auth0Provider.html @@ -2,4 +2,4 @@

                                  Provides the Auth0Context to its child components.

                                  -

                                  Type Parameters

                                  Parameters

                                  Returns Element

                                  +

                                  Type Parameters

                                  Parameters

                                  Returns Element

                                  diff --git a/docs/functions/useAuth0.html b/docs/functions/useAuth0.html index 296ba294..db73a111 100644 --- a/docs/functions/useAuth0.html +++ b/docs/functions/useAuth0.html @@ -3,4 +3,4 @@

                                  Use the useAuth0 hook in your components to access the auth state and methods.

                                  TUser is an optional type param to provide a type to the user field.

                                  -

                                  Type Parameters

                                  Parameters

                                  Returns Auth0ContextInterface<TUser>

                                  +

                                  Type Parameters

                                  Parameters

                                  Returns Auth0ContextInterface<TUser>

                                  diff --git a/docs/functions/withAuth0.html b/docs/functions/withAuth0.html index ec2a9f35..25561dfd 100644 --- a/docs/functions/withAuth0.html +++ b/docs/functions/withAuth0.html @@ -4,4 +4,4 @@

                                  Wrap your class components in this Higher Order Component to give them access to the Auth0Context.

                                  Providing a context as the second argument allows you to configure the Auth0Provider the Auth0Context should come from f you have multiple within your application.

                                  -

                                  Type Parameters

                                  Parameters

                                  Returns ComponentType<Omit<P, "auth0">>

                                  +

                                  Type Parameters

                                  Parameters

                                  Returns ComponentType<Omit<P, "auth0">>

                                  diff --git a/docs/functions/withAuthenticationRequired.html b/docs/functions/withAuthenticationRequired.html index 6d2da429..5b01a7d7 100644 --- a/docs/functions/withAuthenticationRequired.html +++ b/docs/functions/withAuthenticationRequired.html @@ -3,4 +3,4 @@

                                  When you wrap your components in this Higher Order Component and an anonymous user visits your component they will be redirected to the login page; after login they will be returned to the page they were redirected from.

                                  -

                                  Type Parameters

                                  • P extends object

                                  Parameters

                                  Returns FC<P>

                                  +

                                  Type Parameters

                                  • P extends object

                                  Parameters

                                  Returns FC<P>

                                  diff --git a/docs/hierarchy.html b/docs/hierarchy.html index d1cf91f8..abd583cc 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -@auth0/auth0-react
                                  @auth0/auth0-react
                                    Preparing search index...
                                    +@auth0/auth0-react
                                    @auth0/auth0-react
                                      Preparing search index...
                                      diff --git a/docs/interfaces/Auth0ContextInterface.html b/docs/interfaces/Auth0ContextInterface.html index 9e4223f5..b1a63f77 100644 --- a/docs/interfaces/Auth0ContextInterface.html +++ b/docs/interfaces/Auth0ContextInterface.html @@ -1,5 +1,5 @@ Auth0ContextInterface | @auth0/auth0-react
                                      @auth0/auth0-react
                                        Preparing search index...

                                        Interface Auth0ContextInterface<TUser>

                                        Contains the authenticated state and authentication methods provided by the useAuth0 hook.

                                        -
                                        interface Auth0ContextInterface<TUser extends User = User> {
                                            connectAccountWithRedirect: (
                                                options: RedirectConnectAccountOptions,
                                            ) => Promise<void>;
                                            createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                                config?: FetcherConfig<TOutput>,
                                            ) => Fetcher<TOutput>;
                                            customTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>;
                                            error: Error | undefined;
                                            exchangeToken: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>;
                                            generateDpopProof: (
                                                params: {
                                                    accessToken: string;
                                                    method: string;
                                                    nonce?: string;
                                                    url: string;
                                                },
                                            ) => Promise<string>;
                                            getAccessTokenSilently: {
                                                (
                                                    options: GetTokenSilentlyOptions & { detailedResponse: true },
                                                ): Promise<GetTokenSilentlyVerboseResponse>;
                                                (options?: GetTokenSilentlyOptions): Promise<string>;
                                                (
                                                    options: GetTokenSilentlyOptions,
                                                ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                            };
                                            getAccessTokenWithPopup: (
                                                options?: GetTokenWithPopupOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<string | undefined>;
                                            getConfiguration: () => Readonly<ClientConfiguration>;
                                            getDpopNonce: (id?: string) => Promise<string | undefined>;
                                            getIdTokenClaims: () => Promise<IdToken | undefined>;
                                            handleRedirectCallback: (
                                                url?: string,
                                            ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>;
                                            isAuthenticated: boolean;
                                            isLoading: boolean;
                                            loginWithCustomTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>;
                                            loginWithPopup: (
                                                options?: PopupLoginOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<void>;
                                            loginWithRedirect: (
                                                options?: RedirectLoginOptions<AppState>,
                                            ) => Promise<void>;
                                            logout: (options?: LogoutOptions) => Promise<void>;
                                            mfa: MfaApiClient;
                                            setDpopNonce: (nonce: string, id?: string) => Promise<void>;
                                            user: TUser | undefined;
                                        }

                                        Type Parameters

                                        Hierarchy

                                        • AuthState<TUser>
                                          • Auth0ContextInterface
                                        Index

                                        Properties

                                        interface Auth0ContextInterface<TUser extends User = User> {
                                            connectAccountWithRedirect: (
                                                options: RedirectConnectAccountOptions,
                                            ) => Promise<void>;
                                            createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                                config?: FetcherConfig<TOutput>,
                                            ) => Fetcher<TOutput>;
                                            customTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>;
                                            error: Error | undefined;
                                            exchangeToken: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>;
                                            generateDpopProof: (
                                                params: {
                                                    accessToken: string;
                                                    method: string;
                                                    nonce?: string;
                                                    url: string;
                                                },
                                            ) => Promise<string>;
                                            getAccessTokenSilently: {
                                                (
                                                    options: GetTokenSilentlyOptions & { detailedResponse: true },
                                                ): Promise<GetTokenSilentlyVerboseResponse>;
                                                (options?: GetTokenSilentlyOptions): Promise<string>;
                                                (
                                                    options: GetTokenSilentlyOptions,
                                                ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                            };
                                            getAccessTokenWithPopup: (
                                                options?: GetTokenWithPopupOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<string | undefined>;
                                            getConfiguration: () => Readonly<ClientConfiguration>;
                                            getDpopNonce: (id?: string) => Promise<string | undefined>;
                                            getIdTokenClaims: () => Promise<IdToken | undefined>;
                                            handleRedirectCallback: (
                                                url?: string,
                                            ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>;
                                            isAuthenticated: boolean;
                                            isLoading: boolean;
                                            loginWithCustomTokenExchange: (
                                                options: CustomTokenExchangeOptions,
                                            ) => Promise<TokenEndpointResponse>;
                                            loginWithPopup: (
                                                options?: PopupLoginOptions,
                                                config?: PopupConfigOptions,
                                            ) => Promise<void>;
                                            loginWithRedirect: (
                                                options?: RedirectLoginOptions<AppState>,
                                            ) => Promise<void>;
                                            logout: (options?: LogoutOptions) => Promise<void>;
                                            mfa: MfaApiClient;
                                            passkey: PasskeyApiClient;
                                            setDpopNonce: (nonce: string, id?: string) => Promise<void>;
                                            user: TUser | undefined;
                                        }

                                        Type Parameters

                                        Hierarchy

                                        • AuthState<TUser>
                                          • Auth0ContextInterface
                                        Index

                                        Properties

                                        connectAccountWithRedirect: (
                                            options: RedirectConnectAccountOptions,
                                        ) => Promise<void>
                                        await connectAccountWithRedirect({
                                        connection: 'google-oauth2',
                                        scopes: ['openid', 'profile', 'email', 'https://www.googleapis.com/auth/drive.readonly'],
                                        authorization_params: {
                                        // additional authorization params to forward to the authorization server
                                        }
                                        }); @@ -28,7 +29,7 @@ where the user can authenticate and authorize the account to be connected.

                                        If connecting the account is successful onRedirectCallback will be called with the details of the connected account.

                                        -
                                        createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                            config?: FetcherConfig<TOutput>,
                                        ) => Fetcher<TOutput>

                                        Returns a new Fetcher class that will contain a fetchWithAuth() method. +

                                        createFetcher: <TOutput extends CustomFetchMinimalOutput = Response>(
                                            config?: FetcherConfig<TOutput>,
                                        ) => Fetcher<TOutput>

                                        Returns a new Fetcher class that will contain a fetchWithAuth() method. This is a drop-in replacement for the Fetch API's fetch() method, but will handle certain authentication logic for you, like building the proper auth headers or managing DPoP nonces and retries automatically.

                                        @@ -38,7 +39,7 @@ handle certain authentication logic for you, like building the proper auth headers or managing DPoP nonces and retries automatically.

                                        Check the EXAMPLES.md file for a deeper look into this method.

                                        -

                                        Type Parameters

                                        • TOutput extends CustomFetchMinimalOutput = Response

                                        Parameters

                                        Returns Fetcher<TOutput>

                                        customTokenExchange: (
                                            options: CustomTokenExchangeOptions,
                                        ) => Promise<TokenEndpointResponse>
                                        const tokenResponse = await customTokenExchange({
                                        subject_token: 'ey...',
                                        subject_token_type: 'urn:acme:legacy-system-token',
                                        actor_token: 'ey...',
                                        actor_token_type: 'https://idp.example.com/token-type/agent',
                                        }); +

                                        Type Parameters

                                        • TOutput extends CustomFetchMinimalOutput = Response

                                        Parameters

                                        Returns Fetcher<TOutput>

                                        customTokenExchange: (
                                            options: CustomTokenExchangeOptions,
                                        ) => Promise<TokenEndpointResponse>
                                        const tokenResponse = await customTokenExchange({
                                        subject_token: 'ey...',
                                        subject_token_type: 'urn:acme:legacy-system-token',
                                        actor_token: 'ey...',
                                        actor_token_type: 'https://idp.example.com/token-type/agent',
                                        });

                                        Exchanges an external subject token for Auth0 tokens without affecting the current session.

                                        @@ -50,7 +51,7 @@ refresh_token in the response is expected and will not cause an error.

                                        Type Declaration

                                        error: Error | undefined
                                        exchangeToken: (
                                            options: CustomTokenExchangeOptions,
                                        ) => Promise<TokenEndpointResponse>

                                        Type Declaration

                                        error: Error | undefined
                                        exchangeToken: (
                                            options: CustomTokenExchangeOptions,
                                        ) => Promise<TokenEndpointResponse>

                                        Type Declaration

                                        Use loginWithCustomTokenExchange() instead. This method will be removed in the next major version.

                                        const tokenResponse = await exchangeToken({
                                        subject_token: 'external_token_value',
                                        subject_token_type: 'urn:acme:legacy-system-token',
                                        scope: 'openid profile email'
                                        }); @@ -64,13 +65,13 @@
                                        // Instead of:
                                        const tokens = await exchangeToken(options);

                                        // Use:
                                        const tokens = await loginWithCustomTokenExchange(options);
                                        -
                                        generateDpopProof: (
                                            params: {
                                                accessToken: string;
                                                method: string;
                                                nonce?: string;
                                                url: string;
                                            },
                                        ) => Promise<string>

                                        Returns a string to be used to demonstrate possession of the private +

                                        generateDpopProof: (
                                            params: {
                                                accessToken: string;
                                                method: string;
                                                nonce?: string;
                                                url: string;
                                            },
                                        ) => Promise<string>

                                        Returns a string to be used to demonstrate possession of the private key used to cryptographically bind access tokens with DPoP.

                                        It requires enabling the Auth0ClientOptions.useDpop option.

                                        Type Declaration

                                          • (
                                                params: {
                                                    accessToken: string;
                                                    method: string;
                                                    nonce?: string;
                                                    url: string;
                                                },
                                            ): Promise<string>
                                          • Returns a string to be used to demonstrate possession of the private key used to cryptographically bind access tokens with DPoP.

                                            It requires enabling the Auth0ClientOptions.useDpop option.

                                            -

                                            Parameters

                                            • params: { accessToken: string; method: string; nonce?: string; url: string }

                                            Returns Promise<string>

                                        getAccessTokenSilently: {
                                            (
                                                options: GetTokenSilentlyOptions & { detailedResponse: true },
                                            ): Promise<GetTokenSilentlyVerboseResponse>;
                                            (options?: GetTokenSilentlyOptions): Promise<string>;
                                            (
                                                options: GetTokenSilentlyOptions,
                                            ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                        }
                                        const token = await getAccessTokenSilently(options);
                                        +

                                        Parameters

                                        • params: { accessToken: string; method: string; nonce?: string; url: string }

                                        Returns Promise<string>

                                        getAccessTokenSilently: {
                                            (
                                                options: GetTokenSilentlyOptions & { detailedResponse: true },
                                            ): Promise<GetTokenSilentlyVerboseResponse>;
                                            (options?: GetTokenSilentlyOptions): Promise<string>;
                                            (
                                                options: GetTokenSilentlyOptions,
                                            ): Promise<string | GetTokenSilentlyVerboseResponse>;
                                        }
                                        const token = await getAccessTokenSilently(options);
                                         

                                        If there's a valid token stored, return it. Otherwise, opens an @@ -89,7 +90,7 @@ back to using an iframe to make the token exchange.

                                        Note that in all cases, falling back to an iframe requires access to the auth0 cookie.

                                        -
                                        getAccessTokenWithPopup: (
                                            options?: GetTokenWithPopupOptions,
                                            config?: PopupConfigOptions,
                                        ) => Promise<string | undefined>
                                        const token = await getTokenWithPopup(options, config);
                                        +
                                        getAccessTokenWithPopup: (
                                            options?: GetTokenWithPopupOptions,
                                            config?: PopupConfigOptions,
                                        ) => Promise<string | undefined>
                                        const token = await getTokenWithPopup(options, config);
                                         

                                        Get an access token interactively.

                                        @@ -97,7 +98,7 @@ provided as arguments. Random and secure state and nonce parameters will be auto-generated. If the response is successful, results will be valid according to their expiration times.

                                        -
                                        getConfiguration: () => Readonly<ClientConfiguration>
                                        const config = getConfiguration();
                                        // { domain: 'tenant.auth0.com', clientId: 'abc123' } +
                                        getConfiguration: () => Readonly<ClientConfiguration>
                                        const config = getConfiguration();
                                        // { domain: 'tenant.auth0.com', clientId: 'abc123' }

                                        Returns a readonly copy of the initialization configuration @@ -107,7 +108,7 @@

                                        const auth0 = new Auth0Client({
                                        domain: 'tenant.auth0.com',
                                        clientId: 'abc123'
                                        });

                                        const config = auth0.getConfiguration();
                                        // { domain: 'tenant.auth0.com', clientId: 'abc123' }
                                        -
                                        getDpopNonce: (id?: string) => Promise<string | undefined>

                                        Returns the current DPoP nonce used for making requests to Auth0.

                                        +
                                        getDpopNonce: (id?: string) => Promise<string | undefined>

                                        Returns the current DPoP nonce used for making requests to Auth0.

                                        It can return undefined because when starting fresh it will not be populated until after the first response from the server.

                                        It requires enabling the Auth0ClientOptions.useDpop option.

                                        @@ -122,16 +123,16 @@

                                        The identifier of a nonce: if absent, it will get the nonce used for requests to Auth0. Otherwise, it will be used to select a specific non-Auth0 nonce.

                                        -
                                        getIdTokenClaims: () => Promise<IdToken | undefined>
                                        const claims = await getIdTokenClaims();
                                        +
                                        getIdTokenClaims: () => Promise<IdToken | undefined>
                                        const claims = await getIdTokenClaims();
                                         

                                        Returns all claims from the id_token if available.

                                        -
                                        handleRedirectCallback: (
                                            url?: string,
                                        ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                        After the browser redirects back to the callback page, +

                                        handleRedirectCallback: (
                                            url?: string,
                                        ) => Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                        After the browser redirects back to the callback page, call handleRedirectCallback to handle success and error responses from Auth0. If the response is successful, results will be valid according to their expiration times.

                                        Type Declaration

                                          • (url?: string): Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>
                                          • Parameters

                                            • Optionalurl: string

                                              The URL to that should be used to retrieve the state and code values. Defaults to window.location.href if not given.

                                              -

                                            Returns Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                        isAuthenticated: boolean
                                        isLoading: boolean
                                        loginWithCustomTokenExchange: (
                                            options: CustomTokenExchangeOptions,
                                        ) => Promise<TokenEndpointResponse>
                                        await loginWithCustomTokenExchange(options);
                                        +

                                        Returns Promise<ConnectAccountRedirectResult | RedirectLoginResult<any>>

                                        isAuthenticated: boolean
                                        isLoading: boolean
                                        loginWithCustomTokenExchange: (
                                            options: CustomTokenExchangeOptions,
                                        ) => Promise<TokenEndpointResponse>
                                        await loginWithCustomTokenExchange(options);
                                         

                                        Exchanges an external subject token for Auth0 tokens and logs the user in. @@ -155,7 +156,7 @@

                                        const options = {
                                        subject_token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6Ikp...',
                                        subject_token_type: 'urn:acme:legacy-system-token',
                                        scope: 'openid profile email',
                                        audience: 'https://api.example.com',
                                        organization: 'org_12345'
                                        };

                                        try {
                                        const tokenResponse = await loginWithCustomTokenExchange(options);
                                        console.log('Access token:', tokenResponse.access_token);

                                        // User is now logged in - access user info
                                        const user = await getUser();
                                        console.log('Logged in user:', user);
                                        } catch (error) {
                                        console.error('Token exchange failed:', error);
                                        }
                                        -
                                        loginWithPopup: (
                                            options?: PopupLoginOptions,
                                            config?: PopupConfigOptions,
                                        ) => Promise<void>
                                        await loginWithPopup(options, config);
                                        +
                                        loginWithPopup: (
                                            options?: PopupLoginOptions,
                                            config?: PopupConfigOptions,
                                        ) => Promise<void>
                                        await loginWithPopup(options, config);
                                         

                                        Opens a popup with the /authorize URL using the parameters @@ -165,20 +166,20 @@

                                        IMPORTANT: This method has to be called from an event handler that was started by the user like a button click, for example, otherwise the popup will be blocked in most browsers.

                                        -
                                        loginWithRedirect: (options?: RedirectLoginOptions<AppState>) => Promise<void>
                                        await loginWithRedirect(options);
                                        +
                                        loginWithRedirect: (options?: RedirectLoginOptions<AppState>) => Promise<void>
                                        await loginWithRedirect(options);
                                         

                                        Performs a redirect to /authorize using the parameters provided as arguments. Random and secure state and nonce parameters will be auto-generated.

                                        -
                                        logout: (options?: LogoutOptions) => Promise<void>
                                        auth0.logout({ logoutParams: { returnTo: window.location.origin } });
                                        +
                                        logout: (options?: LogoutOptions) => Promise<void>
                                        auth0.logout({ logoutParams: { returnTo: window.location.origin } });
                                         

                                        Clears the application session and performs a redirect to /v2/logout, using the parameters provided as arguments, to clear the Auth0 session. If the logoutParams.federated option is specified, it also clears the Identity Provider session. Read more about how Logout works at Auth0.

                                        -
                                        const { mfa } = useAuth0();
                                        const authenticators = await mfa.getAuthenticators(mfaToken); +
                                        const { mfa } = useAuth0();
                                        const authenticators = await mfa.getAuthenticators(mfaToken);

                                        MFA API client for Multi-Factor Authentication operations.

                                        @@ -193,7 +194,17 @@
                                        const { mfa, getAccessTokenSilently } = useAuth0();

                                        try {
                                        await getAccessTokenSilently();
                                        } catch (error) {
                                        if (error.error === 'mfa_required') {
                                        // Check if enrollment is needed
                                        const factors = await mfa.getEnrollmentFactors(error.mfa_token);

                                        if (factors.length > 0) {
                                        // Enroll in OTP
                                        const enrollment = await mfa.enroll({
                                        mfaToken: error.mfa_token,
                                        factorType: 'otp'
                                        });
                                        console.log('QR Code:', enrollment.barcodeUri);
                                        }

                                        // Get authenticators and challenge
                                        const authenticators = await mfa.getAuthenticators(error.mfa_token);
                                        await mfa.challenge({
                                        mfaToken: error.mfa_token,
                                        challengeType: 'otp',
                                        authenticatorId: authenticators[0].id
                                        });

                                        // Verify with user's code
                                        const tokens = await mfa.verify({
                                        mfaToken: error.mfa_token,
                                        otp: userCode
                                        });
                                        }
                                        }
                                        -
                                        setDpopNonce: (nonce: string, id?: string) => Promise<void>

                                        Sets the current DPoP nonce used for making requests to Auth0.

                                        +
                                        const { passkey } = useAuth0();
                                        const tokens = await passkey.signup({ email: 'user@example.com' }); +
                                        + +

                                        Passkey API client for WebAuthn-based passwordless authentication.

                                        +
                                          +
                                        • signup(options) — register a new user and create a passkey credential
                                        • +
                                        • login(options?) — authenticate an existing user via passkey assertion
                                        • +
                                        +

                                        Both methods exchange the WebAuthn credential for Auth0 tokens and update +isAuthenticated / user in the same way as loginWithPopup.

                                        +
                                        setDpopNonce: (nonce: string, id?: string) => Promise<void>

                                        Sets the current DPoP nonce used for making requests to Auth0.

                                        It requires enabling the Auth0ClientOptions.useDpop option.

                                        Type Declaration

                                          • (nonce: string, id?: string): Promise<void>
                                          • Sets the current DPoP nonce used for making requests to Auth0.

                                            It requires enabling the Auth0ClientOptions.useDpop option.

                                            @@ -205,4 +216,4 @@

                                            The identifier of a nonce: if absent, it will set the nonce used for requests to Auth0. Otherwise, it will be used to select a specific non-Auth0 nonce.

                                            -
                                        user: TUser | undefined
                                        +
                                        user: TUser | undefined
                                        diff --git a/docs/interfaces/EnrollEmailParams.html b/docs/interfaces/EnrollEmailParams.html index 82cafe4f..9785b543 100644 --- a/docs/interfaces/EnrollEmailParams.html +++ b/docs/interfaces/EnrollEmailParams.html @@ -1,5 +1,5 @@ EnrollEmailParams | @auth0/auth0-react
                                        @auth0/auth0-react
                                          Preparing search index...

                                          Interface EnrollEmailParams

                                          Email enrollment parameters

                                          -
                                          interface EnrollEmailParams {
                                              email?: string;
                                              factorType: "email";
                                              mfaToken: string;
                                          }

                                          Hierarchy

                                          • EnrollBaseParams
                                            • EnrollEmailParams
                                          Index

                                          Properties

                                          interface EnrollEmailParams {
                                              email?: string;
                                              factorType: "email";
                                              mfaToken: string;
                                          }

                                          Hierarchy

                                          • EnrollBaseParams
                                            • EnrollEmailParams
                                          Index

                                          Properties

                                          email?: string

                                          Email address (optional, uses user's email if not provided)

                                          diff --git a/docs/interfaces/EnrollOtpParams.html b/docs/interfaces/EnrollOtpParams.html index 559ce36e..9a8674d3 100644 --- a/docs/interfaces/EnrollOtpParams.html +++ b/docs/interfaces/EnrollOtpParams.html @@ -1,5 +1,5 @@ EnrollOtpParams | @auth0/auth0-react
                                          @auth0/auth0-react
                                            Preparing search index...

                                            Interface EnrollOtpParams

                                            OTP (Time-based One-Time Password) enrollment parameters

                                            -
                                            interface EnrollOtpParams {
                                                factorType: "otp";
                                                mfaToken: string;
                                            }

                                            Hierarchy

                                            • EnrollBaseParams
                                              • EnrollOtpParams
                                            Index

                                            Properties

                                            interface EnrollOtpParams {
                                                factorType: "otp";
                                                mfaToken: string;
                                            }

                                            Hierarchy

                                            • EnrollBaseParams
                                              • EnrollOtpParams
                                            Index

                                            Properties

                                            Properties

                                            factorType: "otp"

                                            The factor type for enrollment

                                            mfaToken: string

                                            MFA token from mfa_required error

                                            diff --git a/docs/interfaces/EnrollPushParams.html b/docs/interfaces/EnrollPushParams.html index 6a1b93f1..4a457f65 100644 --- a/docs/interfaces/EnrollPushParams.html +++ b/docs/interfaces/EnrollPushParams.html @@ -1,5 +1,5 @@ EnrollPushParams | @auth0/auth0-react
                                            @auth0/auth0-react
                                              Preparing search index...

                                              Interface EnrollPushParams

                                              Push notification enrollment parameters

                                              -
                                              interface EnrollPushParams {
                                                  factorType: "push";
                                                  mfaToken: string;
                                              }

                                              Hierarchy

                                              • EnrollBaseParams
                                                • EnrollPushParams
                                              Index

                                              Properties

                                              interface EnrollPushParams {
                                                  factorType: "push";
                                                  mfaToken: string;
                                              }

                                              Hierarchy

                                              • EnrollBaseParams
                                                • EnrollPushParams
                                              Index

                                              Properties

                                              Properties

                                              factorType: "push"

                                              The factor type for enrollment

                                              mfaToken: string

                                              MFA token from mfa_required error

                                              diff --git a/docs/interfaces/EnrollSmsParams.html b/docs/interfaces/EnrollSmsParams.html index 7836af72..a4c32ba9 100644 --- a/docs/interfaces/EnrollSmsParams.html +++ b/docs/interfaces/EnrollSmsParams.html @@ -1,5 +1,5 @@ EnrollSmsParams | @auth0/auth0-react
                                              @auth0/auth0-react
                                                Preparing search index...

                                                Interface EnrollSmsParams

                                                SMS enrollment parameters

                                                -
                                                interface EnrollSmsParams {
                                                    factorType: "sms";
                                                    mfaToken: string;
                                                    phoneNumber: string;
                                                }

                                                Hierarchy

                                                • EnrollBaseParams
                                                  • EnrollSmsParams
                                                Index

                                                Properties

                                                interface EnrollSmsParams {
                                                    factorType: "sms";
                                                    mfaToken: string;
                                                    phoneNumber: string;
                                                }

                                                Hierarchy

                                                • EnrollBaseParams
                                                  • EnrollSmsParams
                                                Index

                                                Properties

                                                factorType: "sms"

                                                The factor type for enrollment

                                                diff --git a/docs/interfaces/EnrollVoiceParams.html b/docs/interfaces/EnrollVoiceParams.html index 4b673f1f..53df7e43 100644 --- a/docs/interfaces/EnrollVoiceParams.html +++ b/docs/interfaces/EnrollVoiceParams.html @@ -1,5 +1,5 @@ EnrollVoiceParams | @auth0/auth0-react
                                                @auth0/auth0-react
                                                  Preparing search index...

                                                  Interface EnrollVoiceParams

                                                  Voice enrollment parameters

                                                  -
                                                  interface EnrollVoiceParams {
                                                      factorType: "voice";
                                                      mfaToken: string;
                                                      phoneNumber: string;
                                                  }

                                                  Hierarchy

                                                  • EnrollBaseParams
                                                    • EnrollVoiceParams
                                                  Index

                                                  Properties

                                                  interface EnrollVoiceParams {
                                                      factorType: "voice";
                                                      mfaToken: string;
                                                      phoneNumber: string;
                                                  }

                                                  Hierarchy

                                                  • EnrollBaseParams
                                                    • EnrollVoiceParams
                                                  Index

                                                  Properties

                                                  factorType: "voice"

                                                  The factor type for enrollment

                                                  diff --git a/docs/interfaces/GetTokenWithPopupOptions.html b/docs/interfaces/GetTokenWithPopupOptions.html index 47b70cb2..e0bbb82b 100644 --- a/docs/interfaces/GetTokenWithPopupOptions.html +++ b/docs/interfaces/GetTokenWithPopupOptions.html @@ -1,4 +1,4 @@ -GetTokenWithPopupOptions | @auth0/auth0-react
                                                  @auth0/auth0-react
                                                    Preparing search index...

                                                    Interface GetTokenWithPopupOptions

                                                    interface GetTokenWithPopupOptions {
                                                        authorizationParams?: AuthorizationParams;
                                                        cacheMode?: "on" | "off" | "cache-only";
                                                    }

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Properties

                                                    authorizationParams? +GetTokenWithPopupOptions | @auth0/auth0-react
                                                    @auth0/auth0-react
                                                      Preparing search index...

                                                      Interface GetTokenWithPopupOptions

                                                      interface GetTokenWithPopupOptions {
                                                          authorizationParams?: AuthorizationParams;
                                                          cacheMode?: "on" | "off" | "cache-only";
                                                      }

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Properties

                                                      authorizationParams?: AuthorizationParams

                                                      URL parameters that will be sent back to the Authorization Server. This can be known parameters defined by Auth0 or custom parameters that you define.

                                                      diff --git a/docs/interfaces/LogoutOptions.html b/docs/interfaces/LogoutOptions.html index a6e7729f..154558fd 100644 --- a/docs/interfaces/LogoutOptions.html +++ b/docs/interfaces/LogoutOptions.html @@ -1,4 +1,4 @@ -LogoutOptions | @auth0/auth0-react
                                                      @auth0/auth0-react
                                                        Preparing search index...

                                                        Interface LogoutOptions

                                                        interface LogoutOptions {
                                                            clientId?: string | null;
                                                            logoutParams?: {
                                                                federated?: boolean;
                                                                returnTo?: string;
                                                                [key: string]: any;
                                                            };
                                                            openUrl?: false
                                                            | ((url: string) => void | Promise<void>);
                                                        }

                                                        Hierarchy

                                                        • Omit<SPALogoutOptions, "onRedirect">
                                                          • LogoutOptions
                                                        Index

                                                        Properties

                                                        clientId? +LogoutOptions | @auth0/auth0-react
                                                        @auth0/auth0-react
                                                          Preparing search index...

                                                          Interface LogoutOptions

                                                          interface LogoutOptions {
                                                              clientId?: string | null;
                                                              logoutParams?: {
                                                                  federated?: boolean;
                                                                  returnTo?: string;
                                                                  [key: string]: any;
                                                              };
                                                              openUrl?: false
                                                              | ((url: string) => void | Promise<void>);
                                                          }

                                                          Hierarchy

                                                          • Omit<SPALogoutOptions, "onRedirect">
                                                            • LogoutOptions
                                                          Index

                                                          Properties

                                                          clientId?: string | null

                                                          The clientId of your application.

                                                          diff --git a/docs/interfaces/PasskeyApiClient.html b/docs/interfaces/PasskeyApiClient.html new file mode 100644 index 00000000..4a19160d --- /dev/null +++ b/docs/interfaces/PasskeyApiClient.html @@ -0,0 +1,32 @@ +PasskeyApiClient | @auth0/auth0-react
                                                          @auth0/auth0-react
                                                            Preparing search index...

                                                            Interface PasskeyApiClient

                                                            Client for Auth0 Passkey operations.

                                                            +

                                                            Provides 2 public methods:

                                                            +
                                                              +
                                                            • signup — Register a new user with a passkey (full flow: challenge → WebAuthn → token exchange)
                                                            • +
                                                            • login — Sign in with a passkey (full flow: challenge → WebAuthn → token exchange)
                                                            • +
                                                            +
                                                            // Signup — single call handles everything
                                                            const tokens = await auth0.passkey.signup({ email: 'user@example.com' });

                                                            // Login — single call handles everything
                                                            const tokens = await auth0.passkey.login(); +
                                                            + +
                                                            interface PasskeyApiClient {
                                                                login(options?: PasskeyLoginOptions): Promise<TokenEndpointResponse>;
                                                                signup(options: PasskeySignupOptions): Promise<TokenEndpointResponse>;
                                                            }
                                                            Index

                                                            Methods

                                                            Methods

                                                            • Sign in with an existing passkey.

                                                              +

                                                              Handles the full flow: requests a login challenge, triggers the browser +WebAuthn assertion ceremony, serializes the result, and exchanges it +for tokens.

                                                              +

                                                              Parameters

                                                              • Optionaloptions: PasskeyLoginOptions

                                                                Optional passkey login options (optional scope/audience/realm/organization)

                                                                +

                                                              Returns Promise<TokenEndpointResponse>

                                                              A promise that resolves to the token endpoint response containing access/ID tokens

                                                              +

                                                              If WebAuthn is not supported in the browser

                                                              +

                                                              If the challenge request fails

                                                              +

                                                              If the token exchange fails

                                                              +

                                                              If the user cancels the WebAuthn prompt

                                                              +
                                                            • Register a new user with a passkey.

                                                              +

                                                              Handles the full flow: requests a signup challenge, triggers the browser +WebAuthn credential creation ceremony, serializes the result, and exchanges +it for tokens.

                                                              +

                                                              Parameters

                                                              Returns Promise<TokenEndpointResponse>

                                                              A promise that resolves to the token endpoint response containing access/ID tokens

                                                              +

                                                              If WebAuthn is not supported in the browser

                                                              +

                                                              If the challenge request fails

                                                              +

                                                              If the token exchange fails

                                                              +

                                                              If the user cancels the WebAuthn prompt

                                                              +
                                                            diff --git a/docs/interfaces/PopupLoginOptions.html b/docs/interfaces/PopupLoginOptions.html index 0c637b9c..f848c104 100644 --- a/docs/interfaces/PopupLoginOptions.html +++ b/docs/interfaces/PopupLoginOptions.html @@ -1,4 +1,4 @@ -PopupLoginOptions | @auth0/auth0-react
                                                            @auth0/auth0-react
                                                              Preparing search index...

                                                              Interface PopupLoginOptions

                                                              interface PopupLoginOptions {
                                                                  authorizationParams?: AuthorizationParams;
                                                              }

                                                              Hierarchy (View Summary)

                                                              Index

                                                              Properties

                                                              authorizationParams? +PopupLoginOptions | @auth0/auth0-react
                                                              @auth0/auth0-react
                                                                Preparing search index...

                                                                Interface PopupLoginOptions

                                                                interface PopupLoginOptions {
                                                                    authorizationParams?: AuthorizationParams;
                                                                }

                                                                Hierarchy (View Summary)

                                                                Index

                                                                Properties

                                                                authorizationParams?: AuthorizationParams

                                                                URL parameters that will be sent back to the Authorization Server. This can be known parameters defined by Auth0 or custom parameters that you define.

                                                                diff --git a/docs/interfaces/RedirectLoginOptions.html b/docs/interfaces/RedirectLoginOptions.html index 7c212d03..1456f1c7 100644 --- a/docs/interfaces/RedirectLoginOptions.html +++ b/docs/interfaces/RedirectLoginOptions.html @@ -1,4 +1,4 @@ -RedirectLoginOptions | @auth0/auth0-react
                                                                @auth0/auth0-react
                                                                  Preparing search index...

                                                                  Interface RedirectLoginOptions<TAppState>

                                                                  interface RedirectLoginOptions<TAppState = AppState> {
                                                                      appState?: TAppState;
                                                                      authorizationParams?: AuthorizationParams;
                                                                      fragment?: string;
                                                                      openUrl?: (url: string) => void | Promise<void>;
                                                                  }

                                                                  Type Parameters

                                                                  Hierarchy

                                                                  • Omit<SPARedirectLoginOptions<TAppState>, "onRedirect">
                                                                    • RedirectLoginOptions
                                                                  Index

                                                                  Properties

                                                                  appState? +RedirectLoginOptions | @auth0/auth0-react
                                                                  @auth0/auth0-react
                                                                    Preparing search index...

                                                                    Interface RedirectLoginOptions<TAppState>

                                                                    interface RedirectLoginOptions<TAppState = AppState> {
                                                                        appState?: TAppState;
                                                                        authorizationParams?: AuthorizationParams;
                                                                        fragment?: string;
                                                                        openUrl?: (url: string) => void | Promise<void>;
                                                                    }

                                                                    Type Parameters

                                                                    Hierarchy

                                                                    • Omit<SPARedirectLoginOptions<TAppState>, "onRedirect">
                                                                      • RedirectLoginOptions
                                                                    Index

                                                                    Properties

                                                                    appState? authorizationParams? fragment? openUrl? diff --git a/docs/interfaces/WithAuth0Props.html b/docs/interfaces/WithAuth0Props.html index d6677531..a0bf528d 100644 --- a/docs/interfaces/WithAuth0Props.html +++ b/docs/interfaces/WithAuth0Props.html @@ -1,3 +1,3 @@ WithAuth0Props | @auth0/auth0-react
                                                                    @auth0/auth0-react
                                                                      Preparing search index...

                                                                      Interface WithAuth0Props

                                                                      Components wrapped in withAuth0 will have an additional auth0 prop

                                                                      -
                                                                      interface WithAuth0Props {
                                                                          auth0: Auth0ContextInterface;
                                                                      }
                                                                      Index

                                                                      Properties

                                                                      Properties

                                                                      +
                                                                      interface WithAuth0Props {
                                                                          auth0: Auth0ContextInterface;
                                                                      }
                                                                      Index

                                                                      Properties

                                                                      Properties

                                                                      diff --git a/docs/interfaces/WithAuthenticationRequiredOptions.html b/docs/interfaces/WithAuthenticationRequiredOptions.html index 14f494df..eebce836 100644 --- a/docs/interfaces/WithAuthenticationRequiredOptions.html +++ b/docs/interfaces/WithAuthenticationRequiredOptions.html @@ -1,5 +1,5 @@ WithAuthenticationRequiredOptions | @auth0/auth0-react
                                                                      @auth0/auth0-react
                                                                        Preparing search index...

                                                                        Interface WithAuthenticationRequiredOptions

                                                                        Options for the withAuthenticationRequired Higher Order Component

                                                                        -
                                                                        interface WithAuthenticationRequiredOptions {
                                                                            context?: Context<Auth0ContextInterface<User>>;
                                                                            loginOptions?: RedirectLoginOptions<AppState>;
                                                                            onBeforeAuthentication?: () => Promise<void>;
                                                                            onRedirecting?: () => Element;
                                                                            returnTo?: string | (() => string);
                                                                        }
                                                                        Index

                                                                        Properties

                                                                        interface WithAuthenticationRequiredOptions {
                                                                            context?: Context<Auth0ContextInterface<User>>;
                                                                            loginOptions?: RedirectLoginOptions<AppState>;
                                                                            onBeforeAuthentication?: () => Promise<void>;
                                                                            onRedirecting?: () => Element;
                                                                            returnTo?: string | (() => string);
                                                                        }
                                                                        Index

                                                                        Properties

                                                                        context?: Context<Auth0ContextInterface<User>>

                                                                        The context to be used when calling useAuth0, this should only be provided if you are using multiple Auth0Providers within your application and you wish to tie a specific component to a Auth0Provider other than the Auth0Provider associated with the default Auth0Context.

                                                                        -
                                                                        withAuthenticationRequired(Profile, {
                                                                        loginOptions: {
                                                                        appState: {
                                                                        customProp: 'foo'
                                                                        }
                                                                        }
                                                                        }) +
                                                                        withAuthenticationRequired(Profile, {
                                                                        loginOptions: {
                                                                        appState: {
                                                                        customProp: 'foo'
                                                                        }
                                                                        }
                                                                        })

                                                                        Pass additional login options, like extra appState to the login page. This will be merged with the returnTo option used by the onRedirectCallback handler.

                                                                        -
                                                                        onBeforeAuthentication?: () => Promise<void>
                                                                        withAuthenticationRequired(Profile, {
                                                                        onBeforeAuthentication: () => { analyticsLibrary.track('login_triggered'); }
                                                                        }) +
                                                                        onBeforeAuthentication?: () => Promise<void>
                                                                        withAuthenticationRequired(Profile, {
                                                                        onBeforeAuthentication: () => { analyticsLibrary.track('login_triggered'); }
                                                                        })

                                                                        Allows executing logic before the user is redirected to the login page.

                                                                        -
                                                                        onRedirecting?: () => Element
                                                                        withAuthenticationRequired(Profile, {
                                                                        onRedirecting: () => <div>Redirecting you to the login...</div>
                                                                        }) +
                                                                        onRedirecting?: () => Element
                                                                        withAuthenticationRequired(Profile, {
                                                                        onRedirecting: () => <div>Redirecting you to the login...</div>
                                                                        })

                                                                        Render a message to show that the user is being redirected to the login.

                                                                        -
                                                                        returnTo?: string | (() => string)
                                                                        withAuthenticationRequired(Profile, {
                                                                        returnTo: '/profile'
                                                                        }) +
                                                                        returnTo?: string | (() => string)
                                                                        withAuthenticationRequired(Profile, {
                                                                        returnTo: '/profile'
                                                                        })

                                                                        or

                                                                        @@ -28,4 +28,4 @@

                                                                        Add a path for the onRedirectCallback handler to return the user to after login.

                                                                        -
                                                                        +
                                                                        diff --git a/docs/modules.html b/docs/modules.html index 6f4a601e..9d555a11 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -@auth0/auth0-react
                                                                        @auth0/auth0-react
                                                                          Preparing search index...
                                                                          +@auth0/auth0-react
                                                                          @auth0/auth0-react
                                                                            Preparing search index...
                                                                            diff --git a/docs/types/AppState.html b/docs/types/AppState.html index 169a90f0..47aa6abe 100644 --- a/docs/types/AppState.html +++ b/docs/types/AppState.html @@ -1,6 +1,6 @@ AppState | @auth0/auth0-react
                                                                            @auth0/auth0-react
                                                                              Preparing search index...

                                                                              Type Alias AppState

                                                                              The state of the application before the user was redirected to the login page and any account that the user may have connected to.

                                                                              -
                                                                              type AppState = {
                                                                                  connectedAccount?: ConnectedAccount;
                                                                                  response_type?: ResponseType;
                                                                                  returnTo?: string;
                                                                                  [key: string]: any;
                                                                              }

                                                                              Indexable

                                                                              • [key: string]: any
                                                                              Index

                                                                              Properties

                                                                              type AppState = {
                                                                                  connectedAccount?: ConnectedAccount;
                                                                                  response_type?: ResponseType;
                                                                                  returnTo?: string;
                                                                                  [key: string]: any;
                                                                              }

                                                                              Indexable

                                                                              • [key: string]: any
                                                                              Index

                                                                              Properties

                                                                              connectedAccount?: ConnectedAccount
                                                                              response_type?: ResponseType
                                                                              returnTo?: string
                                                                              +

                                                                              Properties

                                                                              connectedAccount?: ConnectedAccount
                                                                              response_type?: ResponseType
                                                                              returnTo?: string
                                                                              diff --git a/docs/types/Auth0ProviderOptions.html b/docs/types/Auth0ProviderOptions.html index 6875ebe4..5fdab9bd 100644 --- a/docs/types/Auth0ProviderOptions.html +++ b/docs/types/Auth0ProviderOptions.html @@ -1,4 +1,4 @@ Auth0ProviderOptions | @auth0/auth0-react
                                                                              @auth0/auth0-react
                                                                                Preparing search index...

                                                                                Type Alias Auth0ProviderOptions<TUser>

                                                                                The main configuration to instantiate the Auth0Provider.

                                                                                Either provide domain and clientId (Auth0ProviderWithConfigOptions) or a pre-configured client instance (Auth0ProviderWithClientOptions).

                                                                                -

                                                                                Type Parameters

                                                                                +

                                                                                Type Parameters

                                                                                diff --git a/docs/types/Auth0ProviderWithClientOptions.html b/docs/types/Auth0ProviderWithClientOptions.html index ddc88535..754635b3 100644 --- a/docs/types/Auth0ProviderWithClientOptions.html +++ b/docs/types/Auth0ProviderWithClientOptions.html @@ -1,2 +1,2 @@ Auth0ProviderWithClientOptions | @auth0/auth0-react
                                                                                @auth0/auth0-react
                                                                                  Preparing search index...

                                                                                  Type Alias Auth0ProviderWithClientOptions<TUser>

                                                                                  Auth0ProviderWithClientOptions: Auth0ProviderBaseOptions<TUser> & {
                                                                                      client: Auth0Client;
                                                                                  }

                                                                                  Options for Auth0Provider when supplying a pre-configured Auth0Client instance.

                                                                                  -

                                                                                  Type Parameters

                                                                                  +

                                                                                  Type Parameters

                                                                                  diff --git a/docs/types/Auth0ProviderWithConfigOptions.html b/docs/types/Auth0ProviderWithConfigOptions.html index 7f5ca19e..059e4b13 100644 --- a/docs/types/Auth0ProviderWithConfigOptions.html +++ b/docs/types/Auth0ProviderWithConfigOptions.html @@ -1,3 +1,3 @@ Auth0ProviderWithConfigOptions | @auth0/auth0-react
                                                                                  @auth0/auth0-react
                                                                                    Preparing search index...

                                                                                    Type Alias Auth0ProviderWithConfigOptions<TUser>

                                                                                    Auth0ProviderWithConfigOptions: Auth0ProviderBaseOptions<TUser> & Auth0ClientOptions & {
                                                                                        client?: never;
                                                                                    }

                                                                                    Options for Auth0Provider when configuring Auth0 via domain and clientId. Use this type when building wrapper components around Auth0Provider.

                                                                                    -

                                                                                    Type Parameters

                                                                                    +

                                                                                    Type Parameters

                                                                                    diff --git a/docs/types/ConnectedAccount.html b/docs/types/ConnectedAccount.html index e335ff73..e78e8892 100644 --- a/docs/types/ConnectedAccount.html +++ b/docs/types/ConnectedAccount.html @@ -1,2 +1,2 @@ ConnectedAccount | @auth0/auth0-react
                                                                                    @auth0/auth0-react
                                                                                      Preparing search index...

                                                                                      Type Alias ConnectedAccount

                                                                                      ConnectedAccount: Omit<
                                                                                          ConnectAccountRedirectResult,
                                                                                          "appState"
                                                                                          | "response_type",
                                                                                      >

                                                                                      The account that has been connected during the connect flow.

                                                                                      -
                                                                                      +
                                                                                      diff --git a/docs/types/PasskeyLoginOptions.html b/docs/types/PasskeyLoginOptions.html new file mode 100644 index 00000000..576ae922 --- /dev/null +++ b/docs/types/PasskeyLoginOptions.html @@ -0,0 +1,2 @@ +PasskeyLoginOptions | @auth0/auth0-react
                                                                                      @auth0/auth0-react
                                                                                        Preparing search index...

                                                                                        Type Alias PasskeyLoginOptions

                                                                                        PasskeyLoginOptions: PasskeyLoginChallengeOptions & {
                                                                                            audience?: string;
                                                                                            scope?: string;
                                                                                        }

                                                                                        Options for passkey login (authenticating with an existing passkey).

                                                                                        +
                                                                                        diff --git a/docs/types/PasskeySignupOptions.html b/docs/types/PasskeySignupOptions.html new file mode 100644 index 00000000..7f7c55fe --- /dev/null +++ b/docs/types/PasskeySignupOptions.html @@ -0,0 +1,2 @@ +PasskeySignupOptions | @auth0/auth0-react
                                                                                        @auth0/auth0-react
                                                                                          Preparing search index...

                                                                                          Type Alias PasskeySignupOptions

                                                                                          PasskeySignupOptions: PasskeySignupChallengeOptions & {
                                                                                              audience?: string;
                                                                                              scope?: string;
                                                                                          }

                                                                                          Options for passkey signup (registering a new user with a passkey).

                                                                                          +
                                                                                          diff --git a/docs/variables/Auth0Context.html b/docs/variables/Auth0Context.html index 158fa5bb..665e2c90 100644 --- a/docs/variables/Auth0Context.html +++ b/docs/variables/Auth0Context.html @@ -1,2 +1,2 @@ Auth0Context | @auth0/auth0-react
                                                                                          @auth0/auth0-react
                                                                                            Preparing search index...

                                                                                            Variable Auth0ContextConst

                                                                                            Auth0Context: Context<Auth0ContextInterface<User>> = ...

                                                                                            The Auth0 Context

                                                                                            -
                                                                                            +
                                                                                            diff --git a/package.json b/package.json index 87b5946f..55714d63 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "author": "Auth0", "name": "@auth0/auth0-react", - "version": "2.17.0", + "version": "2.18.0", "description": "Auth0 SDK for React Single Page Applications (SPA)", "keywords": [ "auth0", From 37cd240218e78e2dd014bf9bf47dcaf08f0915bc Mon Sep 17 00:00:00 2001 From: Amit Singh Date: Wed, 10 Jun 2026 14:31:36 +0530 Subject: [PATCH 2/2] Remove docs --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index ee59ef1e..be4be5ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,7 +5,7 @@ **Added** - feat: add passkey API support for signup and login methods [\#1114](https://github.com/auth0/auth0-react/pull/1114) ([amitsingh05667](https://github.com/amitsingh05667)) -- docs: add delegation and impersonation example for CTE [\#1111](https://github.com/auth0/auth0-react/pull/1111) ([yogeshchoudhary147](https://github.com/yogeshchoudhary147)) + ## [v2.17.0](https://github.com/auth0/auth0-react/tree/v2.17.0) (2026-05-22) [Full Changelog](https://github.com/auth0/auth0-react/compare/v2.16.2...v2.17.0)