From 872d29fca9a6ff59bf9487dd96dde9cb884f0657 Mon Sep 17 00:00:00 2001 From: Tushar Pandey Date: Mon, 17 Nov 2025 09:56:00 +0530 Subject: [PATCH] Release v4.13.0 --- .version | 2 +- CHANGELOG.md | 11 ++++ docs/assets/search.js | 2 +- docs/classes/errors.AccessTokenError.html | 4 +- .../errors.AccessTokenForConnectionError.html | 8 +-- .../errors.AuthorizationCodeGrantError.html | 4 +- ...rs.AuthorizationCodeGrantRequestError.html | 4 +- docs/classes/errors.AuthorizationError.html | 4 +- ...errors.BackchannelAuthenticationError.html | 4 +- ...hannelAuthenticationNotSupportedError.html | 4 +- .../errors.BackchannelLogoutError.html | 4 +- docs/classes/errors.ConnectAccountError.html | 8 +-- docs/classes/errors.DPoPError.html | 10 ++-- docs/classes/errors.DiscoveryError.html | 4 +- .../errors.InvalidConfigurationError.html | 4 +- docs/classes/errors.InvalidStateError.html | 4 +- docs/classes/errors.MissingStateError.html | 4 +- docs/classes/errors.MyAccountApiError.html | 8 +-- docs/classes/errors.OAuth2Error.html | 6 +- docs/classes/errors.SdkError.html | 4 +- docs/classes/server.AbstractSessionStore.html | 10 ++-- docs/classes/server.Auth0Client.html | 31 +++++----- docs/classes/server.AuthClient.html | 14 ++--- docs/classes/server.TransactionStore.html | 12 ++-- docs/enums/errors.AccessTokenErrorCode.html | 4 +- ...ors.AccessTokenForConnectionErrorCode.html | 10 ++-- .../errors.ConnectAccountErrorCodes.html | 10 ++-- docs/enums/errors.DPoPErrorCode.html | 10 ++-- docs/enums/types.RESPONSE_TYPES.html | 6 +- docs/enums/types.SUBJECT_TOKEN_TYPES.html | 6 +- docs/functions/client.Auth0Provider.html | 2 +- docs/functions/client.getAccessToken.html | 4 +- docs/functions/client.useUser.html | 2 +- .../server.filterDefaultIdTokenClaims.html | 4 +- .../testing.generateSessionCookie.html | 2 +- docs/hierarchy.html | 2 +- docs/index.html | 23 ++++++-- .../client.WithPageAuthRequiredOptions.html | 10 ++-- ...types.AccessTokenForConnectionOptions.html | 10 ++-- docs/interfaces/types.AccessTokenSet.html | 4 +- docs/interfaces/types.Auth0ClientOptions.html | 56 +++++++++---------- docs/interfaces/types.AuthClientOptions.html | 6 +- .../types.AuthorizationDetails.html | 4 +- .../types.AuthorizationParameters.html | 14 ++--- ...ypes.BackchannelAuthenticationOptions.html | 12 ++-- ...pes.BackchannelAuthenticationResponse.html | 4 +- .../types.ConnectAccountOptions.html | 12 ++-- docs/interfaces/types.ConnectionTokenSet.html | 4 +- docs/interfaces/types.CookieOptions.html | 4 +- docs/interfaces/types.Routes.html | 4 +- .../types.SessionConfiguration.html | 10 ++-- .../types.SessionCookieOptions.html | 14 ++--- docs/interfaces/types.SessionData.html | 4 +- docs/interfaces/types.SessionDataStore.html | 10 ++-- .../interfaces/types.SessionStoreOptions.html | 10 ++-- .../types.StartInteractiveLoginOptions.html | 6 +- docs/interfaces/types.TokenSet.html | 4 +- .../types.TransactionCookieOptions.html | 14 ++--- docs/interfaces/types.TransactionState.html | 8 +-- .../types.TransactionStoreOptions.html | 6 +- docs/interfaces/types.User.html | 6 +- docs/modules.html | 2 +- docs/modules/client.html | 2 +- docs/modules/errors.html | 2 +- docs/modules/server.html | 2 +- docs/modules/testing.html | 2 +- docs/modules/types.html | 2 +- docs/types/client.WithPageAuthRequired.html | 4 +- docs/types/server.AppRouterPageRoute.html | 4 +- docs/types/server.AppRouterPageRouteOpts.html | 6 +- ...r.GetServerSidePropsResultWithSession.html | 4 +- docs/types/server.PageRoute.html | 4 +- docs/types/server.WithPageAuthRequired.html | 4 +- .../server.WithPageAuthRequiredAppRouter.html | 4 +- ....WithPageAuthRequiredAppRouterOptions.html | 6 +- ...server.WithPageAuthRequiredPageRouter.html | 4 +- ...WithPageAuthRequiredPageRouterOptions.html | 6 +- .../testing.GenerateSessionCookieConfig.html | 4 +- docs/types/types.BeforeSessionSavedHook.html | 2 +- docs/types/types.GetAccessTokenOptions.html | 4 +- docs/types/types.LogoutStrategy.html | 4 +- docs/types/types.LogoutToken.html | 4 +- docs/types/types.OnCallbackContext.html | 8 +-- docs/types/types.OnCallbackHook.html | 2 +- docs/types/types.PagesRouterRequest.html | 2 +- docs/types/types.PagesRouterResponse.html | 2 +- docs/types/types.ProxyOptions.html | 4 +- docs/types/types.ReadonlyRequestCookies.html | 2 +- docs/types/types.RoutesOptions.html | 2 +- .../client.withPageAuthRequired.html | 2 +- .../server.DEFAULT_ID_TOKEN_CLAIMS.html | 4 +- package.json | 2 +- 92 files changed, 313 insertions(+), 284 deletions(-) diff --git a/.version b/.version index 2beea248..bf86127e 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v4.12.1 \ No newline at end of file +v4.13.0 \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index af553932..0f9c0418 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,16 @@ # Change Log +## [v4.13.0](https://github.com/auth0/nextjs-auth0/tree/v4.13.0) (2025-11-17) +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.12.1...v4.13.0) + +**Added** +- feat: add support `scopes` parameter for connected accounts [\#2407](https://github.com/auth0/nextjs-auth0/pull/2407) ([guabu](https://github.com/guabu)) +- Adding support for Next 16 [\#2405](https://github.com/auth0/nextjs-auth0/pull/2405) ([nandan-bhat](https://github.com/nandan-bhat)) + +**Fixed** +- fix: merge sessionChanges before finalizing session after refresh (#2401) [\#2414](https://github.com/auth0/nextjs-auth0/pull/2414) ([tusharpandey13](https://github.com/tusharpandey13)) +- fix: prevent OAuth parameter injection via returnTo (#2381) [\#2413](https://github.com/auth0/nextjs-auth0/pull/2413) ([tusharpandey13](https://github.com/tusharpandey13)) + ## [v4.12.1](https://github.com/auth0/nextjs-auth0/tree/v4.12.1) (2025-11-13) [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.12.0...v4.12.1) diff --git a/docs/assets/search.js b/docs/assets/search.js index 54380498..433be62c 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.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wfhMu+OctTLcrSd8KcxGtXCgfBEwOGY7Y82wG1D9bFK5U+2qj6BqKS9g6zDbvKde2Emiw1whW6Pb0W6thkrDwEYP8ohnR2iCxo82tVygxZeUHB4+BxSxqdw7WxpYbKkMfZH6fq7BGbuKKogz0m4qYpNMk/WHy/Cswknm8batdOcUbaT73sLvdnAckMile/QCL1VQ+7b/AhuDaDg6gjhOUbjTvKgkfKjgGoiRFUcw224vyWdy4ZWgi1+VE3VB5u0UP7H50J8Z/y0kai1Di08Rebla4IsKt8VIWECUWQRTlr+Xlwo1PqppfH85QdBhfJ2YJDNQr4PoeoDbySUUrhhtNcZ+ZEUofZj7fIDlcpPdqH6DB0thHRlRPW3eKfTuVrm4YP5zG9FoVD2sFudc/CC5dTPSREudA+HvEwpD0M3fmitPiVDQqHAGAzT3f1LQ6gWL7Qww8pY4wa9l5Q5h1a/Puvh4Xrstf9cNsrK/LFsV5ThujKUU+xDscY/a6SEx2tLk2WMOWXTo1zlgtWntk4ynjCpHtV0uvcl2HT6xBSm7DYaB0Pcj8YpoTKO6kDzp2e5t92TJBG2jD/KhMJfs3XUND6LJHLM7y+e7Ypdvi42psxvv//rX/8HRfPv+A=="; \ No newline at end of file diff --git a/docs/classes/errors.AccessTokenError.html b/docs/classes/errors.AccessTokenError.html index ec6a708b..cd0fded4 100644 --- a/docs/classes/errors.AccessTokenError.html +++ b/docs/classes/errors.AccessTokenError.html @@ -1,4 +1,4 @@ -AccessTokenError | @auth0/nextjs-auth0 - v4.12.1
@auth0/nextjs-auth0 - v4.12.1
    Preparing search index...

    Class AccessTokenError

    Hierarchy (View Summary)

    Index

    Constructors

    constructor +AccessTokenError | @auth0/nextjs-auth0 - v4.13.0
    @auth0/nextjs-auth0 - v4.13.0
      Preparing search index...

      Class AccessTokenError

      Hierarchy (View Summary)

      Index

      Constructors

      Properties

      Constructors

      Properties

      cause?: OAuth2Error
      code: string
      +

      Constructors

      Properties

      cause?: OAuth2Error
      code: string
      diff --git a/docs/classes/errors.AccessTokenForConnectionError.html b/docs/classes/errors.AccessTokenForConnectionError.html index 7f9d0c3c..ce29652d 100644 --- a/docs/classes/errors.AccessTokenForConnectionError.html +++ b/docs/classes/errors.AccessTokenForConnectionError.html @@ -1,11 +1,11 @@ -AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.12.1
      @auth0/nextjs-auth0 - v4.12.1
        Preparing search index...

        Class AccessTokenForConnectionError

        Error class representing an access token for connection error. +AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.13.0

        @auth0/nextjs-auth0 - v4.13.0
          Preparing search index...

          Class AccessTokenForConnectionError

          Error class representing an access token for connection error. Extends the SdkError class.

          -

          Hierarchy (View Summary)

          Index

          Constructors

          Hierarchy (View Summary)

          Index

          Constructors

          Properties

          Constructors

          Properties

          cause?: OAuth2Error
          code: string

          The error code associated with the access token error.

          -
          +

          Returns AccessTokenForConnectionError

          Properties

          cause?: OAuth2Error
          code: string

          The error code associated with the access token error.

          +
          diff --git a/docs/classes/errors.AuthorizationCodeGrantError.html b/docs/classes/errors.AuthorizationCodeGrantError.html index a16f3f84..78b7489b 100644 --- a/docs/classes/errors.AuthorizationCodeGrantError.html +++ b/docs/classes/errors.AuthorizationCodeGrantError.html @@ -1,4 +1,4 @@ -AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.12.1
          @auth0/nextjs-auth0 - v4.12.1
            Preparing search index...

            Class AuthorizationCodeGrantError

            Hierarchy (View Summary)

            Index

            Constructors

            constructor +AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.13.0
            @auth0/nextjs-auth0 - v4.13.0
              Preparing search index...

              Class AuthorizationCodeGrantError

              Hierarchy (View Summary)

              Index

              Constructors

              Properties

              Constructors

              Properties

              code: string = "authorization_code_grant_error"
              +

              Constructors

              Properties

              code: string = "authorization_code_grant_error"
              diff --git a/docs/classes/errors.AuthorizationCodeGrantRequestError.html b/docs/classes/errors.AuthorizationCodeGrantRequestError.html index d5179498..ce66e105 100644 --- a/docs/classes/errors.AuthorizationCodeGrantRequestError.html +++ b/docs/classes/errors.AuthorizationCodeGrantRequestError.html @@ -1,3 +1,3 @@ -AuthorizationCodeGrantRequestError | @auth0/nextjs-auth0 - v4.12.1
              @auth0/nextjs-auth0 - v4.12.1
                Preparing search index...

                Class AuthorizationCodeGrantRequestError

                Hierarchy (View Summary)

                • SdkError
                  • AuthorizationCodeGrantRequestError
                Index

                Constructors

                constructor +AuthorizationCodeGrantRequestError | @auth0/nextjs-auth0 - v4.13.0
                @auth0/nextjs-auth0 - v4.13.0
                  Preparing search index...

                  Class AuthorizationCodeGrantRequestError

                  Hierarchy (View Summary)

                  • SdkError
                    • AuthorizationCodeGrantRequestError
                  Index

                  Constructors

                  Properties

                  Constructors

                  Properties

                  code: string = "authorization_code_grant_request_error"
                  +

                  Constructors

                  Properties

                  code: string = "authorization_code_grant_request_error"
                  diff --git a/docs/classes/errors.AuthorizationError.html b/docs/classes/errors.AuthorizationError.html index fbd5bdaf..f52b07ac 100644 --- a/docs/classes/errors.AuthorizationError.html +++ b/docs/classes/errors.AuthorizationError.html @@ -1,4 +1,4 @@ -AuthorizationError | @auth0/nextjs-auth0 - v4.12.1
                  @auth0/nextjs-auth0 - v4.12.1
                    Preparing search index...

                    Class AuthorizationError

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    constructor +AuthorizationError | @auth0/nextjs-auth0 - v4.13.0
                    @auth0/nextjs-auth0 - v4.13.0
                      Preparing search index...

                      Class AuthorizationError

                      Hierarchy (View Summary)

                      Index

                      Constructors

                      Properties

                      Constructors

                      Properties

                      code: string = "authorization_error"
                      +

                      Constructors

                      Properties

                      code: string = "authorization_error"
                      diff --git a/docs/classes/errors.BackchannelAuthenticationError.html b/docs/classes/errors.BackchannelAuthenticationError.html index 0b0a1a62..a4c559d1 100644 --- a/docs/classes/errors.BackchannelAuthenticationError.html +++ b/docs/classes/errors.BackchannelAuthenticationError.html @@ -1,4 +1,4 @@ -BackchannelAuthenticationError | @auth0/nextjs-auth0 - v4.12.1
                      @auth0/nextjs-auth0 - v4.12.1
                        Preparing search index...

                        Class BackchannelAuthenticationError

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        constructor +BackchannelAuthenticationError | @auth0/nextjs-auth0 - v4.13.0
                        @auth0/nextjs-auth0 - v4.13.0
                          Preparing search index...

                          Class BackchannelAuthenticationError

                          Hierarchy (View Summary)

                          Index

                          Constructors

                          Properties

                          Constructors

                          Properties

                          cause?: OAuth2Error
                          code: string = "backchannel_authentication_error"
                          +

                          Constructors

                          Properties

                          cause?: OAuth2Error
                          code: string = "backchannel_authentication_error"
                          diff --git a/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html b/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html index ee279d09..460ea7f3 100644 --- a/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html +++ b/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html @@ -1,3 +1,3 @@ -BackchannelAuthenticationNotSupportedError | @auth0/nextjs-auth0 - v4.12.1
                          @auth0/nextjs-auth0 - v4.12.1
                            Preparing search index...

                            Class BackchannelAuthenticationNotSupportedError

                            Hierarchy (View Summary)

                            • SdkError
                              • BackchannelAuthenticationNotSupportedError
                            Index

                            Constructors

                            constructor +BackchannelAuthenticationNotSupportedError | @auth0/nextjs-auth0 - v4.13.0
                            @auth0/nextjs-auth0 - v4.13.0
                              Preparing search index...

                              Class BackchannelAuthenticationNotSupportedError

                              Hierarchy (View Summary)

                              • SdkError
                                • BackchannelAuthenticationNotSupportedError
                              Index

                              Constructors

                              Properties

                              Constructors

                              Properties

                              code: string = "backchannel_authentication_not_supported_error"
                              +

                              Constructors

                              Properties

                              code: string = "backchannel_authentication_not_supported_error"
                              diff --git a/docs/classes/errors.BackchannelLogoutError.html b/docs/classes/errors.BackchannelLogoutError.html index 3d80199e..7490e5d2 100644 --- a/docs/classes/errors.BackchannelLogoutError.html +++ b/docs/classes/errors.BackchannelLogoutError.html @@ -1,3 +1,3 @@ -BackchannelLogoutError | @auth0/nextjs-auth0 - v4.12.1
                              @auth0/nextjs-auth0 - v4.12.1
                                Preparing search index...

                                Class BackchannelLogoutError

                                Hierarchy (View Summary)

                                Index

                                Constructors

                                constructor +BackchannelLogoutError | @auth0/nextjs-auth0 - v4.13.0
                                @auth0/nextjs-auth0 - v4.13.0
                                  Preparing search index...

                                  Class BackchannelLogoutError

                                  Hierarchy (View Summary)

                                  Index

                                  Constructors

                                  Properties

                                  Constructors

                                  Properties

                                  code: string = "backchannel_logout_error"
                                  +

                                  Constructors

                                  Properties

                                  code: string = "backchannel_logout_error"
                                  diff --git a/docs/classes/errors.ConnectAccountError.html b/docs/classes/errors.ConnectAccountError.html index 845437e8..3317c804 100644 --- a/docs/classes/errors.ConnectAccountError.html +++ b/docs/classes/errors.ConnectAccountError.html @@ -1,6 +1,6 @@ -ConnectAccountError | @auth0/nextjs-auth0 - v4.12.1
                                  @auth0/nextjs-auth0 - v4.12.1
                                    Preparing search index...

                                    Class ConnectAccountError

                                    Error class representing a connect account error.

                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    constructor +ConnectAccountError | @auth0/nextjs-auth0 - v4.13.0
                                    @auth0/nextjs-auth0 - v4.13.0
                                      Preparing search index...

                                      Class ConnectAccountError

                                      Error class representing a connect account error.

                                      +

                                      Hierarchy (View Summary)

                                      Index

                                      Constructors

                                      Properties

                                      Constructors

                                      Properties

                                      code: string

                                      The error code associated with the connect account error.

                                      -
                                      +

                                      Constructors

                                      Properties

                                      code: string

                                      The error code associated with the connect account error.

                                      +
                                      diff --git a/docs/classes/errors.DPoPError.html b/docs/classes/errors.DPoPError.html index e5de9bde..497b7d4e 100644 --- a/docs/classes/errors.DPoPError.html +++ b/docs/classes/errors.DPoPError.html @@ -1,4 +1,4 @@ -DPoPError | @auth0/nextjs-auth0 - v4.12.1
                                      @auth0/nextjs-auth0 - v4.12.1
                                        Preparing search index...

                                        Class DPoPError

                                        Represents an error that occurred during DPoP (Demonstrating Proof-of-Possession) operations.

                                        +DPoPError | @auth0/nextjs-auth0 - v4.13.0
                                        @auth0/nextjs-auth0 - v4.13.0
                                          Preparing search index...

                                          Class DPoPError

                                          Represents an error that occurred during DPoP (Demonstrating Proof-of-Possession) operations.

                                          DPoP is an OAuth 2.0 extension that provides application-level proof-of-possession security by binding access tokens to cryptographic key pairs. This error is thrown when DPoP-related operations fail, such as key pair operations, proof generation, or configuration issues.

                                          @@ -16,7 +16,7 @@

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Properties

                                          Constructors

                                          • Constructs a new DPoPError instance.

                                            @@ -26,6 +26,6 @@

                                          Returns DPoPError

                                          const dpopError = new DPoPError(
                                          DPoPErrorCode.DPOP_KEY_EXPORT_FAILED,
                                          "Unable to export public key to JWK format",
                                          keyExportError
                                          );
                                          -

                                          Properties

                                          cause?: Error

                                          The underlying error that caused this DPoP error (optional)

                                          -

                                          The specific DPoP error code indicating the type of failure

                                          -
                                          +

                                          Properties

                                          cause?: Error

                                          The underlying error that caused this DPoP error (optional)

                                          +

                                          The specific DPoP error code indicating the type of failure

                                          +
                                          diff --git a/docs/classes/errors.DiscoveryError.html b/docs/classes/errors.DiscoveryError.html index 756699cc..278f1f86 100644 --- a/docs/classes/errors.DiscoveryError.html +++ b/docs/classes/errors.DiscoveryError.html @@ -1,3 +1,3 @@ -DiscoveryError | @auth0/nextjs-auth0 - v4.12.1
                                          @auth0/nextjs-auth0 - v4.12.1
                                            Preparing search index...

                                            Class DiscoveryError

                                            Hierarchy (View Summary)

                                            Index

                                            Constructors

                                            constructor +DiscoveryError | @auth0/nextjs-auth0 - v4.13.0
                                            @auth0/nextjs-auth0 - v4.13.0
                                              Preparing search index...

                                              Class DiscoveryError

                                              Hierarchy (View Summary)

                                              Index

                                              Constructors

                                              Properties

                                              Constructors

                                              Properties

                                              code: string = "discovery_error"
                                              +

                                              Constructors

                                              Properties

                                              code: string = "discovery_error"
                                              diff --git a/docs/classes/errors.InvalidConfigurationError.html b/docs/classes/errors.InvalidConfigurationError.html index 6dced0aa..52ae5e25 100644 --- a/docs/classes/errors.InvalidConfigurationError.html +++ b/docs/classes/errors.InvalidConfigurationError.html @@ -1,3 +1,3 @@ -InvalidConfigurationError | @auth0/nextjs-auth0 - v4.12.1
                                              @auth0/nextjs-auth0 - v4.12.1
                                                Preparing search index...

                                                Class InvalidConfigurationError

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                constructor +InvalidConfigurationError | @auth0/nextjs-auth0 - v4.13.0
                                                @auth0/nextjs-auth0 - v4.13.0
                                                  Preparing search index...

                                                  Class InvalidConfigurationError

                                                  Hierarchy (View Summary)

                                                  Index

                                                  Constructors

                                                  Properties

                                                  Constructors

                                                  Properties

                                                  code: string = "invalid_configuration"
                                                  +

                                                  Constructors

                                                  Properties

                                                  code: string = "invalid_configuration"
                                                  diff --git a/docs/classes/errors.InvalidStateError.html b/docs/classes/errors.InvalidStateError.html index 8434ecc8..59bee9e7 100644 --- a/docs/classes/errors.InvalidStateError.html +++ b/docs/classes/errors.InvalidStateError.html @@ -1,3 +1,3 @@ -InvalidStateError | @auth0/nextjs-auth0 - v4.12.1
                                                  @auth0/nextjs-auth0 - v4.12.1
                                                    Preparing search index...

                                                    Class InvalidStateError

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Constructors

                                                    constructor +InvalidStateError | @auth0/nextjs-auth0 - v4.13.0
                                                    @auth0/nextjs-auth0 - v4.13.0
                                                      Preparing search index...

                                                      Class InvalidStateError

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      Properties

                                                      Constructors

                                                      Properties

                                                      code: string = "invalid_state"
                                                      +

                                                      Constructors

                                                      Properties

                                                      code: string = "invalid_state"
                                                      diff --git a/docs/classes/errors.MissingStateError.html b/docs/classes/errors.MissingStateError.html index 853dc322..b412ac65 100644 --- a/docs/classes/errors.MissingStateError.html +++ b/docs/classes/errors.MissingStateError.html @@ -1,3 +1,3 @@ -MissingStateError | @auth0/nextjs-auth0 - v4.12.1
                                                      @auth0/nextjs-auth0 - v4.12.1
                                                        Preparing search index...

                                                        Class MissingStateError

                                                        Hierarchy (View Summary)

                                                        Index

                                                        Constructors

                                                        constructor +MissingStateError | @auth0/nextjs-auth0 - v4.13.0
                                                        @auth0/nextjs-auth0 - v4.13.0
                                                          Preparing search index...

                                                          Class MissingStateError

                                                          Hierarchy (View Summary)

                                                          Index

                                                          Constructors

                                                          Properties

                                                          Constructors

                                                          Properties

                                                          code: string = "missing_state"
                                                          +

                                                          Constructors

                                                          Properties

                                                          code: string = "missing_state"
                                                          diff --git a/docs/classes/errors.MyAccountApiError.html b/docs/classes/errors.MyAccountApiError.html index 69d0e2df..91daacf5 100644 --- a/docs/classes/errors.MyAccountApiError.html +++ b/docs/classes/errors.MyAccountApiError.html @@ -1,5 +1,5 @@ -MyAccountApiError | @auth0/nextjs-auth0 - v4.12.1
                                                          @auth0/nextjs-auth0 - v4.12.1
                                                            Preparing search index...

                                                            Class MyAccountApiError

                                                            Error class representing a connect account request error.

                                                            -

                                                            Hierarchy (View Summary)

                                                            Index

                                                            Constructors

                                                            constructor +MyAccountApiError | @auth0/nextjs-auth0 - v4.13.0
                                                            @auth0/nextjs-auth0 - v4.13.0
                                                              Preparing search index...

                                                              Class MyAccountApiError

                                                              Error class representing a connect account request error.

                                                              +

                                                              Hierarchy (View Summary)

                                                              Index

                                                              Constructors

                                                              Properties

                                                              Constructors

                                                              • Parameters

                                                                • __namedParameters: {
                                                                      detail: string;
                                                                      status: number;
                                                                      title: string;
                                                                      type: string;
                                                                      validationErrors?: {
                                                                          detail: string;
                                                                          field?: string;
                                                                          pointer?: string;
                                                                          source?: string;
                                                                      }[];
                                                                  }

                                                                Returns MyAccountApiError

                                                              Properties

                                                              code: string = "my_account_api_error"
                                                              detail: string
                                                              name: string = "MyAccountApiError"
                                                              status: number
                                                              title: string
                                                              type: string
                                                              validationErrors?: {
                                                                  detail: string;
                                                                  field?: string;
                                                                  pointer?: string;
                                                                  source?: string;
                                                              }[]

                                                              Type Declaration

                                                              • detail: string

                                                                A human-readable description of the specific error. Required.

                                                                +

                                                              Constructors

                                                              • Parameters

                                                                • __namedParameters: {
                                                                      detail: string;
                                                                      status: number;
                                                                      title: string;
                                                                      type: string;
                                                                      validationErrors?: {
                                                                          detail: string;
                                                                          field?: string;
                                                                          pointer?: string;
                                                                          source?: string;
                                                                      }[];
                                                                  }

                                                                Returns MyAccountApiError

                                                              Properties

                                                              code: string = "my_account_api_error"
                                                              detail: string
                                                              name: string = "MyAccountApiError"
                                                              status: number
                                                              title: string
                                                              type: string
                                                              validationErrors?: {
                                                                  detail: string;
                                                                  field?: string;
                                                                  pointer?: string;
                                                                  source?: string;
                                                              }[]

                                                              Type Declaration

                                                              • detail: string

                                                                A human-readable description of the specific error. Required.

                                                              • Optionalfield?: string

                                                                The name of the invalid parameter. Optional.

                                                              • Optionalpointer?: string

                                                                A JSON Pointer that points to the exact location of the error in a JSON document being validated. Optional.

                                                              • Optionalsource?: string

                                                                Specifies the source of the error (e.g., body, query, or header in an HTML message). Optional.

                                                                -
                                                              +
                                                              diff --git a/docs/classes/errors.OAuth2Error.html b/docs/classes/errors.OAuth2Error.html index 382773fc..470a8cb8 100644 --- a/docs/classes/errors.OAuth2Error.html +++ b/docs/classes/errors.OAuth2Error.html @@ -1,5 +1,5 @@ -OAuth2Error | @auth0/nextjs-auth0 - v4.12.1
                                                              @auth0/nextjs-auth0 - v4.12.1
                                                                Preparing search index...

                                                                Class OAuth2Error

                                                                Errors that come from Auth0 in the redirect_uri callback may contain reflected user input via the OpenID Connect error and error_description query parameter. +OAuth2Error | @auth0/nextjs-auth0 - v4.13.0

                                                                @auth0/nextjs-auth0 - v4.13.0
                                                                  Preparing search index...

                                                                  Class OAuth2Error

                                                                  Errors that come from Auth0 in the redirect_uri callback may contain reflected user input via the OpenID Connect error and error_description query parameter. You should not render the error message, or error and error_description properties without properly escaping them first.

                                                                  -

                                                                  Hierarchy (View Summary)

                                                                  Index

                                                                  Constructors

                                                                  Hierarchy (View Summary)

                                                                  Index

                                                                  Constructors

                                                                  Properties

                                                                  Constructors

                                                                  Properties

                                                                  code: string
                                                                  +

                                                                  Constructors

                                                                  Properties

                                                                  code: string
                                                                  diff --git a/docs/classes/errors.SdkError.html b/docs/classes/errors.SdkError.html index 2382a598..09ca3046 100644 --- a/docs/classes/errors.SdkError.html +++ b/docs/classes/errors.SdkError.html @@ -1,3 +1,3 @@ -SdkError | @auth0/nextjs-auth0 - v4.12.1
                                                                  @auth0/nextjs-auth0 - v4.12.1
                                                                    Preparing search index...

                                                                    Class SdkErrorAbstract

                                                                    Hierarchy (View Summary)

                                                                    Index

                                                                    Constructors

                                                                    constructor +SdkError | @auth0/nextjs-auth0 - v4.13.0
                                                                    @auth0/nextjs-auth0 - v4.13.0
                                                                      Preparing search index...

                                                                      Class SdkErrorAbstract

                                                                      Hierarchy (View Summary)

                                                                      Index

                                                                      Constructors

                                                                      Properties

                                                                      Constructors

                                                                      • Parameters

                                                                        • Optionalmessage: string

                                                                        Returns SdkError

                                                                      Properties

                                                                      code: string
                                                                      +

                                                                      Constructors

                                                                      • Parameters

                                                                        • Optionalmessage: string

                                                                        Returns SdkError

                                                                      Properties

                                                                      code: string
                                                                      diff --git a/docs/classes/server.AbstractSessionStore.html b/docs/classes/server.AbstractSessionStore.html index 656260e3..1c4fefff 100644 --- a/docs/classes/server.AbstractSessionStore.html +++ b/docs/classes/server.AbstractSessionStore.html @@ -1,4 +1,4 @@ -AbstractSessionStore | @auth0/nextjs-auth0 - v4.12.1
                                                                      @auth0/nextjs-auth0 - v4.12.1
                                                                        Preparing search index...

                                                                        Class AbstractSessionStoreAbstract

                                                                        Index

                                                                        Constructors

                                                                        constructor +AbstractSessionStore | @auth0/nextjs-auth0 - v4.13.0
                                                                        @auth0/nextjs-auth0 - v4.13.0
                                                                          Preparing search index...

                                                                          Class AbstractSessionStoreAbstract

                                                                          Index

                                                                          Constructors

                                                                          Properties

                                                                          Constructors

                                                                          Properties

                                                                          cookieConfig: CookieOptions
                                                                          secret: string
                                                                          sessionCookieName: string

                                                                          Methods

                                                                          • calculateMaxAge calculates the max age of the session based on createdAt and the rolling and absolute durations.

                                                                            -

                                                                            Parameters

                                                                            • createdAt: number

                                                                            Returns number

                                                                          • save adds the encrypted session cookie as a Set-Cookie header. If the iat property +

                                                                          Constructors

                                                                          Properties

                                                                          cookieConfig: CookieOptions
                                                                          secret: string
                                                                          sessionCookieName: string

                                                                          Methods

                                                                          • calculateMaxAge calculates the max age of the session based on createdAt and the rolling and absolute durations.

                                                                            +

                                                                            Parameters

                                                                            • createdAt: number

                                                                            Returns number

                                                                          +

                                                                          Parameters

                                                                          Returns Promise<void>

                                                                          diff --git a/docs/classes/server.Auth0Client.html b/docs/classes/server.Auth0Client.html index acc1bac6..4cd9209f 100644 --- a/docs/classes/server.Auth0Client.html +++ b/docs/classes/server.Auth0Client.html @@ -1,4 +1,4 @@ -Auth0Client | @auth0/nextjs-auth0 - v4.12.1
                                                                          @auth0/nextjs-auth0 - v4.12.1
                                                                            Preparing search index...

                                                                            Class Auth0Client

                                                                            Index

                                                                            Constructors

                                                                            constructor +Auth0Client | @auth0/nextjs-auth0 - v4.13.0
                                                                            @auth0/nextjs-auth0 - v4.13.0
                                                                              Preparing search index...

                                                                              Class Auth0Client

                                                                              Index

                                                                              Constructors

                                                                              Methods

                                                                              • Initiates the Connect Account flow to connect a third-party account to the user's profile. +

                                                                              Constructors

                                                                              Methods

                                                                              • Initiates the Connect Account flow to connect a third-party account to the user's profile. If the user does not have an active session, a ConnectAccountError is thrown.

                                                                                This method first attempts to obtain an access token with the create:me:connected_accounts scope for the My Account API to create a connected account for the user.

                                                                                The user will then be redirected to authorize the connection with the third-party provider.

                                                                                -

                                                                                Parameters

                                                                                Returns Promise<NextResponse<unknown>>

                                                                              • Creates a configured Fetcher instance for making authenticated API requests.

                                                                                +

                                                                                You must enable Offline Access from the Connection Permissions settings to be able to use the connection with Connected Accounts.

                                                                                +

                                                                                Parameters

                                                                                Returns Promise<NextResponse<unknown>>

                                                                              • Creates a configured Fetcher instance for making authenticated API requests.

                                                                                This method creates a specialized HTTP client that handles:

                                                                                • Automatic access token retrieval and injection
                                                                                • @@ -27,7 +28,7 @@

                                                                                  The fetcher provides a high-level interface for making requests to protected resources without manually handling authentication details.

                                                                                Type Parameters

                                                                                • TOutput extends Response = Response

                                                                                  Response type that extends the standard Response interface

                                                                                  -

                                                                                Parameters

                                                                                • req: NextRequest | PagesRouterRequest | undefined

                                                                                  Request object for session context (required for Pages Router, optional for App Router)

                                                                                  +

                                                                              Parameters

                                                                              • req: NextRequest | Request | PagesRouterRequest | undefined

                                                                                Request object for session context (required for Pages Router, optional for App Router)

                                                                              • options: {
                                                                                    baseUrl?: string;
                                                                                    fetch?: CustomFetchImpl<TOutput>;
                                                                                    getAccessToken?: AccessTokenFactory;
                                                                                    useDPoP?: boolean;
                                                                                }

                                                                                Configuration options for the fetcher

                                                                                • OptionalbaseUrl?: string

                                                                                  Base URL for relative requests. Must be provided if using relative URLs

                                                                                • Optionalfetch?: CustomFetchImpl<TOutput>

                                                                                  Custom fetch implementation. Falls back to global fetch if not provided

                                                                                  @@ -42,11 +43,11 @@
                                                                                • Fetcher for details on using the returned fetcher instance
                                                                                • FetcherMinimalConfig for available configuration options
                                                                                -

                                                                              Returns Promise<
                                                                                  {
                                                                                      audience?: string;
                                                                                      expiresAt: number;
                                                                                      scope?: string;
                                                                                      token: string;
                                                                                      token_type?: string;
                                                                                  },
                                                                              >

                                                                            • getAccessToken returns the access token.

                                                                              This method can be used in middleware and getServerSideProps, API routes in the Pages Router.

                                                                              Parameters

                                                                              • req: NextRequest | PagesRouterRequest

                                                                                The request object.

                                                                              • res: NextResponse<unknown> | PagesRouterResponse

                                                                                The response object.

                                                                                @@ -54,23 +55,23 @@
                                                                                • Optionalaudience?: string | null

                                                                                  Please note: If you are passing audience, ensure that the used audiences and scopes are part of the Application's Refresh Token Policies in Auth0 when configuring Multi-Resource Refresh Tokens (MRRT). Auth0 Documentation on Multi-resource Refresh Tokens

                                                                                  -
                                                                                • Optionalrefresh?: boolean | null
                                                                                • Optionalscope?: string | null

                                                                              Returns Promise<
                                                                                  {
                                                                                      audience?: string;
                                                                                      expiresAt: number;
                                                                                      scope?: string;
                                                                                      token: string;
                                                                                      token_type?: string;
                                                                                  },
                                                                              >

                                                                            • Returns Promise<
                                                                                  {
                                                                                      audience?: string;
                                                                                      expiresAt: number;
                                                                                      scope?: string;
                                                                                      token: string;
                                                                                      token_type?: string;
                                                                                  },
                                                                              >

                                                                              +

                                                                              Parameters

                                                                              Returns Promise<void>

                                                                              diff --git a/docs/classes/server.AuthClient.html b/docs/classes/server.AuthClient.html index d6e89248..48fd9b8c 100644 --- a/docs/classes/server.AuthClient.html +++ b/docs/classes/server.AuthClient.html @@ -1,4 +1,4 @@ -AuthClient | @auth0/nextjs-auth0 - v4.12.1
                                                                              @auth0/nextjs-auth0 - v4.12.1
                                                                                Preparing search index...

                                                                                Class AuthClient

                                                                                Index

                                                                                Constructors

                                                                                constructor +AuthClient | @auth0/nextjs-auth0 - v4.13.0
                                                                                @auth0/nextjs-auth0 - v4.13.0
                                                                                  Preparing search index...

                                                                                  Class AuthClient

                                                                                  Index

                                                                                  Constructors

                                                                                  Methods

                                                                                  • Initiates the connect account flow for linking a third-party account to the user's profile. +

                                                                                  Constructors

                                                                                  Methods

                                                                                  • Creates a new Fetcher instance with DPoP support and authentication capabilities.

                                                                                    This method creates fetcher-scoped DPoP handles via oauth.DPoP(this.clientMetadata, this.dpopKeyPair!). Each fetcher instance maintains its own DPoP nonce state for isolation and security. It is recommended to create fetchers at module level and reuse them across requests

                                                                                    @@ -34,11 +34,11 @@
                                                                                  • Nonce state is isolated between fetcher instances for security

                                                                                  When DPoP is enabled but no keypair is configured

                                                                                  -
                                                                                  +
                                                                                  diff --git a/docs/classes/server.TransactionStore.html b/docs/classes/server.TransactionStore.html index 20cd0d37..f268b0bf 100644 --- a/docs/classes/server.TransactionStore.html +++ b/docs/classes/server.TransactionStore.html @@ -1,15 +1,15 @@ -TransactionStore | @auth0/nextjs-auth0 - v4.12.1
                                                                                  @auth0/nextjs-auth0 - v4.12.1
                                                                                    Preparing search index...

                                                                                    Class TransactionStore

                                                                                    TransactionStore is responsible for storing the state required to successfully complete +TransactionStore | @auth0/nextjs-auth0 - v4.13.0

                                                                                    @auth0/nextjs-auth0 - v4.13.0
                                                                                      Preparing search index...

                                                                                      Class TransactionStore

                                                                                      TransactionStore is responsible for storing the state required to successfully complete an authentication transaction. The store relies on encrypted, stateless cookies to store the transaction state.

                                                                                      -
                                                                                      Index

                                                                                      Constructors

                                                                                      Index

                                                                                      Constructors

                                                                                      Methods

                                                                                      • Parameters

                                                                                        • resCookies: ResponseCookies
                                                                                        • state: string

                                                                                        Returns Promise<void>

                                                                                      • Deletes all transaction cookies based on the configured prefix.

                                                                                        -

                                                                                        Parameters

                                                                                        • reqCookies: RequestCookies
                                                                                        • resCookies: ResponseCookies

                                                                                        Returns Promise<void>

                                                                                      • Saves the transaction state to an encrypted cookie.

                                                                                        +

                                                                                      Constructors

                                                                                      Methods

                                                                                      • Parameters

                                                                                        • resCookies: ResponseCookies
                                                                                        • state: string

                                                                                        Returns Promise<void>

                                                                                      • Deletes all transaction cookies based on the configured prefix.

                                                                                        +

                                                                                        Parameters

                                                                                        • reqCookies: RequestCookies
                                                                                        • resCookies: ResponseCookies

                                                                                        Returns Promise<void>

                                                                                      • Saves the transaction state to an encrypted cookie.

                                                                                        Parameters

                                                                                        • resCookies: ResponseCookies

                                                                                          The response cookies object to set the transaction cookie on

                                                                                        • transactionState: TransactionState

                                                                                          The transaction state to save

                                                                                        • OptionalreqCookies: RequestCookies

                                                                                          Optional request cookies to check for existing transactions. @@ -17,4 +17,4 @@ will check for existing transaction cookies. When omitted, the existence check is skipped for performance optimization.

                                                                                        Returns Promise<void>

                                                                                        When transaction state is missing required state parameter

                                                                                        -
                                                                                      +
                                                                                      diff --git a/docs/enums/errors.AccessTokenErrorCode.html b/docs/enums/errors.AccessTokenErrorCode.html index 5fdbc241..123cef67 100644 --- a/docs/enums/errors.AccessTokenErrorCode.html +++ b/docs/enums/errors.AccessTokenErrorCode.html @@ -1,4 +1,4 @@ -AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.12.1
                                                                                      @auth0/nextjs-auth0 - v4.12.1
                                                                                        Preparing search index...

                                                                                        Enumeration AccessTokenErrorCode

                                                                                        Index

                                                                                        Enumeration Members

                                                                                        FAILED_TO_REFRESH_TOKEN +AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.13.0
                                                                                        @auth0/nextjs-auth0 - v4.13.0
                                                                                          Preparing search index...

                                                                                          Enumeration AccessTokenErrorCode

                                                                                          Index

                                                                                          Enumeration Members

                                                                                          FAILED_TO_REFRESH_TOKEN: "failed_to_refresh_token"
                                                                                          MISSING_REFRESH_TOKEN: "missing_refresh_token"
                                                                                          MISSING_SESSION: "missing_session"
                                                                                          +

                                                                                          Enumeration Members

                                                                                          FAILED_TO_REFRESH_TOKEN: "failed_to_refresh_token"
                                                                                          MISSING_REFRESH_TOKEN: "missing_refresh_token"
                                                                                          MISSING_SESSION: "missing_session"
                                                                                          diff --git a/docs/enums/errors.AccessTokenForConnectionErrorCode.html b/docs/enums/errors.AccessTokenForConnectionErrorCode.html index 267906a5..02b5c5bd 100644 --- a/docs/enums/errors.AccessTokenForConnectionErrorCode.html +++ b/docs/enums/errors.AccessTokenForConnectionErrorCode.html @@ -1,8 +1,8 @@ -AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.12.1
                                                                                          @auth0/nextjs-auth0 - v4.12.1
                                                                                            Preparing search index...

                                                                                            Enumeration AccessTokenForConnectionErrorCode

                                                                                            Enum representing error codes related to access tokens for connections.

                                                                                            -
                                                                                            Index

                                                                                            Enumeration Members

                                                                                            FAILED_TO_EXCHANGE +AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.13.0
                                                                                            @auth0/nextjs-auth0 - v4.13.0
                                                                                              Preparing search index...

                                                                                              Enumeration AccessTokenForConnectionErrorCode

                                                                                              Enum representing error codes related to access tokens for connections.

                                                                                              +
                                                                                              Index

                                                                                              Enumeration Members

                                                                                              FAILED_TO_EXCHANGE: "failed_to_exchange_refresh_token"

                                                                                              Failed to exchange the refresh token.

                                                                                              -
                                                                                              MISSING_REFRESH_TOKEN: "missing_refresh_token"

                                                                                              The refresh token is missing.

                                                                                              -
                                                                                              MISSING_SESSION: "missing_session"

                                                                                              The session is missing.

                                                                                              -
                                                                                              +
                                                                                              MISSING_REFRESH_TOKEN: "missing_refresh_token"

                                                                                              The refresh token is missing.

                                                                                              +
                                                                                              MISSING_SESSION: "missing_session"

                                                                                              The session is missing.

                                                                                              +
                                                                                              diff --git a/docs/enums/errors.ConnectAccountErrorCodes.html b/docs/enums/errors.ConnectAccountErrorCodes.html index 21de133d..22eb6536 100644 --- a/docs/enums/errors.ConnectAccountErrorCodes.html +++ b/docs/enums/errors.ConnectAccountErrorCodes.html @@ -1,8 +1,8 @@ -ConnectAccountErrorCodes | @auth0/nextjs-auth0 - v4.12.1
                                                                                              @auth0/nextjs-auth0 - v4.12.1
                                                                                                Preparing search index...

                                                                                                Enumeration ConnectAccountErrorCodes

                                                                                                Enum representing error codes related to the connect account flow.

                                                                                                -
                                                                                                Index

                                                                                                Enumeration Members

                                                                                                FAILED_TO_COMPLETE +ConnectAccountErrorCodes | @auth0/nextjs-auth0 - v4.13.0
                                                                                                @auth0/nextjs-auth0 - v4.13.0
                                                                                                  Preparing search index...

                                                                                                  Enumeration ConnectAccountErrorCodes

                                                                                                  Enum representing error codes related to the connect account flow.

                                                                                                  +
                                                                                                  Index

                                                                                                  Enumeration Members

                                                                                                  FAILED_TO_COMPLETE: "failed_to_complete"

                                                                                                  Failed to complete the connect account flow.

                                                                                                  -
                                                                                                  FAILED_TO_INITIATE: "failed_to_initiate"

                                                                                                  Failed to initiate the connect account flow.

                                                                                                  -
                                                                                                  MISSING_SESSION: "missing_session"

                                                                                                  The session is missing.

                                                                                                  -
                                                                                                  +
                                                                                                  FAILED_TO_INITIATE: "failed_to_initiate"

                                                                                                  Failed to initiate the connect account flow.

                                                                                                  +
                                                                                                  MISSING_SESSION: "missing_session"

                                                                                                  The session is missing.

                                                                                                  +
                                                                                                  diff --git a/docs/enums/errors.DPoPErrorCode.html b/docs/enums/errors.DPoPErrorCode.html index 70b55f60..7350313e 100644 --- a/docs/enums/errors.DPoPErrorCode.html +++ b/docs/enums/errors.DPoPErrorCode.html @@ -1,16 +1,16 @@ -DPoPErrorCode | @auth0/nextjs-auth0 - v4.12.1
                                                                                                  @auth0/nextjs-auth0 - v4.12.1
                                                                                                    Preparing search index...

                                                                                                    Enumeration DPoPErrorCode

                                                                                                    Error codes for DPoP-related errors.

                                                                                                    +DPoPErrorCode | @auth0/nextjs-auth0 - v4.13.0
                                                                                                    @auth0/nextjs-auth0 - v4.13.0
                                                                                                      Preparing search index...

                                                                                                      Enumeration DPoPErrorCode

                                                                                                      Error codes for DPoP-related errors.

                                                                                                      These error codes categorize different types of failures that can occur during DPoP (Demonstrating Proof-of-Possession) operations.

                                                                                                      -
                                                                                                      Index

                                                                                                      Enumeration Members

                                                                                                      Index

                                                                                                      Enumeration Members

                                                                                                      DPOP_CONFIGURATION_ERROR: "dpop_configuration_error"

                                                                                                      DPoP configuration is invalid or incomplete. This occurs when the provided DPoP configuration contains invalid values or missing required components.

                                                                                                      -
                                                                                                      DPOP_JKT_CALCULATION_FAILED: "dpop_jkt_calculation_failed"

                                                                                                      Failed to calculate dpop_jkt (JWK thumbprint) parameter. +

                                                                                                      DPOP_JKT_CALCULATION_FAILED: "dpop_jkt_calculation_failed"

                                                                                                      Failed to calculate dpop_jkt (JWK thumbprint) parameter. This occurs when the SDK cannot generate the required thumbprint from the provided public key for the authorization request.

                                                                                                      -
                                                                                                      DPOP_KEY_EXPORT_FAILED: "dpop_key_export_failed"

                                                                                                      Failed to export DPoP public key to JWK format. +

                                                                                                      DPOP_KEY_EXPORT_FAILED: "dpop_key_export_failed"

                                                                                                      Failed to export DPoP public key to JWK format. This occurs when the SDK cannot convert the CryptoKey to the JSON Web Key format required for DPoP proofs.

                                                                                                      -
                                                                                                      +
                                                                                                      diff --git a/docs/enums/types.RESPONSE_TYPES.html b/docs/enums/types.RESPONSE_TYPES.html index e767ef1f..2b951885 100644 --- a/docs/enums/types.RESPONSE_TYPES.html +++ b/docs/enums/types.RESPONSE_TYPES.html @@ -1,5 +1,5 @@ -RESPONSE_TYPES | @auth0/nextjs-auth0 - v4.12.1
                                                                                                      @auth0/nextjs-auth0 - v4.12.1
                                                                                                        Preparing search index...

                                                                                                        Enumeration RESPONSE_TYPES

                                                                                                        Index

                                                                                                        Enumeration Members

                                                                                                        CODE +RESPONSE_TYPES | @auth0/nextjs-auth0 - v4.13.0
                                                                                                        @auth0/nextjs-auth0 - v4.13.0
                                                                                                          Preparing search index...

                                                                                                          Enumeration RESPONSE_TYPES

                                                                                                          Index

                                                                                                          Enumeration Members

                                                                                                          Enumeration Members

                                                                                                          CODE: "code"

                                                                                                          Authorization Code flow.

                                                                                                          -
                                                                                                          CONNECT_CODE: "connect_code"

                                                                                                          Connect Account flow.

                                                                                                          -
                                                                                                          +
                                                                                                          CONNECT_CODE: "connect_code"

                                                                                                          Connect Account flow.

                                                                                                          +
                                                                                                          diff --git a/docs/enums/types.SUBJECT_TOKEN_TYPES.html b/docs/enums/types.SUBJECT_TOKEN_TYPES.html index 3c70f19d..dd57ef4d 100644 --- a/docs/enums/types.SUBJECT_TOKEN_TYPES.html +++ b/docs/enums/types.SUBJECT_TOKEN_TYPES.html @@ -1,7 +1,7 @@ -SUBJECT_TOKEN_TYPES | @auth0/nextjs-auth0 - v4.12.1
                                                                                                          @auth0/nextjs-auth0 - v4.12.1
                                                                                                            Preparing search index...

                                                                                                            Enumeration SUBJECT_TOKEN_TYPES

                                                                                                            Index

                                                                                                            Enumeration Members

                                                                                                            SUBJECT_TYPE_ACCESS_TOKEN +SUBJECT_TOKEN_TYPES | @auth0/nextjs-auth0 - v4.13.0
                                                                                                            @auth0/nextjs-auth0 - v4.13.0
                                                                                                              Preparing search index...

                                                                                                              Enumeration SUBJECT_TOKEN_TYPES

                                                                                                              Index

                                                                                                              Enumeration Members

                                                                                                              SUBJECT_TYPE_ACCESS_TOKEN: "urn:ietf:params:oauth:token-type:access_token"

                                                                                                              Indicates that the token is an OAuth 2.0 access token issued by the given authorization server.

                                                                                                              SUBJECT_TYPE_REFRESH_TOKEN: "urn:ietf:params:oauth:token-type:refresh_token"

                                                                                                              Indicates that the token is an OAuth 2.0 refresh token issued by the given authorization server.

                                                                                                              +
                                                                                                              SUBJECT_TYPE_REFRESH_TOKEN: "urn:ietf:params:oauth:token-type:refresh_token"

                                                                                                              Indicates that the token is an OAuth 2.0 refresh token issued by the given authorization server.

                                                                                                              +
                                                                                                              diff --git a/docs/functions/client.Auth0Provider.html b/docs/functions/client.Auth0Provider.html index 67b76f45..0292ef78 100644 --- a/docs/functions/client.Auth0Provider.html +++ b/docs/functions/client.Auth0Provider.html @@ -1 +1 @@ -Auth0Provider | @auth0/nextjs-auth0 - v4.12.1
                                                                                                              @auth0/nextjs-auth0 - v4.12.1
                                                                                                                Preparing search index...

                                                                                                                Function Auth0Provider

                                                                                                                +Auth0Provider | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                @auth0/nextjs-auth0 - v4.13.0
                                                                                                                  Preparing search index...

                                                                                                                  Function Auth0Provider

                                                                                                                  diff --git a/docs/functions/client.getAccessToken.html b/docs/functions/client.getAccessToken.html index bb22c213..98aabe3f 100644 --- a/docs/functions/client.getAccessToken.html +++ b/docs/functions/client.getAccessToken.html @@ -1,6 +1,6 @@ -getAccessToken | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                  @auth0/nextjs-auth0 - v4.12.1
                                                                                                                    Preparing search index...

                                                                                                                    Function getAccessToken

                                                                                                                    diff --git a/docs/functions/client.useUser.html b/docs/functions/client.useUser.html index a26e011a..367073e6 100644 --- a/docs/functions/client.useUser.html +++ b/docs/functions/client.useUser.html @@ -1 +1 @@ -useUser | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                      Preparing search index...

                                                                                                                      Function useUser

                                                                                                                      • Returns
                                                                                                                            | {
                                                                                                                                error: Error;
                                                                                                                                invalidate: () => Promise<User | undefined>;
                                                                                                                                isLoading: boolean;
                                                                                                                                user: null;
                                                                                                                            }
                                                                                                                            | {
                                                                                                                                error: null;
                                                                                                                                invalidate: () => Promise<User | undefined>;
                                                                                                                                isLoading: boolean;
                                                                                                                                user: User;
                                                                                                                            }
                                                                                                                            | {
                                                                                                                                error: undefined;
                                                                                                                                invalidate: () => Promise<User | undefined>;
                                                                                                                                isLoading: boolean;
                                                                                                                                user: undefined;
                                                                                                                            }

                                                                                                                      +useUser | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                        Preparing search index...

                                                                                                                        Function useUser

                                                                                                                        • Returns
                                                                                                                              | {
                                                                                                                                  error: Error;
                                                                                                                                  invalidate: () => Promise<User | undefined>;
                                                                                                                                  isLoading: boolean;
                                                                                                                                  user: null;
                                                                                                                              }
                                                                                                                              | {
                                                                                                                                  error: null;
                                                                                                                                  invalidate: () => Promise<User | undefined>;
                                                                                                                                  isLoading: boolean;
                                                                                                                                  user: User;
                                                                                                                              }
                                                                                                                              | {
                                                                                                                                  error: undefined;
                                                                                                                                  invalidate: () => Promise<User | undefined>;
                                                                                                                                  isLoading: boolean;
                                                                                                                                  user: undefined;
                                                                                                                              }

                                                                                                                        diff --git a/docs/functions/server.filterDefaultIdTokenClaims.html b/docs/functions/server.filterDefaultIdTokenClaims.html index 3f9361e3..2749004e 100644 --- a/docs/functions/server.filterDefaultIdTokenClaims.html +++ b/docs/functions/server.filterDefaultIdTokenClaims.html @@ -1,4 +1,4 @@ -filterDefaultIdTokenClaims | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                          Preparing search index...

                                                                                                                          Function filterDefaultIdTokenClaims

                                                                                                                          • Filters the claims to only include those that are considered default.

                                                                                                                            +filterDefaultIdTokenClaims | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                            @auth0/nextjs-auth0 - v4.13.0
                                                                                                                              Preparing search index...

                                                                                                                              Function filterDefaultIdTokenClaims

                                                                                                                              • Filters the claims to only include those that are considered default.

                                                                                                                                Parameters

                                                                                                                                • claims: { [key: string]: any }

                                                                                                                                  The claims to filter.

                                                                                                                                Returns User

                                                                                                                                The filtered claims containing only default ID token claims.

                                                                                                                                -
                                                                                                                              +
                                                                                                                            diff --git a/docs/functions/testing.generateSessionCookie.html b/docs/functions/testing.generateSessionCookie.html index 7b9423f5..206974ed 100644 --- a/docs/functions/testing.generateSessionCookie.html +++ b/docs/functions/testing.generateSessionCookie.html @@ -1 +1 @@ -generateSessionCookie | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                              Preparing search index...

                                                                                                                              Function generateSessionCookie

                                                                                                                              +generateSessionCookie | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                Preparing search index...

                                                                                                                                Function generateSessionCookie

                                                                                                                                diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 9af309d5..441cf891 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.12.1
                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                  Preparing search index...
                                                                                                                                  +@auth0/nextjs-auth0 - v4.13.0
                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                    Preparing search index...
                                                                                                                                    diff --git a/docs/index.html b/docs/index.html index a17971c5..7b5af2ed 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,4 @@ -@auth0/nextjs-auth0 - v4.12.1
                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                      Preparing search index...

                                                                                                                                      @auth0/nextjs-auth0 - v4.12.1

                                                                                                                                      Auth0 Next.js SDK Banner

                                                                                                                                      +@auth0/nextjs-auth0 - v4.13.0
                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                        Preparing search index...

                                                                                                                                        @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                        Auth0 Next.js SDK Banner

                                                                                                                                        The Auth0 Next.js SDK is a library for implementing user authentication in Next.js applications.

                                                                                                                                        Auth0 Next.js SDK Release Ask DeepWiki @@ -44,13 +44,28 @@

                                                                                                                                        Create a middleware.ts file in the root of your project's directory:

                                                                                                                                        -
                                                                                                                                        import type { NextRequest } from "next/server";

                                                                                                                                        import { auth0 } from "./lib/auth0"; // Adjust path if your auth0 client is elsewhere

                                                                                                                                        export async function middleware(request: NextRequest) {
                                                                                                                                        return await auth0.middleware(request);
                                                                                                                                        }

                                                                                                                                        export const config = {
                                                                                                                                        matcher: [
                                                                                                                                        /*
                                                                                                                                        * Match all request paths except for the ones starting with:
                                                                                                                                        * - _next/static (static files)
                                                                                                                                        * - _next/image (image optimization files)
                                                                                                                                        * - favicon.ico, sitemap.xml, robots.txt (metadata files)
                                                                                                                                        */
                                                                                                                                        "/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)"
                                                                                                                                        ]
                                                                                                                                        }; +

                                                                                                                                        Authentication requests in Next.js are intercepted at the network boundary using a middleware or proxy file.
                                                                                                                                        +Follow the setup below depending on your Next.js version.

                                                                                                                                        +

                                                                                                                                        Create a middleware.ts file in the root of your project:

                                                                                                                                        +
                                                                                                                                        import type { NextRequest } from "next/server";

                                                                                                                                        import { auth0 } from "./lib/auth0"; // Adjust path if your auth0 client is elsewhere

                                                                                                                                        export async function middleware(request: NextRequest) {
                                                                                                                                        return await auth0.middleware(request);
                                                                                                                                        }

                                                                                                                                        export const config = {
                                                                                                                                        matcher: [
                                                                                                                                        /*
                                                                                                                                        * Match all request paths except for:
                                                                                                                                        * - _next/static (static files)
                                                                                                                                        * - _next/image (image optimization files)
                                                                                                                                        * - favicon.ico, sitemap.xml, robots.txt (metadata files)
                                                                                                                                        */
                                                                                                                                        "/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)"
                                                                                                                                        ]
                                                                                                                                        };
                                                                                                                                        Note


                                                                                                                                        If you're using a src/ directory, the middleware.ts file must be created inside the src/ directory.

                                                                                                                                        +

                                                                                                                                        Next.js 16 introduces a new convention called proxy.ts, replacing middleware.ts. +This change better represents the network interception boundary and unifies request handling +for both the Edge and Node runtimes.

                                                                                                                                        +

                                                                                                                                        Create a proxy.ts file in the root of your project (Or rename your existing middleware.ts to proxy.ts):

                                                                                                                                        +
                                                                                                                                        import { auth0 } from "./lib/auth0";

                                                                                                                                        export async function proxy(request: Request) { // Note that proxy uses the standard Request type
                                                                                                                                        return await auth0.middleware(request);
                                                                                                                                        }

                                                                                                                                        export const config = {
                                                                                                                                        matcher: [
                                                                                                                                        "/((?!_next/static|_next/image|favicon.ico|sitemap.xml|robots.txt).*)"
                                                                                                                                        ]
                                                                                                                                        }; +
                                                                                                                                        + +
                                                                                                                                        Important


                                                                                                                                        +Starting with Next.js 16, the recommended file for handling authentication boundaries is proxy.ts. You can still continue using middleware.ts for backward compatibility, it will work under the Edge runtime in Next.js 16. However, it is deprecated for the Node runtime and will be removed in a future release.

                                                                                                                                        +

                                                                                                                                        The new proxy layer also executes slightly earlier in the routing pipeline, so make sure your matcher patterns do not conflict with other proxy or middleware routes.

                                                                                                                                        +

                                                                                                                                        Additionally, the Edge runtime now applies stricter header and cookie validation,
                                                                                                                                        +so avoid setting non-string cookie values or invalid header formats.

                                                                                                                                        +
                                                                                                                                        Important

                                                                                                                                        This broad middleware matcher is essential for rolling sessions and security features. For scenarios when rolling sessions are disabled, see Session Configuration for alternative approaches.

                                                                                                                                        @@ -329,4 +344,4 @@
                                                                                                                                        +

                                                                                                                                        diff --git a/docs/interfaces/client.WithPageAuthRequiredOptions.html b/docs/interfaces/client.WithPageAuthRequiredOptions.html index dfdb6f22..94c4f979 100644 --- a/docs/interfaces/client.WithPageAuthRequiredOptions.html +++ b/docs/interfaces/client.WithPageAuthRequiredOptions.html @@ -1,17 +1,17 @@ -WithPageAuthRequiredOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                          Preparing search index...

                                                                                                                                          Interface WithPageAuthRequiredOptions

                                                                                                                                          Options to customize the withPageAuthRequired higher order component.

                                                                                                                                          -
                                                                                                                                          interface WithPageAuthRequiredOptions {
                                                                                                                                              onError?: (error: Error) => Element;
                                                                                                                                              onRedirecting?: () => Element;
                                                                                                                                              returnTo?: string;
                                                                                                                                          }
                                                                                                                                          Index

                                                                                                                                          Properties

                                                                                                                                          onError? +WithPageAuthRequiredOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                            Preparing search index...

                                                                                                                                            Interface WithPageAuthRequiredOptions

                                                                                                                                            Options to customize the withPageAuthRequired higher order component.

                                                                                                                                            +
                                                                                                                                            interface WithPageAuthRequiredOptions {
                                                                                                                                                onError?: (error: Error) => Element;
                                                                                                                                                onRedirecting?: () => Element;
                                                                                                                                                returnTo?: string;
                                                                                                                                            }
                                                                                                                                            Index

                                                                                                                                            Properties

                                                                                                                                            onError?: (error: Error) => Element
                                                                                                                                            withPageAuthRequired(Profile, {
                                                                                                                                            onError: error => <div>Error: {error.message}</div>
                                                                                                                                            });

                                                                                                                                            Render a fallback in case of error fetching the user from the profile API route.

                                                                                                                                            -
                                                                                                                                            onRedirecting?: () => Element
                                                                                                                                            withPageAuthRequired(Profile, {
                                                                                                                                            onRedirecting: () => <div>Redirecting...</div>
                                                                                                                                            }); +
                                                                                                                                            onRedirecting?: () => Element
                                                                                                                                            withPageAuthRequired(Profile, {
                                                                                                                                            onRedirecting: () => <div>Redirecting...</div>
                                                                                                                                            });

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

                                                                                                                                            -
                                                                                                                                            returnTo?: string
                                                                                                                                            withPageAuthRequired(Profile, {
                                                                                                                                            returnTo: '/profile'
                                                                                                                                            }); +
                                                                                                                                            returnTo?: string
                                                                                                                                            withPageAuthRequired(Profile, {
                                                                                                                                            returnTo: '/profile'
                                                                                                                                            });

                                                                                                                                            Add a path to return the user to after login.

                                                                                                                                            -
                                                                                                                                            +
                                                                                                                                            diff --git a/docs/interfaces/types.AccessTokenForConnectionOptions.html b/docs/interfaces/types.AccessTokenForConnectionOptions.html index 059c3a45..77995f35 100644 --- a/docs/interfaces/types.AccessTokenForConnectionOptions.html +++ b/docs/interfaces/types.AccessTokenForConnectionOptions.html @@ -1,14 +1,14 @@ -AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                              Preparing search index...

                                                                                                                                              Interface AccessTokenForConnectionOptions

                                                                                                                                              Options for retrieving a connection access token.

                                                                                                                                              -
                                                                                                                                              interface AccessTokenForConnectionOptions {
                                                                                                                                                  connection: string;
                                                                                                                                                  login_hint?: string;
                                                                                                                                                  subject_token_type?: SUBJECT_TOKEN_TYPES;
                                                                                                                                              }
                                                                                                                                              Index

                                                                                                                                              Properties

                                                                                                                                              connection +AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                Preparing search index...

                                                                                                                                                Interface AccessTokenForConnectionOptions

                                                                                                                                                Options for retrieving a connection access token.

                                                                                                                                                +
                                                                                                                                                interface AccessTokenForConnectionOptions {
                                                                                                                                                    connection: string;
                                                                                                                                                    login_hint?: string;
                                                                                                                                                    subject_token_type?: SUBJECT_TOKEN_TYPES;
                                                                                                                                                }
                                                                                                                                                Index

                                                                                                                                                Properties

                                                                                                                                                connection: string

                                                                                                                                                The connection name for while you want to retrieve the access token.

                                                                                                                                                -
                                                                                                                                                login_hint?: string

                                                                                                                                                An optional login hint to pass to the authorization server.

                                                                                                                                                -
                                                                                                                                                subject_token_type?: SUBJECT_TOKEN_TYPES

                                                                                                                                                The type of token that is being exchanged.

                                                                                                                                                +
                                                                                                                                                login_hint?: string

                                                                                                                                                An optional login hint to pass to the authorization server.

                                                                                                                                                +
                                                                                                                                                subject_token_type?: SUBJECT_TOKEN_TYPES

                                                                                                                                                The type of token that is being exchanged.

                                                                                                                                                Uses the SUBJECT_TOKEN_TYPES enum with the following allowed values:

                                                                                                                                                • SUBJECT_TYPE_REFRESH_TOKEN: "urn:ietf:params:oauth:token-type:refresh_token"
                                                                                                                                                • SUBJECT_TYPE_ACCESS_TOKEN: "urn:ietf:params:oauth:token-type:access_token"

                                                                                                                                                Defaults to SUBJECT_TYPE_REFRESH_TOKEN.

                                                                                                                                                -
                                                                                                                                                +
                                                                                                                                                diff --git a/docs/interfaces/types.AccessTokenSet.html b/docs/interfaces/types.AccessTokenSet.html index 15cbbe0b..04074cdf 100644 --- a/docs/interfaces/types.AccessTokenSet.html +++ b/docs/interfaces/types.AccessTokenSet.html @@ -1,7 +1,7 @@ -AccessTokenSet | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Interface AccessTokenSet

                                                                                                                                                  interface AccessTokenSet {
                                                                                                                                                      accessToken: string;
                                                                                                                                                      audience: string;
                                                                                                                                                      expiresAt: number;
                                                                                                                                                      requestedScope?: string;
                                                                                                                                                      scope?: string;
                                                                                                                                                      token_type?: string;
                                                                                                                                                  }
                                                                                                                                                  Index

                                                                                                                                                  Properties

                                                                                                                                                  accessToken +AccessTokenSet | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                    Preparing search index...

                                                                                                                                                    Interface AccessTokenSet

                                                                                                                                                    interface AccessTokenSet {
                                                                                                                                                        accessToken: string;
                                                                                                                                                        audience: string;
                                                                                                                                                        expiresAt: number;
                                                                                                                                                        requestedScope?: string;
                                                                                                                                                        scope?: string;
                                                                                                                                                        token_type?: string;
                                                                                                                                                    }
                                                                                                                                                    Index

                                                                                                                                                    Properties

                                                                                                                                                    accessToken: string
                                                                                                                                                    audience: string
                                                                                                                                                    expiresAt: number
                                                                                                                                                    requestedScope?: string
                                                                                                                                                    scope?: string
                                                                                                                                                    token_type?: string
                                                                                                                                                    +

                                                                                                                                                    Properties

                                                                                                                                                    accessToken: string
                                                                                                                                                    audience: string
                                                                                                                                                    expiresAt: number
                                                                                                                                                    requestedScope?: string
                                                                                                                                                    scope?: string
                                                                                                                                                    token_type?: string
                                                                                                                                                    diff --git a/docs/interfaces/types.Auth0ClientOptions.html b/docs/interfaces/types.Auth0ClientOptions.html index e3f760a4..a6f40564 100644 --- a/docs/interfaces/types.Auth0ClientOptions.html +++ b/docs/interfaces/types.Auth0ClientOptions.html @@ -1,4 +1,4 @@ -Auth0ClientOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Interface Auth0ClientOptions

                                                                                                                                                      interface Auth0ClientOptions {
                                                                                                                                                          allowInsecureRequests?: boolean;
                                                                                                                                                          appBaseUrl?: string;
                                                                                                                                                          authorizationParameters?: AuthorizationParameters;
                                                                                                                                                          beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                          clientAssertionSigningAlg?: string;
                                                                                                                                                          clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                          clientId?: string;
                                                                                                                                                          clientSecret?: string;
                                                                                                                                                          domain?: string;
                                                                                                                                                          dpopKeyPair?: DpopKeyPair;
                                                                                                                                                          dpopOptions?: DpopOptions;
                                                                                                                                                          enableAccessTokenEndpoint?: boolean;
                                                                                                                                                          enableConnectAccountEndpoint?: boolean;
                                                                                                                                                          enableParallelTransactions?: boolean;
                                                                                                                                                          enableTelemetry?: boolean;
                                                                                                                                                          httpTimeout?: number;
                                                                                                                                                          includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                          logoutStrategy?: LogoutStrategy;
                                                                                                                                                          noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                          onCallback?: OnCallbackHook;
                                                                                                                                                          pushedAuthorizationRequests?: boolean;
                                                                                                                                                          routes?: Partial<
                                                                                                                                                              Pick<
                                                                                                                                                                  Routes,
                                                                                                                                                                  "login"
                                                                                                                                                                  | "callback"
                                                                                                                                                                  | "logout"
                                                                                                                                                                  | "backChannelLogout"
                                                                                                                                                                  | "connectAccount",
                                                                                                                                                              >,
                                                                                                                                                          >;
                                                                                                                                                          secret?: string;
                                                                                                                                                          session?: SessionConfiguration;
                                                                                                                                                          sessionStore?: SessionDataStore;
                                                                                                                                                          signInReturnToPath?: string;
                                                                                                                                                          transactionCookie?: TransactionCookieOptions;
                                                                                                                                                          useDPoP?: boolean;
                                                                                                                                                      }
                                                                                                                                                      Index

                                                                                                                                                      Properties

                                                                                                                                                      allowInsecureRequests? +Auth0ClientOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                        Preparing search index...

                                                                                                                                                        Interface Auth0ClientOptions

                                                                                                                                                        interface Auth0ClientOptions {
                                                                                                                                                            allowInsecureRequests?: boolean;
                                                                                                                                                            appBaseUrl?: string;
                                                                                                                                                            authorizationParameters?: AuthorizationParameters;
                                                                                                                                                            beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                            clientAssertionSigningAlg?: string;
                                                                                                                                                            clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                            clientId?: string;
                                                                                                                                                            clientSecret?: string;
                                                                                                                                                            domain?: string;
                                                                                                                                                            dpopKeyPair?: DpopKeyPair;
                                                                                                                                                            dpopOptions?: DpopOptions;
                                                                                                                                                            enableAccessTokenEndpoint?: boolean;
                                                                                                                                                            enableConnectAccountEndpoint?: boolean;
                                                                                                                                                            enableParallelTransactions?: boolean;
                                                                                                                                                            enableTelemetry?: boolean;
                                                                                                                                                            httpTimeout?: number;
                                                                                                                                                            includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                            logoutStrategy?: LogoutStrategy;
                                                                                                                                                            noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                            onCallback?: OnCallbackHook;
                                                                                                                                                            pushedAuthorizationRequests?: boolean;
                                                                                                                                                            routes?: Partial<
                                                                                                                                                                Pick<
                                                                                                                                                                    Routes,
                                                                                                                                                                    "login"
                                                                                                                                                                    | "callback"
                                                                                                                                                                    | "logout"
                                                                                                                                                                    | "backChannelLogout"
                                                                                                                                                                    | "connectAccount",
                                                                                                                                                                >,
                                                                                                                                                            >;
                                                                                                                                                            secret?: string;
                                                                                                                                                            session?: SessionConfiguration;
                                                                                                                                                            sessionStore?: SessionDataStore;
                                                                                                                                                            signInReturnToPath?: string;
                                                                                                                                                            transactionCookie?: TransactionCookieOptions;
                                                                                                                                                            useDPoP?: boolean;
                                                                                                                                                        }
                                                                                                                                                        Index

                                                                                                                                                        Properties

                                                                                                                                                        allowInsecureRequests?: boolean

                                                                                                                                                        Allow insecure requests to be made to the authorization server. This can be useful when testing with a mock OIDC provider that does not support TLS, locally. This option can only be used when NODE_ENV is not set to production.

                                                                                                                                                        -
                                                                                                                                                        appBaseUrl?: string

                                                                                                                                                        The URL of your application (e.g.: http://localhost:3000).

                                                                                                                                                        +
                                                                                                                                                        appBaseUrl?: string

                                                                                                                                                        The URL of your application (e.g.: http://localhost:3000).

                                                                                                                                                        If it's not specified, it will be loaded from the APP_BASE_URL environment variable.

                                                                                                                                                        -
                                                                                                                                                        authorizationParameters?: AuthorizationParameters

                                                                                                                                                        Additional parameters to send to the /authorize endpoint.

                                                                                                                                                        -
                                                                                                                                                        beforeSessionSaved?: BeforeSessionSavedHook

                                                                                                                                                        A method to manipulate the session before persisting it.

                                                                                                                                                        +
                                                                                                                                                        authorizationParameters?: AuthorizationParameters

                                                                                                                                                        Additional parameters to send to the /authorize endpoint.

                                                                                                                                                        +
                                                                                                                                                        beforeSessionSaved?: BeforeSessionSavedHook

                                                                                                                                                        A method to manipulate the session before persisting it.

                                                                                                                                                        See beforeSessionSaved for additional details

                                                                                                                                                        -
                                                                                                                                                        clientAssertionSigningAlg?: string

                                                                                                                                                        The algorithm used to sign the client assertion JWT. +

                                                                                                                                                        clientAssertionSigningAlg?: string

                                                                                                                                                        The algorithm used to sign the client assertion JWT. Uses one of token_endpoint_auth_signing_alg_values_supported if not specified. If the Authorization Server discovery document does not list token_endpoint_auth_signing_alg_values_supported this property will be required.

                                                                                                                                                        -
                                                                                                                                                        clientAssertionSigningKey?: string | CryptoKey

                                                                                                                                                        Private key for use with private_key_jwt clients. +

                                                                                                                                                        clientAssertionSigningKey?: string | CryptoKey

                                                                                                                                                        Private key for use with private_key_jwt clients. This should be a string that is the contents of a PEM file or a CryptoKey.

                                                                                                                                                        -
                                                                                                                                                        clientId?: string

                                                                                                                                                        The Auth0 client ID.

                                                                                                                                                        +
                                                                                                                                                        clientId?: string

                                                                                                                                                        The Auth0 client ID.

                                                                                                                                                        If it's not specified, it will be loaded from the AUTH0_CLIENT_ID environment variable.

                                                                                                                                                        -
                                                                                                                                                        clientSecret?: string

                                                                                                                                                        The Auth0 client secret.

                                                                                                                                                        +
                                                                                                                                                        clientSecret?: string

                                                                                                                                                        The Auth0 client secret.

                                                                                                                                                        If it's not specified, it will be loaded from the AUTH0_CLIENT_SECRET environment variable.

                                                                                                                                                        -
                                                                                                                                                        domain?: string

                                                                                                                                                        The Auth0 domain for the tenant (e.g.: example.us.auth0.com).

                                                                                                                                                        +
                                                                                                                                                        domain?: string

                                                                                                                                                        The Auth0 domain for the tenant (e.g.: example.us.auth0.com).

                                                                                                                                                        If it's not specified, it will be loaded from the AUTH0_DOMAIN environment variable.

                                                                                                                                                        -
                                                                                                                                                        dpopKeyPair?: DpopKeyPair

                                                                                                                                                        ES256 key pair for DPoP proof generation.

                                                                                                                                                        +
                                                                                                                                                        dpopKeyPair?: DpopKeyPair

                                                                                                                                                        ES256 key pair for DPoP proof generation.

                                                                                                                                                        If not provided when useDPoP is true, the SDK will attempt to load keys from environment variables AUTH0_DPOP_PUBLIC_KEY and AUTH0_DPOP_PRIVATE_KEY. Keys must be in PEM format and use the P-256 elliptic curve.

                                                                                                                                                        @@ -60,7 +60,7 @@
                                                                                                                                                      • DpopKeyPair for the key pair interface
                                                                                                                                                      • generateDpopKeyPair for generating new key pairs
                                                                                                                                                      • -
                                                                                                                                                        dpopOptions?: DpopOptions

                                                                                                                                                        Configuration options for DPoP timing validation and retry behavior.

                                                                                                                                                        +
                                                                                                                                                        dpopOptions?: DpopOptions

                                                                                                                                                        Configuration options for DPoP timing validation and retry behavior.

                                                                                                                                                        These options control how the SDK validates DPoP proof timing and handles nonce errors. Proper configuration is important for both security and reliability.

                                                                                                                                                        const auth0 = new Auth0Client({
                                                                                                                                                        useDPoP: true,
                                                                                                                                                        dpopOptions: {
                                                                                                                                                        clockTolerance: 60, // Allow 60 seconds clock difference
                                                                                                                                                        clockSkew: 0, // No clock adjustment needed
                                                                                                                                                        retry: {
                                                                                                                                                        delay: 200, // 200ms delay before retry
                                                                                                                                                        jitter: true // Add randomness to prevent thundering herd
                                                                                                                                                        }
                                                                                                                                                        }
                                                                                                                                                        }); @@ -70,17 +70,17 @@

                                                                                                                                                        DpopOptions for detailed option descriptions

                                                                                                                                                        -
                                                                                                                                                        enableAccessTokenEndpoint?: boolean

                                                                                                                                                        Boolean value to enable the /auth/access-token endpoint for use in the client app.

                                                                                                                                                        +
                                                                                                                                                        enableAccessTokenEndpoint?: boolean

                                                                                                                                                        Boolean value to enable the /auth/access-token endpoint for use in the client app.

                                                                                                                                                        Defaults to true.

                                                                                                                                                        NOTE: Set this to false if your client does not need to directly interact with resource servers (Token Mediating Backend). This will be false for most apps.

                                                                                                                                                        A security best practice is to disable this to avoid exposing access tokens to the client app.

                                                                                                                                                        See: https://datatracker.ietf.org/doc/html/draft-ietf-oauth-browser-based-apps#name-token-mediating-backend

                                                                                                                                                        -
                                                                                                                                                        enableConnectAccountEndpoint?: boolean

                                                                                                                                                        If true, the /auth/connect endpoint will be mounted to enable users to connect additional accounts.

                                                                                                                                                        -
                                                                                                                                                        enableParallelTransactions?: boolean
                                                                                                                                                        enableTelemetry?: boolean

                                                                                                                                                        Boolean value to opt-out of sending the library name and version to your authorization server +

                                                                                                                                                        enableConnectAccountEndpoint?: boolean

                                                                                                                                                        If true, the /auth/connect endpoint will be mounted to enable users to connect additional accounts.

                                                                                                                                                        +
                                                                                                                                                        enableParallelTransactions?: boolean
                                                                                                                                                        enableTelemetry?: boolean

                                                                                                                                                        Boolean value to opt-out of sending the library name and version to your authorization server via the Auth0-Client header. Defaults to true.

                                                                                                                                                        -
                                                                                                                                                        httpTimeout?: number

                                                                                                                                                        Integer value for the HTTP timeout in milliseconds for authentication requests. +

                                                                                                                                                        httpTimeout?: number

                                                                                                                                                        Integer value for the HTTP timeout in milliseconds for authentication requests. Defaults to 5000 ms.

                                                                                                                                                        -
                                                                                                                                                        includeIdTokenHintInOIDCLogoutUrl?: boolean

                                                                                                                                                        Configure whether to include id_token_hint in OIDC logout URLs.

                                                                                                                                                        +
                                                                                                                                                        includeIdTokenHintInOIDCLogoutUrl?: boolean

                                                                                                                                                        Configure whether to include id_token_hint in OIDC logout URLs.

                                                                                                                                                        Recommended (default): Set to true to include id_token_hint parameter. Auth0 recommends using id_token_hint for secure logout as per the OIDC specification.

                                                                                                                                                        @@ -91,29 +91,29 @@
                                                                                                                                                        true (recommended and backwards compatible)
                                                                                                                                                         
                                                                                                                                                        -
                                                                                                                                                        logoutStrategy?: LogoutStrategy

                                                                                                                                                        Configure the logout strategy to use.

                                                                                                                                                        +
                                                                                                                                                        logoutStrategy?: LogoutStrategy

                                                                                                                                                        Configure the logout strategy to use.

                                                                                                                                                        • 'auto' (default): Attempts OIDC RP-Initiated Logout first, falls back to /v2/logout if not supported
                                                                                                                                                        • 'oidc': Always uses OIDC RP-Initiated Logout (requires RP-Initiated Logout to be enabled)
                                                                                                                                                        • 'v2': Always uses the Auth0 /v2/logout endpoint (supports wildcards in allowed logout URLs)
                                                                                                                                                        -
                                                                                                                                                        noContentProfileResponseWhenUnauthenticated?: boolean

                                                                                                                                                        If true, the profile endpoint will return a 204 No Content response when the user is not authenticated +

                                                                                                                                                        noContentProfileResponseWhenUnauthenticated?: boolean

                                                                                                                                                        If true, the profile endpoint will return a 204 No Content response when the user is not authenticated instead of returning a 401 Unauthorized response.

                                                                                                                                                        Defaults to false.

                                                                                                                                                        -
                                                                                                                                                        onCallback?: OnCallbackHook

                                                                                                                                                        A method to handle errors or manage redirects after attempting to authenticate.

                                                                                                                                                        +
                                                                                                                                                        onCallback?: OnCallbackHook

                                                                                                                                                        A method to handle errors or manage redirects after attempting to authenticate.

                                                                                                                                                        See onCallback for additional details

                                                                                                                                                        -
                                                                                                                                                        pushedAuthorizationRequests?: boolean

                                                                                                                                                        If enabled, the SDK will use the Pushed Authorization Requests (PAR) protocol when communicating with the authorization server.

                                                                                                                                                        -
                                                                                                                                                        routes?: Partial<
                                                                                                                                                            Pick<
                                                                                                                                                                Routes,
                                                                                                                                                                "login"
                                                                                                                                                                | "callback"
                                                                                                                                                                | "logout"
                                                                                                                                                                | "backChannelLogout"
                                                                                                                                                                | "connectAccount",
                                                                                                                                                            >,
                                                                                                                                                        >

                                                                                                                                                        Configure the paths for the authentication routes.

                                                                                                                                                        +
                                                                                                                                                        pushedAuthorizationRequests?: boolean

                                                                                                                                                        If enabled, the SDK will use the Pushed Authorization Requests (PAR) protocol when communicating with the authorization server.

                                                                                                                                                        +
                                                                                                                                                        routes?: Partial<
                                                                                                                                                            Pick<
                                                                                                                                                                Routes,
                                                                                                                                                                "login"
                                                                                                                                                                | "callback"
                                                                                                                                                                | "logout"
                                                                                                                                                                | "backChannelLogout"
                                                                                                                                                                | "connectAccount",
                                                                                                                                                            >,
                                                                                                                                                        >

                                                                                                                                                        Configure the paths for the authentication routes.

                                                                                                                                                        See Custom routes for additional details.

                                                                                                                                                        -
                                                                                                                                                        secret?: string

                                                                                                                                                        A 32-byte, hex-encoded secret used for encrypting cookies.

                                                                                                                                                        +
                                                                                                                                                        secret?: string

                                                                                                                                                        A 32-byte, hex-encoded secret used for encrypting cookies.

                                                                                                                                                        If it's not specified, it will be loaded from the AUTH0_SECRET environment variable.

                                                                                                                                                        -

                                                                                                                                                        Configure the session timeouts and whether to use rolling sessions or not.

                                                                                                                                                        +

                                                                                                                                                        Configure the session timeouts and whether to use rolling sessions or not.

                                                                                                                                                        See Session configuration for additional details.

                                                                                                                                                        -
                                                                                                                                                        sessionStore?: SessionDataStore

                                                                                                                                                        A custom session store implementation used to persist sessions to a data store.

                                                                                                                                                        +
                                                                                                                                                        sessionStore?: SessionDataStore

                                                                                                                                                        A custom session store implementation used to persist sessions to a data store.

                                                                                                                                                        See Database sessions for additional details.

                                                                                                                                                        -
                                                                                                                                                        signInReturnToPath?: string

                                                                                                                                                        The path to redirect the user to after successfully authenticating. Defaults to /.

                                                                                                                                                        -
                                                                                                                                                        transactionCookie?: TransactionCookieOptions

                                                                                                                                                        Configure the transaction cookie used to store the state of the authentication transaction.

                                                                                                                                                        -
                                                                                                                                                        useDPoP?: boolean

                                                                                                                                                        Enable DPoP (Demonstrating Proof-of-Possession) for enhanced OAuth 2.0 security.

                                                                                                                                                        +
                                                                                                                                                        signInReturnToPath?: string

                                                                                                                                                        The path to redirect the user to after successfully authenticating. Defaults to /.

                                                                                                                                                        +
                                                                                                                                                        transactionCookie?: TransactionCookieOptions

                                                                                                                                                        Configure the transaction cookie used to store the state of the authentication transaction.

                                                                                                                                                        +
                                                                                                                                                        useDPoP?: boolean

                                                                                                                                                        Enable DPoP (Demonstrating Proof-of-Possession) for enhanced OAuth 2.0 security.

                                                                                                                                                        When enabled, the SDK will:

                                                                                                                                                        • Generate DPoP proofs for token requests and protected resource requests
                                                                                                                                                        • @@ -133,4 +133,4 @@
                                                                                                                                                        +
                                                                                                                                                        diff --git a/docs/interfaces/types.AuthClientOptions.html b/docs/interfaces/types.AuthClientOptions.html index 8a2076e3..acde9b9f 100644 --- a/docs/interfaces/types.AuthClientOptions.html +++ b/docs/interfaces/types.AuthClientOptions.html @@ -1,4 +1,4 @@ -AuthClientOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                          Preparing search index...

                                                                                                                                                          Interface AuthClientOptions

                                                                                                                                                          interface AuthClientOptions {
                                                                                                                                                              allowInsecureRequests?: boolean;
                                                                                                                                                              appBaseUrl: string;
                                                                                                                                                              authorizationParameters?: AuthorizationParameters;
                                                                                                                                                              beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                              clientAssertionSigningAlg?: string;
                                                                                                                                                              clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                              clientId: string;
                                                                                                                                                              clientSecret?: string;
                                                                                                                                                              domain: string;
                                                                                                                                                              dpopKeyPair?: DpopKeyPair;
                                                                                                                                                              dpopOptions?: DpopOptions;
                                                                                                                                                              enableAccessTokenEndpoint?: boolean;
                                                                                                                                                              enableConnectAccountEndpoint?: boolean;
                                                                                                                                                              enableTelemetry?: boolean;
                                                                                                                                                              fetch?: {
                                                                                                                                                                  (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                  (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                              };
                                                                                                                                                              httpTimeout?: number;
                                                                                                                                                              includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                              jwksCache?: JWKSCacheInput;
                                                                                                                                                              logoutStrategy?: LogoutStrategy;
                                                                                                                                                              noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                              onCallback?: OnCallbackHook;
                                                                                                                                                              pushedAuthorizationRequests?: boolean;
                                                                                                                                                              routes: Routes;
                                                                                                                                                              secret: string;
                                                                                                                                                              sessionStore: AbstractSessionStore;
                                                                                                                                                              signInReturnToPath?: string;
                                                                                                                                                              transactionStore: TransactionStore;
                                                                                                                                                              useDPoP?: boolean;
                                                                                                                                                          }
                                                                                                                                                          Index

                                                                                                                                                          Properties

                                                                                                                                                          allowInsecureRequests? +AuthClientOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                            Preparing search index...

                                                                                                                                                            Interface AuthClientOptions

                                                                                                                                                            interface AuthClientOptions {
                                                                                                                                                                allowInsecureRequests?: boolean;
                                                                                                                                                                appBaseUrl: string;
                                                                                                                                                                authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                                clientAssertionSigningAlg?: string;
                                                                                                                                                                clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                                clientId: string;
                                                                                                                                                                clientSecret?: string;
                                                                                                                                                                domain: string;
                                                                                                                                                                dpopKeyPair?: DpopKeyPair;
                                                                                                                                                                dpopOptions?: DpopOptions;
                                                                                                                                                                enableAccessTokenEndpoint?: boolean;
                                                                                                                                                                enableConnectAccountEndpoint?: boolean;
                                                                                                                                                                enableTelemetry?: boolean;
                                                                                                                                                                fetch?: {
                                                                                                                                                                    (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                    (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                                };
                                                                                                                                                                httpTimeout?: number;
                                                                                                                                                                includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                                jwksCache?: JWKSCacheInput;
                                                                                                                                                                logoutStrategy?: LogoutStrategy;
                                                                                                                                                                noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                                onCallback?: OnCallbackHook;
                                                                                                                                                                pushedAuthorizationRequests?: boolean;
                                                                                                                                                                routes: Routes;
                                                                                                                                                                secret: string;
                                                                                                                                                                sessionStore: AbstractSessionStore;
                                                                                                                                                                signInReturnToPath?: string;
                                                                                                                                                                transactionStore: TransactionStore;
                                                                                                                                                                useDPoP?: boolean;
                                                                                                                                                            }
                                                                                                                                                            Index

                                                                                                                                                            Properties

                                                                                                                                                            allowInsecureRequests?: boolean
                                                                                                                                                            appBaseUrl: string
                                                                                                                                                            authorizationParameters?: AuthorizationParameters
                                                                                                                                                            beforeSessionSaved?: BeforeSessionSavedHook
                                                                                                                                                            clientAssertionSigningAlg?: string
                                                                                                                                                            clientAssertionSigningKey?: string | CryptoKey
                                                                                                                                                            clientId: string
                                                                                                                                                            clientSecret?: string
                                                                                                                                                            domain: string
                                                                                                                                                            dpopKeyPair?: DpopKeyPair
                                                                                                                                                            dpopOptions?: DpopOptions
                                                                                                                                                            enableAccessTokenEndpoint?: boolean
                                                                                                                                                            enableConnectAccountEndpoint?: boolean
                                                                                                                                                            enableTelemetry?: boolean
                                                                                                                                                            fetch?: {
                                                                                                                                                                (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                            }

                                                                                                                                                            Type Declaration

                                                                                                                                                              • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>

                                                                                                                                                            Properties

                                                                                                                                                            allowInsecureRequests?: boolean
                                                                                                                                                            appBaseUrl: string
                                                                                                                                                            authorizationParameters?: AuthorizationParameters
                                                                                                                                                            beforeSessionSaved?: BeforeSessionSavedHook
                                                                                                                                                            clientAssertionSigningAlg?: string
                                                                                                                                                            clientAssertionSigningKey?: string | CryptoKey
                                                                                                                                                            clientId: string
                                                                                                                                                            clientSecret?: string
                                                                                                                                                            domain: string
                                                                                                                                                            dpopKeyPair?: DpopKeyPair
                                                                                                                                                            dpopOptions?: DpopOptions
                                                                                                                                                            enableAccessTokenEndpoint?: boolean
                                                                                                                                                            enableConnectAccountEndpoint?: boolean
                                                                                                                                                            enableTelemetry?: boolean
                                                                                                                                                            fetch?: {
                                                                                                                                                                (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
                                                                                                                                                                (input: string | Request | URL, init?: RequestInit): Promise<Response>;
                                                                                                                                                            }

                                                                                                                                                            Type Declaration

                                                                                                                                                              • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
                                                                                                                                                              • Parameters

                                                                                                                                                                • input: URL | RequestInfo
                                                                                                                                                                • Optionalinit: RequestInit

                                                                                                                                                                Returns Promise<Response>

                                                                                                                                                              • (input: string | Request | URL, init?: RequestInit): Promise<Response>
                                                                                                                                                              • Parameters

                                                                                                                                                                • input: string | Request | URL
                                                                                                                                                                • Optionalinit: RequestInit

                                                                                                                                                                Returns Promise<Response>

                                                                                                                                                            httpTimeout?: number
                                                                                                                                                            includeIdTokenHintInOIDCLogoutUrl?: boolean
                                                                                                                                                            jwksCache?: JWKSCacheInput
                                                                                                                                                            logoutStrategy?: LogoutStrategy
                                                                                                                                                            noContentProfileResponseWhenUnauthenticated?: boolean
                                                                                                                                                            onCallback?: OnCallbackHook
                                                                                                                                                            pushedAuthorizationRequests?: boolean
                                                                                                                                                            routes: Routes
                                                                                                                                                            secret: string
                                                                                                                                                            sessionStore: AbstractSessionStore
                                                                                                                                                            signInReturnToPath?: string
                                                                                                                                                            transactionStore: TransactionStore
                                                                                                                                                            useDPoP?: boolean
                                                                                                                                                            +

                                                                                                                                                            Parameters

                                                                                                                                                            • input: string | Request | URL
                                                                                                                                                            • Optionalinit: RequestInit

                                                                                                                                                            Returns Promise<Response>

                                                                                                                                                            httpTimeout?: number
                                                                                                                                                            includeIdTokenHintInOIDCLogoutUrl?: boolean
                                                                                                                                                            jwksCache?: JWKSCacheInput
                                                                                                                                                            logoutStrategy?: LogoutStrategy
                                                                                                                                                            noContentProfileResponseWhenUnauthenticated?: boolean
                                                                                                                                                            onCallback?: OnCallbackHook
                                                                                                                                                            pushedAuthorizationRequests?: boolean
                                                                                                                                                            routes: Routes
                                                                                                                                                            secret: string
                                                                                                                                                            sessionStore: AbstractSessionStore
                                                                                                                                                            signInReturnToPath?: string
                                                                                                                                                            transactionStore: TransactionStore
                                                                                                                                                            useDPoP?: boolean
                                                                                                                                                            diff --git a/docs/interfaces/types.AuthorizationDetails.html b/docs/interfaces/types.AuthorizationDetails.html index a666509f..47c0e5c2 100644 --- a/docs/interfaces/types.AuthorizationDetails.html +++ b/docs/interfaces/types.AuthorizationDetails.html @@ -1,2 +1,2 @@ -AuthorizationDetails | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                              Preparing search index...

                                                                                                                                                              Interface AuthorizationDetails

                                                                                                                                                              interface AuthorizationDetails {
                                                                                                                                                                  type: string;
                                                                                                                                                                  readonly [parameter: string]: unknown;
                                                                                                                                                              }

                                                                                                                                                              Indexable

                                                                                                                                                              • readonly [parameter: string]: unknown
                                                                                                                                                              Index

                                                                                                                                                              Properties

                                                                                                                                                              Properties

                                                                                                                                                              type: string
                                                                                                                                                              +AuthorizationDetails | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                Preparing search index...

                                                                                                                                                                Interface AuthorizationDetails

                                                                                                                                                                interface AuthorizationDetails {
                                                                                                                                                                    type: string;
                                                                                                                                                                    readonly [parameter: string]: unknown;
                                                                                                                                                                }

                                                                                                                                                                Indexable

                                                                                                                                                                • readonly [parameter: string]: unknown
                                                                                                                                                                Index

                                                                                                                                                                Properties

                                                                                                                                                                Properties

                                                                                                                                                                type: string
                                                                                                                                                                diff --git a/docs/interfaces/types.AuthorizationParameters.html b/docs/interfaces/types.AuthorizationParameters.html index fae43b67..eee5cbc9 100644 --- a/docs/interfaces/types.AuthorizationParameters.html +++ b/docs/interfaces/types.AuthorizationParameters.html @@ -1,15 +1,15 @@ -AuthorizationParameters | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Interface AuthorizationParameters

                                                                                                                                                                  interface AuthorizationParameters {
                                                                                                                                                                      audience?: string | null;
                                                                                                                                                                      max_age?: number;
                                                                                                                                                                      organization?: string;
                                                                                                                                                                      redirect_uri?: string | null;
                                                                                                                                                                      scope?: string | { [key: string]: string } | null;
                                                                                                                                                                      [key: string]: unknown;
                                                                                                                                                                  }

                                                                                                                                                                  Indexable

                                                                                                                                                                  • [key: string]: unknown

                                                                                                                                                                    Additional authorization parameters.

                                                                                                                                                                    -
                                                                                                                                                                  Index

                                                                                                                                                                  Properties

                                                                                                                                                                  audience? +AuthorizationParameters | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Interface AuthorizationParameters

                                                                                                                                                                    interface AuthorizationParameters {
                                                                                                                                                                        audience?: string | null;
                                                                                                                                                                        max_age?: number;
                                                                                                                                                                        organization?: string;
                                                                                                                                                                        redirect_uri?: string | null;
                                                                                                                                                                        scope?: string | { [key: string]: string } | null;
                                                                                                                                                                        [key: string]: unknown;
                                                                                                                                                                    }

                                                                                                                                                                    Indexable

                                                                                                                                                                    • [key: string]: unknown

                                                                                                                                                                      Additional authorization parameters.

                                                                                                                                                                      +
                                                                                                                                                                    Index

                                                                                                                                                                    Properties

                                                                                                                                                                    audience?: string | null

                                                                                                                                                                    The unique identifier of the target API you want to access.

                                                                                                                                                                    -
                                                                                                                                                                    max_age?: number

                                                                                                                                                                    The maximum amount of time, in seconds, after which a user must reauthenticate.

                                                                                                                                                                    -
                                                                                                                                                                    organization?: string

                                                                                                                                                                    The unique identifier of the organization that the user should be logged into. +

                                                                                                                                                                    max_age?: number

                                                                                                                                                                    The maximum amount of time, in seconds, after which a user must reauthenticate.

                                                                                                                                                                    +
                                                                                                                                                                    organization?: string

                                                                                                                                                                    The unique identifier of the organization that the user should be logged into. When specified, the user will be prompted to log in to this specific organization. The organization ID will be included in the user's session after successful authentication.

                                                                                                                                                                    -
                                                                                                                                                                    redirect_uri?: string | null

                                                                                                                                                                    The URL to which the authorization server will redirect the user after granting authorization.

                                                                                                                                                                    -
                                                                                                                                                                    scope?: string | { [key: string]: string } | null

                                                                                                                                                                    The scope of the access request, expressed as a list of space-delimited, case-sensitive strings. +

                                                                                                                                                                    redirect_uri?: string | null

                                                                                                                                                                    The URL to which the authorization server will redirect the user after granting authorization.

                                                                                                                                                                    +
                                                                                                                                                                    scope?: string | { [key: string]: string } | null

                                                                                                                                                                    The scope of the access request, expressed as a list of space-delimited, case-sensitive strings. Defaults to "openid profile email offline_access".

                                                                                                                                                                    -
                                                                                                                                                                    +
                                                                                                                                                                    diff --git a/docs/interfaces/types.BackchannelAuthenticationOptions.html b/docs/interfaces/types.BackchannelAuthenticationOptions.html index 9ce69a00..89ea217f 100644 --- a/docs/interfaces/types.BackchannelAuthenticationOptions.html +++ b/docs/interfaces/types.BackchannelAuthenticationOptions.html @@ -1,14 +1,14 @@ -BackchannelAuthenticationOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Interface BackchannelAuthenticationOptions

                                                                                                                                                                      interface BackchannelAuthenticationOptions {
                                                                                                                                                                          authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                          authorizationParams?: AuthorizationParameters;
                                                                                                                                                                          bindingMessage: string;
                                                                                                                                                                          loginHint: { sub: string };
                                                                                                                                                                          requestedExpiry?: number;
                                                                                                                                                                      }
                                                                                                                                                                      Index

                                                                                                                                                                      Properties

                                                                                                                                                                      authorizationDetails? +BackchannelAuthenticationOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                        Preparing search index...

                                                                                                                                                                        Interface BackchannelAuthenticationOptions

                                                                                                                                                                        interface BackchannelAuthenticationOptions {
                                                                                                                                                                            authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                            authorizationParams?: AuthorizationParameters;
                                                                                                                                                                            bindingMessage: string;
                                                                                                                                                                            loginHint: { sub: string };
                                                                                                                                                                            requestedExpiry?: number;
                                                                                                                                                                        }
                                                                                                                                                                        Index

                                                                                                                                                                        Properties

                                                                                                                                                                        authorizationDetails?: AuthorizationDetails[]

                                                                                                                                                                        Optional authorization details to use Rich Authorization Requests (RAR).

                                                                                                                                                                        authorizationParams?: AuthorizationParameters

                                                                                                                                                                        Authorization Parameters to be sent with the authorization request.

                                                                                                                                                                        -
                                                                                                                                                                        bindingMessage: string

                                                                                                                                                                        Human-readable message to be displayed at the consumption device and authentication device. +

                                                                                                                                                                        authorizationParams?: AuthorizationParameters

                                                                                                                                                                        Authorization Parameters to be sent with the authorization request.

                                                                                                                                                                        +
                                                                                                                                                                        bindingMessage: string

                                                                                                                                                                        Human-readable message to be displayed at the consumption device and authentication device. This allows the user to ensure the transaction initiated by the consumption device is the same that triggers the action on the authentication device.

                                                                                                                                                                        -
                                                                                                                                                                        loginHint: { sub: string }

                                                                                                                                                                        The login hint to inform which user to use.

                                                                                                                                                                        +
                                                                                                                                                                        loginHint: { sub: string }

                                                                                                                                                                        The login hint to inform which user to use.

                                                                                                                                                                        Type Declaration

                                                                                                                                                                        • sub: string

                                                                                                                                                                          The sub claim of the user that is trying to login using Client-Initiated Backchannel Authentication, and to which a push notification to authorize the login will be sent.

                                                                                                                                                                          -
                                                                                                                                                                        requestedExpiry?: number

                                                                                                                                                                        Set a custom expiry time for the CIBA flow in seconds. Defaults to 300 seconds (5 minutes) if not set.

                                                                                                                                                                        -
                                                                                                                                                                        +
                                                                                                                                                                        requestedExpiry?: number

                                                                                                                                                                        Set a custom expiry time for the CIBA flow in seconds. Defaults to 300 seconds (5 minutes) if not set.

                                                                                                                                                                        +
                                                                                                                                                                        diff --git a/docs/interfaces/types.BackchannelAuthenticationResponse.html b/docs/interfaces/types.BackchannelAuthenticationResponse.html index e1935a11..238ab563 100644 --- a/docs/interfaces/types.BackchannelAuthenticationResponse.html +++ b/docs/interfaces/types.BackchannelAuthenticationResponse.html @@ -1,4 +1,4 @@ -BackchannelAuthenticationResponse | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Interface BackchannelAuthenticationResponse

                                                                                                                                                                          interface BackchannelAuthenticationResponse {
                                                                                                                                                                              authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                              idTokenClaims?: { [key: string]: any };
                                                                                                                                                                              tokenSet: TokenSet;
                                                                                                                                                                          }
                                                                                                                                                                          Index

                                                                                                                                                                          Properties

                                                                                                                                                                          authorizationDetails? +BackchannelAuthenticationResponse | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                            Preparing search index...

                                                                                                                                                                            Interface BackchannelAuthenticationResponse

                                                                                                                                                                            interface BackchannelAuthenticationResponse {
                                                                                                                                                                                authorizationDetails?: AuthorizationDetails[];
                                                                                                                                                                                idTokenClaims?: { [key: string]: any };
                                                                                                                                                                                tokenSet: TokenSet;
                                                                                                                                                                            }
                                                                                                                                                                            Index

                                                                                                                                                                            Properties

                                                                                                                                                                            authorizationDetails?: AuthorizationDetails[]
                                                                                                                                                                            idTokenClaims?: { [key: string]: any }
                                                                                                                                                                            tokenSet: TokenSet
                                                                                                                                                                            +

                                                                                                                                                                            Properties

                                                                                                                                                                            authorizationDetails?: AuthorizationDetails[]
                                                                                                                                                                            idTokenClaims?: { [key: string]: any }
                                                                                                                                                                            tokenSet: TokenSet
                                                                                                                                                                            diff --git a/docs/interfaces/types.ConnectAccountOptions.html b/docs/interfaces/types.ConnectAccountOptions.html index cf025cca..aed875ee 100644 --- a/docs/interfaces/types.ConnectAccountOptions.html +++ b/docs/interfaces/types.ConnectAccountOptions.html @@ -1,9 +1,11 @@ -ConnectAccountOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Interface ConnectAccountOptions

                                                                                                                                                                              Options to initiate a connect account flow using the My Account API.

                                                                                                                                                                              +ConnectAccountOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                Interface ConnectAccountOptions

                                                                                                                                                                                Options to initiate a connect account flow using the My Account API.

                                                                                                                                                                                interface ConnectAccountOptions {
                                                                                                                                                                                    authorizationParams?: AuthorizationParameters;
                                                                                                                                                                                    connection: string;
                                                                                                                                                                                    returnTo?: string;
                                                                                                                                                                                }
                                                                                                                                                                                Index
                                                                                                                                                                                interface ConnectAccountOptions {
                                                                                                                                                                                    authorizationParams?: AuthorizationParameters;
                                                                                                                                                                                    connection: string;
                                                                                                                                                                                    returnTo?: string;
                                                                                                                                                                                    scopes?: string[];
                                                                                                                                                                                }
                                                                                                                                                                                Index

                                                                                                                                                                                Properties

                                                                                                                                                                                authorizationParams?: AuthorizationParameters

                                                                                                                                                                                Authorization parameters to be passed to the authorization server.

                                                                                                                                                                                -
                                                                                                                                                                                connection: string

                                                                                                                                                                                The name of the connection to link the account with (e.g., 'google-oauth2', 'facebook').

                                                                                                                                                                                -
                                                                                                                                                                                returnTo?: string

                                                                                                                                                                                The URL to redirect to after successfully connecting the account.

                                                                                                                                                                                -
                                                                                                                                                                                +
                                                                                                                                                                                connection: string

                                                                                                                                                                                The name of the connection to link the account with (e.g., 'google-oauth2', 'facebook').

                                                                                                                                                                                +
                                                                                                                                                                                returnTo?: string

                                                                                                                                                                                The URL to redirect to after successfully connecting the account.

                                                                                                                                                                                +
                                                                                                                                                                                scopes?: string[]

                                                                                                                                                                                Array of scopes to request from the Identity Provider during the connect account flow.

                                                                                                                                                                                +
                                                                                                                                                                                diff --git a/docs/interfaces/types.ConnectionTokenSet.html b/docs/interfaces/types.ConnectionTokenSet.html index e973d2d7..a9c5c1ed 100644 --- a/docs/interfaces/types.ConnectionTokenSet.html +++ b/docs/interfaces/types.ConnectionTokenSet.html @@ -1,5 +1,5 @@ -ConnectionTokenSet | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Interface ConnectionTokenSet

                                                                                                                                                                                  interface ConnectionTokenSet {
                                                                                                                                                                                      accessToken: string;
                                                                                                                                                                                      connection: string;
                                                                                                                                                                                      expiresAt: number;
                                                                                                                                                                                      scope?: string;
                                                                                                                                                                                      [key: string]: unknown;
                                                                                                                                                                                  }

                                                                                                                                                                                  Indexable

                                                                                                                                                                                  • [key: string]: unknown
                                                                                                                                                                                  Index

                                                                                                                                                                                  Properties

                                                                                                                                                                                  accessToken +ConnectionTokenSet | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                    Interface ConnectionTokenSet

                                                                                                                                                                                    interface ConnectionTokenSet {
                                                                                                                                                                                        accessToken: string;
                                                                                                                                                                                        connection: string;
                                                                                                                                                                                        expiresAt: number;
                                                                                                                                                                                        scope?: string;
                                                                                                                                                                                        [key: string]: unknown;
                                                                                                                                                                                    }

                                                                                                                                                                                    Indexable

                                                                                                                                                                                    • [key: string]: unknown
                                                                                                                                                                                    Index

                                                                                                                                                                                    Properties

                                                                                                                                                                                    accessToken: string
                                                                                                                                                                                    connection: string
                                                                                                                                                                                    expiresAt: number
                                                                                                                                                                                    scope?: string
                                                                                                                                                                                    +

                                                                                                                                                                                    Properties

                                                                                                                                                                                    accessToken: string
                                                                                                                                                                                    connection: string
                                                                                                                                                                                    expiresAt: number
                                                                                                                                                                                    scope?: string
                                                                                                                                                                                    diff --git a/docs/interfaces/types.CookieOptions.html b/docs/interfaces/types.CookieOptions.html index 865a39ec..d5c6bb79 100644 --- a/docs/interfaces/types.CookieOptions.html +++ b/docs/interfaces/types.CookieOptions.html @@ -1,8 +1,8 @@ -CookieOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Interface CookieOptions

                                                                                                                                                                                      interface CookieOptions {
                                                                                                                                                                                          domain?: string;
                                                                                                                                                                                          httpOnly: boolean;
                                                                                                                                                                                          maxAge?: number;
                                                                                                                                                                                          path: string;
                                                                                                                                                                                          sameSite: "lax" | "strict" | "none";
                                                                                                                                                                                          secure: boolean;
                                                                                                                                                                                          transient?: boolean;
                                                                                                                                                                                      }
                                                                                                                                                                                      Index

                                                                                                                                                                                      Properties

                                                                                                                                                                                      domain? +CookieOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                        Interface CookieOptions

                                                                                                                                                                                        interface CookieOptions {
                                                                                                                                                                                            domain?: string;
                                                                                                                                                                                            httpOnly: boolean;
                                                                                                                                                                                            maxAge?: number;
                                                                                                                                                                                            path: string;
                                                                                                                                                                                            sameSite: "lax" | "strict" | "none";
                                                                                                                                                                                            secure: boolean;
                                                                                                                                                                                            transient?: boolean;
                                                                                                                                                                                        }
                                                                                                                                                                                        Index

                                                                                                                                                                                        Properties

                                                                                                                                                                                        domain?: string
                                                                                                                                                                                        httpOnly: boolean
                                                                                                                                                                                        maxAge?: number
                                                                                                                                                                                        path: string
                                                                                                                                                                                        sameSite: "lax" | "strict" | "none"
                                                                                                                                                                                        secure: boolean
                                                                                                                                                                                        transient?: boolean
                                                                                                                                                                                        +

                                                                                                                                                                                        Properties

                                                                                                                                                                                        domain?: string
                                                                                                                                                                                        httpOnly: boolean
                                                                                                                                                                                        maxAge?: number
                                                                                                                                                                                        path: string
                                                                                                                                                                                        sameSite: "lax" | "strict" | "none"
                                                                                                                                                                                        secure: boolean
                                                                                                                                                                                        transient?: boolean
                                                                                                                                                                                        diff --git a/docs/interfaces/types.Routes.html b/docs/interfaces/types.Routes.html index 74ecd065..eb9e931c 100644 --- a/docs/interfaces/types.Routes.html +++ b/docs/interfaces/types.Routes.html @@ -1,8 +1,8 @@ -Routes | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Interface Routes

                                                                                                                                                                                          interface Routes {
                                                                                                                                                                                              accessToken: string;
                                                                                                                                                                                              backChannelLogout: string;
                                                                                                                                                                                              callback: string;
                                                                                                                                                                                              connectAccount: string;
                                                                                                                                                                                              login: string;
                                                                                                                                                                                              logout: string;
                                                                                                                                                                                              profile: string;
                                                                                                                                                                                          }
                                                                                                                                                                                          Index

                                                                                                                                                                                          Properties

                                                                                                                                                                                          accessToken +Routes | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                            Interface Routes

                                                                                                                                                                                            interface Routes {
                                                                                                                                                                                                accessToken: string;
                                                                                                                                                                                                backChannelLogout: string;
                                                                                                                                                                                                callback: string;
                                                                                                                                                                                                connectAccount: string;
                                                                                                                                                                                                login: string;
                                                                                                                                                                                                logout: string;
                                                                                                                                                                                                profile: string;
                                                                                                                                                                                            }
                                                                                                                                                                                            Index

                                                                                                                                                                                            Properties

                                                                                                                                                                                            accessToken: string
                                                                                                                                                                                            backChannelLogout: string
                                                                                                                                                                                            callback: string
                                                                                                                                                                                            connectAccount: string
                                                                                                                                                                                            login: string
                                                                                                                                                                                            logout: string
                                                                                                                                                                                            profile: string
                                                                                                                                                                                            +

                                                                                                                                                                                            Properties

                                                                                                                                                                                            accessToken: string
                                                                                                                                                                                            backChannelLogout: string
                                                                                                                                                                                            callback: string
                                                                                                                                                                                            connectAccount: string
                                                                                                                                                                                            login: string
                                                                                                                                                                                            logout: string
                                                                                                                                                                                            profile: string
                                                                                                                                                                                            diff --git a/docs/interfaces/types.SessionConfiguration.html b/docs/interfaces/types.SessionConfiguration.html index 4db0aba4..b595ddd1 100644 --- a/docs/interfaces/types.SessionConfiguration.html +++ b/docs/interfaces/types.SessionConfiguration.html @@ -1,16 +1,16 @@ -SessionConfiguration | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                              Interface SessionConfiguration

                                                                                                                                                                                              interface SessionConfiguration {
                                                                                                                                                                                                  absoluteDuration?: number;
                                                                                                                                                                                                  cookie?: SessionCookieOptions;
                                                                                                                                                                                                  inactivityDuration?: number;
                                                                                                                                                                                                  rolling?: boolean;
                                                                                                                                                                                              }

                                                                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                                                                              Index

                                                                                                                                                                                              Properties

                                                                                                                                                                                              absoluteDuration? +SessionConfiguration | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                Interface SessionConfiguration

                                                                                                                                                                                                interface SessionConfiguration {
                                                                                                                                                                                                    absoluteDuration?: number;
                                                                                                                                                                                                    cookie?: SessionCookieOptions;
                                                                                                                                                                                                    inactivityDuration?: number;
                                                                                                                                                                                                    rolling?: boolean;
                                                                                                                                                                                                }

                                                                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                                                                Index

                                                                                                                                                                                                Properties

                                                                                                                                                                                                absoluteDuration?: number

                                                                                                                                                                                                The absolute duration after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                Once the absolute duration has been reached, the session will no longer be extended.

                                                                                                                                                                                                Default: 3 days.

                                                                                                                                                                                                -

                                                                                                                                                                                                The options for the session cookie.

                                                                                                                                                                                                -
                                                                                                                                                                                                inactivityDuration?: number

                                                                                                                                                                                                The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                +

                                                                                                                                                                                                The options for the session cookie.

                                                                                                                                                                                                +
                                                                                                                                                                                                inactivityDuration?: number

                                                                                                                                                                                                The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                The session will be extended as long as it was active before the inactivity duration has been reached.

                                                                                                                                                                                                Default: 1 day.

                                                                                                                                                                                                -
                                                                                                                                                                                                rolling?: boolean

                                                                                                                                                                                                A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                +
                                                                                                                                                                                                rolling?: boolean

                                                                                                                                                                                                A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                When enabled, the session will continue to be extended as long as it is used within the inactivity duration. Once the upper bound, set via the absoluteDuration, has been reached, the session will no longer be extended.

                                                                                                                                                                                                Default: true.

                                                                                                                                                                                                -
                                                                                                                                                                                                +
                                                                                                                                                                                                diff --git a/docs/interfaces/types.SessionCookieOptions.html b/docs/interfaces/types.SessionCookieOptions.html index a390192c..8ddf92bb 100644 --- a/docs/interfaces/types.SessionCookieOptions.html +++ b/docs/interfaces/types.SessionCookieOptions.html @@ -1,4 +1,4 @@ -SessionCookieOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Interface SessionCookieOptions

                                                                                                                                                                                                  interface SessionCookieOptions {
                                                                                                                                                                                                      domain?: string;
                                                                                                                                                                                                      name?: string;
                                                                                                                                                                                                      path?: string;
                                                                                                                                                                                                      sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                      secure?: boolean;
                                                                                                                                                                                                      transient?: boolean;
                                                                                                                                                                                                  }
                                                                                                                                                                                                  Index

                                                                                                                                                                                                  Properties

                                                                                                                                                                                                  domain? +SessionCookieOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                    Interface SessionCookieOptions

                                                                                                                                                                                                    interface SessionCookieOptions {
                                                                                                                                                                                                        domain?: string;
                                                                                                                                                                                                        name?: string;
                                                                                                                                                                                                        path?: string;
                                                                                                                                                                                                        sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                        secure?: boolean;
                                                                                                                                                                                                        transient?: boolean;
                                                                                                                                                                                                    }
                                                                                                                                                                                                    Index

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    domain? name? path? sameSite? @@ -7,12 +7,12 @@

                                                                                                                                                                                                    Properties

                                                                                                                                                                                                    domain?: string

                                                                                                                                                                                                    Specifies the value for the Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    name?: string

                                                                                                                                                                                                    The name of the session cookie.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    name?: string

                                                                                                                                                                                                    The name of the session cookie.

                                                                                                                                                                                                    Default: __session.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    path?: string

                                                                                                                                                                                                    The path attribute of the session cookie. Will be set to '/' by default.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                    The sameSite attribute of the session cookie.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    path?: string

                                                                                                                                                                                                    The path attribute of the session cookie. Will be set to '/' by default.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                    The sameSite attribute of the session cookie.

                                                                                                                                                                                                    Default: lax.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    secure?: boolean

                                                                                                                                                                                                    The secure attribute of the session cookie.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    secure?: boolean

                                                                                                                                                                                                    The secure attribute of the session cookie.

                                                                                                                                                                                                    Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    transient?: boolean

                                                                                                                                                                                                    The transient attribute of the session cookie. When true, the cookie will not persist beyond the current session.

                                                                                                                                                                                                    -
                                                                                                                                                                                                    +
                                                                                                                                                                                                    transient?: boolean

                                                                                                                                                                                                    The transient attribute of the session cookie. When true, the cookie will not persist beyond the current session.

                                                                                                                                                                                                    +
                                                                                                                                                                                                    diff --git a/docs/interfaces/types.SessionData.html b/docs/interfaces/types.SessionData.html index 259f59c1..d49f788a 100644 --- a/docs/interfaces/types.SessionData.html +++ b/docs/interfaces/types.SessionData.html @@ -1,6 +1,6 @@ -SessionData | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Interface SessionData

                                                                                                                                                                                                      interface SessionData {
                                                                                                                                                                                                          accessTokens?: AccessTokenSet[];
                                                                                                                                                                                                          connectionTokenSets?: ConnectionTokenSet[];
                                                                                                                                                                                                          internal: { createdAt: number; sid: string };
                                                                                                                                                                                                          tokenSet: TokenSet;
                                                                                                                                                                                                          user: User;
                                                                                                                                                                                                          [key: string]: unknown;
                                                                                                                                                                                                      }

                                                                                                                                                                                                      Indexable

                                                                                                                                                                                                      • [key: string]: unknown
                                                                                                                                                                                                      Index

                                                                                                                                                                                                      Properties

                                                                                                                                                                                                      accessTokens? +SessionData | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                        Interface SessionData

                                                                                                                                                                                                        interface SessionData {
                                                                                                                                                                                                            accessTokens?: AccessTokenSet[];
                                                                                                                                                                                                            connectionTokenSets?: ConnectionTokenSet[];
                                                                                                                                                                                                            internal: { createdAt: number; sid: string };
                                                                                                                                                                                                            tokenSet: TokenSet;
                                                                                                                                                                                                            user: User;
                                                                                                                                                                                                            [key: string]: unknown;
                                                                                                                                                                                                        }

                                                                                                                                                                                                        Indexable

                                                                                                                                                                                                        • [key: string]: unknown
                                                                                                                                                                                                        Index

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        accessTokens?: AccessTokenSet[]
                                                                                                                                                                                                        connectionTokenSets?: ConnectionTokenSet[]
                                                                                                                                                                                                        internal: { createdAt: number; sid: string }
                                                                                                                                                                                                        tokenSet: TokenSet
                                                                                                                                                                                                        user: User
                                                                                                                                                                                                        +

                                                                                                                                                                                                        Properties

                                                                                                                                                                                                        accessTokens?: AccessTokenSet[]
                                                                                                                                                                                                        connectionTokenSets?: ConnectionTokenSet[]
                                                                                                                                                                                                        internal: { createdAt: number; sid: string }
                                                                                                                                                                                                        tokenSet: TokenSet
                                                                                                                                                                                                        user: User
                                                                                                                                                                                                        diff --git a/docs/interfaces/types.SessionDataStore.html b/docs/interfaces/types.SessionDataStore.html index 5e648da1..87c2706b 100644 --- a/docs/interfaces/types.SessionDataStore.html +++ b/docs/interfaces/types.SessionDataStore.html @@ -1,9 +1,9 @@ -SessionDataStore | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                          Interface SessionDataStore

                                                                                                                                                                                                          interface SessionDataStore {
                                                                                                                                                                                                              delete(id: string): Promise<void>;
                                                                                                                                                                                                              deleteByLogoutToken?(logoutToken: LogoutToken): Promise<void>;
                                                                                                                                                                                                              get(id: string): Promise<SessionData | null>;
                                                                                                                                                                                                              set(id: string, session: SessionData): Promise<void>;
                                                                                                                                                                                                          }
                                                                                                                                                                                                          Index

                                                                                                                                                                                                          Methods

                                                                                                                                                                                                          delete +SessionDataStore | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                            Interface SessionDataStore

                                                                                                                                                                                                            interface SessionDataStore {
                                                                                                                                                                                                                delete(id: string): Promise<void>;
                                                                                                                                                                                                                deleteByLogoutToken?(logoutToken: LogoutToken): Promise<void>;
                                                                                                                                                                                                                get(id: string): Promise<SessionData | null>;
                                                                                                                                                                                                                set(id: string, session: SessionData): Promise<void>;
                                                                                                                                                                                                            }
                                                                                                                                                                                                            Index

                                                                                                                                                                                                            Methods

                                                                                                                                                                                                            • Destroys the session with the given session ID.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                              • id: string

                                                                                                                                                                                                              Returns Promise<void>

                                                                                                                                                                                                            • Deletes the session with the given logout token which may contain a session ID or a user ID, or both.

                                                                                                                                                                                                              -

                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                              Returns Promise<void>

                                                                                                                                                                                                            +

                                                                                                                                                                                                            Parameters

                                                                                                                                                                                                            • id: string

                                                                                                                                                                                                            Returns Promise<void>

                                                                                                                                                                                                            • Deletes the session with the given logout token which may contain a session ID or a user ID, or both.

                                                                                                                                                                                                              +

                                                                                                                                                                                                              Parameters

                                                                                                                                                                                                              Returns Promise<void>

                                                                                                                                                                                                            diff --git a/docs/interfaces/types.SessionStoreOptions.html b/docs/interfaces/types.SessionStoreOptions.html index 99ce8e04..dd2581e6 100644 --- a/docs/interfaces/types.SessionStoreOptions.html +++ b/docs/interfaces/types.SessionStoreOptions.html @@ -1,4 +1,4 @@ -SessionStoreOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                              Interface SessionStoreOptions

                                                                                                                                                                                                              interface SessionStoreOptions {
                                                                                                                                                                                                                  absoluteDuration?: number;
                                                                                                                                                                                                                  cookie?: SessionCookieOptions;
                                                                                                                                                                                                                  cookieOptions?: SessionCookieOptions;
                                                                                                                                                                                                                  inactivityDuration?: number;
                                                                                                                                                                                                                  rolling?: boolean;
                                                                                                                                                                                                                  secret: string;
                                                                                                                                                                                                                  store?: SessionDataStore;
                                                                                                                                                                                                              }

                                                                                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                                                                                              Index

                                                                                                                                                                                                              Properties

                                                                                                                                                                                                              absoluteDuration? +SessionStoreOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                Interface SessionStoreOptions

                                                                                                                                                                                                                interface SessionStoreOptions {
                                                                                                                                                                                                                    absoluteDuration?: number;
                                                                                                                                                                                                                    cookie?: SessionCookieOptions;
                                                                                                                                                                                                                    cookieOptions?: SessionCookieOptions;
                                                                                                                                                                                                                    inactivityDuration?: number;
                                                                                                                                                                                                                    rolling?: boolean;
                                                                                                                                                                                                                    secret: string;
                                                                                                                                                                                                                    store?: SessionDataStore;
                                                                                                                                                                                                                }

                                                                                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                                                                                Index

                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                absoluteDuration?: number

                                                                                                                                                                                                                The absolute duration after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                                Once the absolute duration has been reached, the session will no longer be extended.

                                                                                                                                                                                                                Default: 3 days.

                                                                                                                                                                                                                -

                                                                                                                                                                                                                The options for the session cookie.

                                                                                                                                                                                                                -
                                                                                                                                                                                                                cookieOptions?: SessionCookieOptions
                                                                                                                                                                                                                inactivityDuration?: number

                                                                                                                                                                                                                The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                The options for the session cookie.

                                                                                                                                                                                                                +
                                                                                                                                                                                                                cookieOptions?: SessionCookieOptions
                                                                                                                                                                                                                inactivityDuration?: number

                                                                                                                                                                                                                The duration of inactivity after which the session will expire. The value must be specified in seconds.

                                                                                                                                                                                                                The session will be extended as long as it was active before the inactivity duration has been reached.

                                                                                                                                                                                                                Default: 1 day.

                                                                                                                                                                                                                -
                                                                                                                                                                                                                rolling?: boolean

                                                                                                                                                                                                                A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                                +
                                                                                                                                                                                                                rolling?: boolean

                                                                                                                                                                                                                A boolean indicating whether rolling sessions should be used or not.

                                                                                                                                                                                                                When enabled, the session will continue to be extended as long as it is used within the inactivity duration. Once the upper bound, set via the absoluteDuration, has been reached, the session will no longer be extended.

                                                                                                                                                                                                                Default: true.

                                                                                                                                                                                                                -
                                                                                                                                                                                                                secret: string
                                                                                                                                                                                                                +
                                                                                                                                                                                                                secret: string
                                                                                                                                                                                                                diff --git a/docs/interfaces/types.StartInteractiveLoginOptions.html b/docs/interfaces/types.StartInteractiveLoginOptions.html index 49b269b2..17c8f5be 100644 --- a/docs/interfaces/types.StartInteractiveLoginOptions.html +++ b/docs/interfaces/types.StartInteractiveLoginOptions.html @@ -1,5 +1,5 @@ -StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                  Interface StartInteractiveLoginOptions

                                                                                                                                                                                                                  interface StartInteractiveLoginOptions {
                                                                                                                                                                                                                      authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                                                                      returnTo?: string;
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                  authorizationParameters? +StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                    Interface StartInteractiveLoginOptions

                                                                                                                                                                                                                    interface StartInteractiveLoginOptions {
                                                                                                                                                                                                                        authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                                                                        returnTo?: string;
                                                                                                                                                                                                                    }
                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                    authorizationParameters?: AuthorizationParameters

                                                                                                                                                                                                                    Authorization parameters to be passed to the authorization server.

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    returnTo?: string

                                                                                                                                                                                                                    The URL to redirect to after a successful login.

                                                                                                                                                                                                                    -
                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    returnTo?: string

                                                                                                                                                                                                                    The URL to redirect to after a successful login.

                                                                                                                                                                                                                    +
                                                                                                                                                                                                                    diff --git a/docs/interfaces/types.TokenSet.html b/docs/interfaces/types.TokenSet.html index 0c597324..3fbb9fce 100644 --- a/docs/interfaces/types.TokenSet.html +++ b/docs/interfaces/types.TokenSet.html @@ -1,4 +1,4 @@ -TokenSet | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                      Interface TokenSet

                                                                                                                                                                                                                      interface TokenSet {
                                                                                                                                                                                                                          accessToken: string;
                                                                                                                                                                                                                          audience?: string;
                                                                                                                                                                                                                          expiresAt: number;
                                                                                                                                                                                                                          idToken?: string;
                                                                                                                                                                                                                          refreshToken?: string;
                                                                                                                                                                                                                          requestedScope?: string;
                                                                                                                                                                                                                          scope?: string;
                                                                                                                                                                                                                          token_type?: string;
                                                                                                                                                                                                                      }
                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                      accessToken +TokenSet | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                        Interface TokenSet

                                                                                                                                                                                                                        interface TokenSet {
                                                                                                                                                                                                                            accessToken: string;
                                                                                                                                                                                                                            audience?: string;
                                                                                                                                                                                                                            expiresAt: number;
                                                                                                                                                                                                                            idToken?: string;
                                                                                                                                                                                                                            refreshToken?: string;
                                                                                                                                                                                                                            requestedScope?: string;
                                                                                                                                                                                                                            scope?: string;
                                                                                                                                                                                                                            token_type?: string;
                                                                                                                                                                                                                        }
                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                        accessToken: string
                                                                                                                                                                                                                        audience?: string
                                                                                                                                                                                                                        expiresAt: number
                                                                                                                                                                                                                        idToken?: string
                                                                                                                                                                                                                        refreshToken?: string
                                                                                                                                                                                                                        requestedScope?: string
                                                                                                                                                                                                                        scope?: string
                                                                                                                                                                                                                        token_type?: string
                                                                                                                                                                                                                        +

                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                        accessToken: string
                                                                                                                                                                                                                        audience?: string
                                                                                                                                                                                                                        expiresAt: number
                                                                                                                                                                                                                        idToken?: string
                                                                                                                                                                                                                        refreshToken?: string
                                                                                                                                                                                                                        requestedScope?: string
                                                                                                                                                                                                                        scope?: string
                                                                                                                                                                                                                        token_type?: string
                                                                                                                                                                                                                        diff --git a/docs/interfaces/types.TransactionCookieOptions.html b/docs/interfaces/types.TransactionCookieOptions.html index 581fdba8..892afc8d 100644 --- a/docs/interfaces/types.TransactionCookieOptions.html +++ b/docs/interfaces/types.TransactionCookieOptions.html @@ -1,4 +1,4 @@ -TransactionCookieOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                          Interface TransactionCookieOptions

                                                                                                                                                                                                                          interface TransactionCookieOptions {
                                                                                                                                                                                                                              domain?: string;
                                                                                                                                                                                                                              maxAge?: number;
                                                                                                                                                                                                                              path?: string;
                                                                                                                                                                                                                              prefix?: string;
                                                                                                                                                                                                                              sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                                              secure?: boolean;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                          domain? +TransactionCookieOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                            Interface TransactionCookieOptions

                                                                                                                                                                                                                            interface TransactionCookieOptions {
                                                                                                                                                                                                                                domain?: string;
                                                                                                                                                                                                                                maxAge?: number;
                                                                                                                                                                                                                                path?: string;
                                                                                                                                                                                                                                prefix?: string;
                                                                                                                                                                                                                                sameSite?: "lax" | "strict" | "none";
                                                                                                                                                                                                                                secure?: boolean;
                                                                                                                                                                                                                            }
                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                            domain? maxAge? path? prefix? @@ -7,16 +7,16 @@

                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                            domain?: string

                                                                                                                                                                                                                            Specifies the value for the Set-Cookie attribute. By default, no domain is set, and most clients will consider the cookie to apply to only the current domain.

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            maxAge?: number

                                                                                                                                                                                                                            The expiration time for transaction cookies in seconds. +

                                                                                                                                                                                                                            maxAge?: number

                                                                                                                                                                                                                            The expiration time for transaction cookies in seconds. If not provided, defaults to 1 hour (3600 seconds).

                                                                                                                                                                                                                            3600
                                                                                                                                                                                                                             
                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            path?: string

                                                                                                                                                                                                                            The path attribute of the transaction cookie. Will be set to '/' by default.

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            prefix?: string

                                                                                                                                                                                                                            The prefix of the cookie used to store the transaction state.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            path?: string

                                                                                                                                                                                                                            The path attribute of the transaction cookie. Will be set to '/' by default.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            prefix?: string

                                                                                                                                                                                                                            The prefix of the cookie used to store the transaction state.

                                                                                                                                                                                                                            Default: __txn_{state}.

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                                            The sameSite attribute of the transaction cookie.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            sameSite?: "lax" | "strict" | "none"

                                                                                                                                                                                                                            The sameSite attribute of the transaction cookie.

                                                                                                                                                                                                                            Default: lax.

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            secure?: boolean

                                                                                                                                                                                                                            The secure attribute of the transaction cookie.

                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            secure?: boolean

                                                                                                                                                                                                                            The secure attribute of the transaction cookie.

                                                                                                                                                                                                                            Default: depends on the protocol of the application's base URL. If the protocol is https, then true, otherwise false.

                                                                                                                                                                                                                            -
                                                                                                                                                                                                                            +
                                                                                                                                                                                                                            diff --git a/docs/interfaces/types.TransactionState.html b/docs/interfaces/types.TransactionState.html index 6ee70a33..70c213d0 100644 --- a/docs/interfaces/types.TransactionState.html +++ b/docs/interfaces/types.TransactionState.html @@ -1,5 +1,5 @@ -TransactionState | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                              Interface TransactionState

                                                                                                                                                                                                                              interface TransactionState {
                                                                                                                                                                                                                                  audience?: string;
                                                                                                                                                                                                                                  authSession?: string;
                                                                                                                                                                                                                                  codeVerifier: string;
                                                                                                                                                                                                                                  maxAge?: number;
                                                                                                                                                                                                                                  nonce?: string;
                                                                                                                                                                                                                                  responseType: RESPONSE_TYPES;
                                                                                                                                                                                                                                  returnTo: string;
                                                                                                                                                                                                                                  scope?: string;
                                                                                                                                                                                                                                  state: string;
                                                                                                                                                                                                                                  [propName: string]: unknown;
                                                                                                                                                                                                                              }

                                                                                                                                                                                                                              Hierarchy

                                                                                                                                                                                                                              • JWTPayload
                                                                                                                                                                                                                                • TransactionState

                                                                                                                                                                                                                              Indexable

                                                                                                                                                                                                                              • [propName: string]: unknown

                                                                                                                                                                                                                                Any other JWT Claim Set member.

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              audience? +TransactionState | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                Interface TransactionState

                                                                                                                                                                                                                                interface TransactionState {
                                                                                                                                                                                                                                    audience?: string;
                                                                                                                                                                                                                                    authSession?: string;
                                                                                                                                                                                                                                    codeVerifier: string;
                                                                                                                                                                                                                                    maxAge?: number;
                                                                                                                                                                                                                                    nonce?: string;
                                                                                                                                                                                                                                    responseType: RESPONSE_TYPES;
                                                                                                                                                                                                                                    returnTo: string;
                                                                                                                                                                                                                                    scope?: string;
                                                                                                                                                                                                                                    state: string;
                                                                                                                                                                                                                                    [propName: string]: unknown;
                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                Hierarchy

                                                                                                                                                                                                                                • JWTPayload
                                                                                                                                                                                                                                  • TransactionState

                                                                                                                                                                                                                                Indexable

                                                                                                                                                                                                                                • [propName: string]: unknown

                                                                                                                                                                                                                                  Any other JWT Claim Set member.

                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                audience?: string

                                                                                                                                                                                                                                The audience used for this transaction.

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                authSession?: string
                                                                                                                                                                                                                                codeVerifier: string
                                                                                                                                                                                                                                maxAge?: number
                                                                                                                                                                                                                                nonce?: string
                                                                                                                                                                                                                                responseType: RESPONSE_TYPES
                                                                                                                                                                                                                                returnTo: string
                                                                                                                                                                                                                                scope?: string

                                                                                                                                                                                                                                The scope requested for this transaction.

                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                state: string
                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                authSession?: string
                                                                                                                                                                                                                                codeVerifier: string
                                                                                                                                                                                                                                maxAge?: number
                                                                                                                                                                                                                                nonce?: string
                                                                                                                                                                                                                                responseType: RESPONSE_TYPES
                                                                                                                                                                                                                                returnTo: string
                                                                                                                                                                                                                                scope?: string

                                                                                                                                                                                                                                The scope requested for this transaction.

                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                state: string
                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.TransactionStoreOptions.html b/docs/interfaces/types.TransactionStoreOptions.html index 13e49c8b..bc4b1ab4 100644 --- a/docs/interfaces/types.TransactionStoreOptions.html +++ b/docs/interfaces/types.TransactionStoreOptions.html @@ -1,10 +1,10 @@ -TransactionStoreOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                  Interface TransactionStoreOptions

                                                                                                                                                                                                                                  interface TransactionStoreOptions {
                                                                                                                                                                                                                                      cookieOptions?: TransactionCookieOptions;
                                                                                                                                                                                                                                      enableParallelTransactions?: boolean;
                                                                                                                                                                                                                                      secret: string;
                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                  cookieOptions? +TransactionStoreOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                    Interface TransactionStoreOptions

                                                                                                                                                                                                                                    interface TransactionStoreOptions {
                                                                                                                                                                                                                                        cookieOptions?: TransactionCookieOptions;
                                                                                                                                                                                                                                        enableParallelTransactions?: boolean;
                                                                                                                                                                                                                                        secret: string;
                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    cookieOptions?: TransactionCookieOptions
                                                                                                                                                                                                                                    enableParallelTransactions?: boolean

                                                                                                                                                                                                                                    Controls whether multiple parallel login transactions are allowed. +

                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                    cookieOptions?: TransactionCookieOptions
                                                                                                                                                                                                                                    enableParallelTransactions?: boolean

                                                                                                                                                                                                                                    Controls whether multiple parallel login transactions are allowed. When false, only one transaction cookie is maintained at a time. When true (default), multiple transaction cookies can coexist for multi-tab support.

                                                                                                                                                                                                                                    true
                                                                                                                                                                                                                                     
                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                    secret: string
                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                    secret: string
                                                                                                                                                                                                                                    diff --git a/docs/interfaces/types.User.html b/docs/interfaces/types.User.html index 2d6532d4..6617fcc9 100644 --- a/docs/interfaces/types.User.html +++ b/docs/interfaces/types.User.html @@ -1,4 +1,4 @@ -User | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                      Interface User

                                                                                                                                                                                                                                      interface User {
                                                                                                                                                                                                                                          email?: string;
                                                                                                                                                                                                                                          email_verified?: boolean;
                                                                                                                                                                                                                                          family_name?: string;
                                                                                                                                                                                                                                          given_name?: string;
                                                                                                                                                                                                                                          name?: string;
                                                                                                                                                                                                                                          nickname?: string;
                                                                                                                                                                                                                                          org_id?: string;
                                                                                                                                                                                                                                          picture?: string;
                                                                                                                                                                                                                                          sub: string;
                                                                                                                                                                                                                                          [key: string]: any;
                                                                                                                                                                                                                                      }

                                                                                                                                                                                                                                      Indexable

                                                                                                                                                                                                                                      • [key: string]: any
                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                      email? +User | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                        Interface User

                                                                                                                                                                                                                                        interface User {
                                                                                                                                                                                                                                            email?: string;
                                                                                                                                                                                                                                            email_verified?: boolean;
                                                                                                                                                                                                                                            family_name?: string;
                                                                                                                                                                                                                                            given_name?: string;
                                                                                                                                                                                                                                            name?: string;
                                                                                                                                                                                                                                            nickname?: string;
                                                                                                                                                                                                                                            org_id?: string;
                                                                                                                                                                                                                                            picture?: string;
                                                                                                                                                                                                                                            sub: string;
                                                                                                                                                                                                                                            [key: string]: any;
                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                        Indexable

                                                                                                                                                                                                                                        • [key: string]: any
                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                        email?: string
                                                                                                                                                                                                                                        email_verified?: boolean
                                                                                                                                                                                                                                        family_name?: string
                                                                                                                                                                                                                                        given_name?: string
                                                                                                                                                                                                                                        name?: string
                                                                                                                                                                                                                                        nickname?: string
                                                                                                                                                                                                                                        org_id?: string

                                                                                                                                                                                                                                        The organization ID that the user belongs to. +

                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                        email?: string
                                                                                                                                                                                                                                        email_verified?: boolean
                                                                                                                                                                                                                                        family_name?: string
                                                                                                                                                                                                                                        given_name?: string
                                                                                                                                                                                                                                        name?: string
                                                                                                                                                                                                                                        nickname?: string
                                                                                                                                                                                                                                        org_id?: string

                                                                                                                                                                                                                                        The organization ID that the user belongs to. This field is populated when the user logs in through an organization.

                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                        picture?: string
                                                                                                                                                                                                                                        sub: string
                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                        picture?: string
                                                                                                                                                                                                                                        sub: string
                                                                                                                                                                                                                                        diff --git a/docs/modules.html b/docs/modules.html index ba1f0161..cef35c7e 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1

                                                                                                                                                                                                                                            Modules

                                                                                                                                                                                                                                            client
                                                                                                                                                                                                                                            errors
                                                                                                                                                                                                                                            server
                                                                                                                                                                                                                                            testing
                                                                                                                                                                                                                                            types
                                                                                                                                                                                                                                            +@auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                                                                                                                                Modules

                                                                                                                                                                                                                                                client
                                                                                                                                                                                                                                                errors
                                                                                                                                                                                                                                                server
                                                                                                                                                                                                                                                testing
                                                                                                                                                                                                                                                types
                                                                                                                                                                                                                                                diff --git a/docs/modules/client.html b/docs/modules/client.html index bdbb3d40..57f55a07 100644 --- a/docs/modules/client.html +++ b/docs/modules/client.html @@ -1 +1 @@ -client | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                  +client | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                    diff --git a/docs/modules/errors.html b/docs/modules/errors.html index abedc436..9eae5b60 100644 --- a/docs/modules/errors.html +++ b/docs/modules/errors.html @@ -1 +1 @@ -errors | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                      +errors | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                        diff --git a/docs/modules/server.html b/docs/modules/server.html index 3551c6a8..79e740aa 100644 --- a/docs/modules/server.html +++ b/docs/modules/server.html @@ -1 +1 @@ -server | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                          +server | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                            diff --git a/docs/modules/testing.html b/docs/modules/testing.html index 80f7aa8a..e1dfe4f0 100644 --- a/docs/modules/testing.html +++ b/docs/modules/testing.html @@ -1 +1 @@ -testing | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                              +testing | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                diff --git a/docs/modules/types.html b/docs/modules/types.html index c91f592b..09b2eb4e 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -1 +1 @@ -types | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                  +types | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                    diff --git a/docs/types/client.WithPageAuthRequired.html b/docs/types/client.WithPageAuthRequired.html index e89ed82f..c098235e 100644 --- a/docs/types/client.WithPageAuthRequired.html +++ b/docs/types/client.WithPageAuthRequired.html @@ -1,6 +1,6 @@ -WithPageAuthRequired | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                      Type Alias WithPageAuthRequired

                                                                                                                                                                                                                                                                      WithPageAuthRequired: <P extends object>(
                                                                                                                                                                                                                                                                          Component: ComponentType<P & UserProps>,
                                                                                                                                                                                                                                                                          options?: WithPageAuthRequiredOptions,
                                                                                                                                                                                                                                                                      ) => React.FC<P>
                                                                                                                                                                                                                                                                      const MyProtectedPage = withPageAuthRequired(MyPage);
                                                                                                                                                                                                                                                                      +WithPageAuthRequired | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                        Type Alias WithPageAuthRequired

                                                                                                                                                                                                                                                                        WithPageAuthRequired: <P extends object>(
                                                                                                                                                                                                                                                                            Component: ComponentType<P & UserProps>,
                                                                                                                                                                                                                                                                            options?: WithPageAuthRequiredOptions,
                                                                                                                                                                                                                                                                        ) => React.FC<P>
                                                                                                                                                                                                                                                                        const MyProtectedPage = withPageAuthRequired(MyPage);
                                                                                                                                                                                                                                                                         

                                                                                                                                                                                                                                                                        When you wrap your pages in this higher order component and an anonymous user visits your page, they will be redirected to the login page and then returned to the page they were redirected from (after login).

                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                        diff --git a/docs/types/server.AppRouterPageRoute.html b/docs/types/server.AppRouterPageRoute.html index c99ecbf6..e3089a71 100644 --- a/docs/types/server.AppRouterPageRoute.html +++ b/docs/types/server.AppRouterPageRoute.html @@ -1,3 +1,3 @@ -AppRouterPageRoute | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                          Type Alias AppRouterPageRoute

                                                                                                                                                                                                                                                                          AppRouterPageRoute: (obj: AppRouterPageRouteOpts) => Promise<unknown>

                                                                                                                                                                                                                                                                          An app route that has been augmented with WithPageAuthRequired. +AppRouterPageRoute | @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                            Type Alias AppRouterPageRoute

                                                                                                                                                                                                                                                                            AppRouterPageRoute: (obj: AppRouterPageRouteOpts) => Promise<unknown>

                                                                                                                                                                                                                                                                            An app route that has been augmented with WithPageAuthRequired. Returns unknown to avoid React dependency while maintaining type safety.

                                                                                                                                                                                                                                                                            -

                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                            diff --git a/docs/types/server.AppRouterPageRouteOpts.html b/docs/types/server.AppRouterPageRouteOpts.html index 4b556141..ec3a08a1 100644 --- a/docs/types/server.AppRouterPageRouteOpts.html +++ b/docs/types/server.AppRouterPageRouteOpts.html @@ -1,4 +1,4 @@ -AppRouterPageRouteOpts | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                              Type Alias AppRouterPageRouteOpts

                                                                                                                                                                                                                                                                              Objects containing the route parameters and search parameters of the page.

                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                              type AppRouterPageRouteOpts = {
                                                                                                                                                                                                                                                                                  params?: Promise<Record<string, string | string[]>>;
                                                                                                                                                                                                                                                                                  searchParams?: Promise<{ [key: string]: string | string[] | undefined }>;
                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                              params? +AppRouterPageRouteOpts | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                Type Alias AppRouterPageRouteOpts

                                                                                                                                                                                                                                                                                Objects containing the route parameters and search parameters of the page.

                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                type AppRouterPageRouteOpts = {
                                                                                                                                                                                                                                                                                    params?: Promise<Record<string, string | string[]>>;
                                                                                                                                                                                                                                                                                    searchParams?: Promise<{ [key: string]: string | string[] | undefined }>;
                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                params?: Promise<Record<string, string | string[]>>
                                                                                                                                                                                                                                                                                searchParams?: Promise<{ [key: string]: string | string[] | undefined }>
                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                params?: Promise<Record<string, string | string[]>>
                                                                                                                                                                                                                                                                                searchParams?: Promise<{ [key: string]: string | string[] | undefined }>
                                                                                                                                                                                                                                                                                diff --git a/docs/types/server.GetServerSidePropsResultWithSession.html b/docs/types/server.GetServerSidePropsResultWithSession.html index e159203d..221255f1 100644 --- a/docs/types/server.GetServerSidePropsResultWithSession.html +++ b/docs/types/server.GetServerSidePropsResultWithSession.html @@ -1,6 +1,6 @@ -GetServerSidePropsResultWithSession | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                  Type Alias GetServerSidePropsResultWithSession<P>

                                                                                                                                                                                                                                                                                  GetServerSidePropsResultWithSession: GetServerSidePropsResult<
                                                                                                                                                                                                                                                                                      P & { user: User },
                                                                                                                                                                                                                                                                                  >

                                                                                                                                                                                                                                                                                  If you wrap your getServerSideProps with WithPageAuthRequired your props object will be augmented with +GetServerSidePropsResultWithSession | @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                    Type Alias GetServerSidePropsResultWithSession<P>

                                                                                                                                                                                                                                                                                    GetServerSidePropsResultWithSession: GetServerSidePropsResult<
                                                                                                                                                                                                                                                                                        P & { user: User },
                                                                                                                                                                                                                                                                                    >

                                                                                                                                                                                                                                                                                    If you wrap your getServerSideProps with WithPageAuthRequired your props object will be augmented with the user property, which will be the User object.

                                                                                                                                                                                                                                                                                    // pages/profile.js
                                                                                                                                                                                                                                                                                    import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                    export default function Profile({ user }) {
                                                                                                                                                                                                                                                                                    return <div>Hello {user.name}</div>;
                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                    export const getServerSideProps = auth0.withPageAuthRequired();
                                                                                                                                                                                                                                                                                    -

                                                                                                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                                                                                                    • P = any
                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                    Type Parameters

                                                                                                                                                                                                                                                                                    • P = any
                                                                                                                                                                                                                                                                                    diff --git a/docs/types/server.PageRoute.html b/docs/types/server.PageRoute.html index ef64f5d2..e4421605 100644 --- a/docs/types/server.PageRoute.html +++ b/docs/types/server.PageRoute.html @@ -1,2 +1,2 @@ -PageRoute | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                      Type Alias PageRoute<P, Q>

                                                                                                                                                                                                                                                                                      PageRoute: (
                                                                                                                                                                                                                                                                                          ctx: GetServerSidePropsContext<Q>,
                                                                                                                                                                                                                                                                                      ) => Promise<GetServerSidePropsResultWithSession<P>>

                                                                                                                                                                                                                                                                                      A page route that has been augmented with WithPageAuthRequired.

                                                                                                                                                                                                                                                                                      -

                                                                                                                                                                                                                                                                                      Type Parameters

                                                                                                                                                                                                                                                                                      • P
                                                                                                                                                                                                                                                                                      • Q extends ParsedUrlQuery = ParsedUrlQuery

                                                                                                                                                                                                                                                                                      Type Declaration

                                                                                                                                                                                                                                                                                      +PageRoute | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                        Type Alias PageRoute<P, Q>

                                                                                                                                                                                                                                                                                        PageRoute: (
                                                                                                                                                                                                                                                                                            ctx: GetServerSidePropsContext<Q>,
                                                                                                                                                                                                                                                                                        ) => Promise<GetServerSidePropsResultWithSession<P>>

                                                                                                                                                                                                                                                                                        A page route that has been augmented with WithPageAuthRequired.

                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                        Type Parameters

                                                                                                                                                                                                                                                                                        • P
                                                                                                                                                                                                                                                                                        • Q extends ParsedUrlQuery = ParsedUrlQuery

                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                        diff --git a/docs/types/server.WithPageAuthRequired.html b/docs/types/server.WithPageAuthRequired.html index d0d3ea33..cf3e4d11 100644 --- a/docs/types/server.WithPageAuthRequired.html +++ b/docs/types/server.WithPageAuthRequired.html @@ -1,3 +1,3 @@ -WithPageAuthRequired | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                          Type Alias WithPageAuthRequired

                                                                                                                                                                                                                                                                                          Protects Page router pages WithPageAuthRequiredPageRouter or +WithPageAuthRequired | @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                            diff --git a/docs/types/server.WithPageAuthRequiredAppRouter.html b/docs/types/server.WithPageAuthRequiredAppRouter.html index 97b247ba..72b714f1 100644 --- a/docs/types/server.WithPageAuthRequiredAppRouter.html +++ b/docs/types/server.WithPageAuthRequiredAppRouter.html @@ -1,4 +1,4 @@ -WithPageAuthRequiredAppRouter | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                              Type Alias WithPageAuthRequiredAppRouter

                                                                                                                                                                                                                                                                                              WithPageAuthRequiredAppRouter: (
                                                                                                                                                                                                                                                                                                  fn: AppRouterPageRoute,
                                                                                                                                                                                                                                                                                                  opts?: WithPageAuthRequiredAppRouterOptions,
                                                                                                                                                                                                                                                                                              ) => AppRouterPageRoute

                                                                                                                                                                                                                                                                                              Wrap your Server Component with this method to make sure the user is authenticated before +WithPageAuthRequiredAppRouter | @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                Type Alias WithPageAuthRequiredAppRouter

                                                                                                                                                                                                                                                                                                WithPageAuthRequiredAppRouter: (
                                                                                                                                                                                                                                                                                                    fn: AppRouterPageRoute,
                                                                                                                                                                                                                                                                                                    opts?: WithPageAuthRequiredAppRouterOptions,
                                                                                                                                                                                                                                                                                                ) => AppRouterPageRoute

                                                                                                                                                                                                                                                                                                Wrap your Server Component with this method to make sure the user is authenticated before visiting the page.

                                                                                                                                                                                                                                                                                                // app/protected-page/page.js
                                                                                                                                                                                                                                                                                                import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                const ProtectedPage = auth0.withPageAuthRequired(async function ProtectedPage() {
                                                                                                                                                                                                                                                                                                return <div>Protected content</div>;
                                                                                                                                                                                                                                                                                                }, { returnTo: '/protected-page' });

                                                                                                                                                                                                                                                                                                export default ProtectedPage;
                                                                                                                                                                                                                                                                                                @@ -14,4 +14,4 @@
                                                                                                                                                                                                                                                                                                // app/protected-page/[slug]/page.js
                                                                                                                                                                                                                                                                                                import { AppRouterPageRouteOpts } from '@auth0/nextjs-auth0/server';
                                                                                                                                                                                                                                                                                                import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                const ProtectedPage = auth0.withPageAuthRequired(async function ProtectedPage({
                                                                                                                                                                                                                                                                                                params, searchParams
                                                                                                                                                                                                                                                                                                }: AppRouterPageRouteOpts) {
                                                                                                                                                                                                                                                                                                const slug = (await params)?.slug as string;
                                                                                                                                                                                                                                                                                                return <div>Protected content for {slug}</div>;
                                                                                                                                                                                                                                                                                                }, {
                                                                                                                                                                                                                                                                                                returnTo({ params }) {
                                                                                                                                                                                                                                                                                                return `/protected-page/${(await params)?.slug}`;
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                });

                                                                                                                                                                                                                                                                                                export default ProtectedPage;
                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                diff --git a/docs/types/server.WithPageAuthRequiredAppRouterOptions.html b/docs/types/server.WithPageAuthRequiredAppRouterOptions.html index b819b17b..4b541130 100644 --- a/docs/types/server.WithPageAuthRequiredAppRouterOptions.html +++ b/docs/types/server.WithPageAuthRequiredAppRouterOptions.html @@ -1,4 +1,4 @@ -WithPageAuthRequiredAppRouterOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                  Type Alias WithPageAuthRequiredAppRouterOptions

                                                                                                                                                                                                                                                                                                  Specify the URL to returnTo - this is important in app router pages because the server component +WithPageAuthRequiredAppRouterOptions | @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                    Type Alias WithPageAuthRequiredAppRouterOptions

                                                                                                                                                                                                                                                                                                    Specify the URL to returnTo - this is important in app router pages because the server component won't know the URL of the page.

                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                    type WithPageAuthRequiredAppRouterOptions = {
                                                                                                                                                                                                                                                                                                        returnTo?:
                                                                                                                                                                                                                                                                                                            | string
                                                                                                                                                                                                                                                                                                            | ((obj: AppRouterPageRouteOpts) => Promise<string> | string);
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    returnTo?: string | ((obj: AppRouterPageRouteOpts) => Promise<string> | string)
                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                    type WithPageAuthRequiredAppRouterOptions = {
                                                                                                                                                                                                                                                                                                        returnTo?:
                                                                                                                                                                                                                                                                                                            | string
                                                                                                                                                                                                                                                                                                            | ((obj: AppRouterPageRouteOpts) => Promise<string> | string);
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    returnTo?: string | ((obj: AppRouterPageRouteOpts) => Promise<string> | string)
                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/server.WithPageAuthRequiredPageRouter.html b/docs/types/server.WithPageAuthRequiredPageRouter.html index aa63764a..b2b9f6ed 100644 --- a/docs/types/server.WithPageAuthRequiredPageRouter.html +++ b/docs/types/server.WithPageAuthRequiredPageRouter.html @@ -1,8 +1,8 @@ -WithPageAuthRequiredPageRouter | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                      Type Alias WithPageAuthRequiredPageRouter

                                                                                                                                                                                                                                                                                                      WithPageAuthRequiredPageRouter: <
                                                                                                                                                                                                                                                                                                          P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                          Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                      >(
                                                                                                                                                                                                                                                                                                          opts?: WithPageAuthRequiredPageRouterOptions<P, Q>,
                                                                                                                                                                                                                                                                                                      ) => PageRoute<P, Q>

                                                                                                                                                                                                                                                                                                      Wrap your getServerSideProps with this method to make sure the user is authenticated before +WithPageAuthRequiredPageRouter | @auth0/nextjs-auth0 - v4.13.0

                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                        Type Alias WithPageAuthRequiredPageRouter

                                                                                                                                                                                                                                                                                                        WithPageAuthRequiredPageRouter: <
                                                                                                                                                                                                                                                                                                            P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                            Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                        >(
                                                                                                                                                                                                                                                                                                            opts?: WithPageAuthRequiredPageRouterOptions<P, Q>,
                                                                                                                                                                                                                                                                                                        ) => PageRoute<P, Q>

                                                                                                                                                                                                                                                                                                        Wrap your getServerSideProps with this method to make sure the user is authenticated before visiting the page.

                                                                                                                                                                                                                                                                                                        // pages/protected-page.js
                                                                                                                                                                                                                                                                                                        import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                        export default function ProtectedPage() {
                                                                                                                                                                                                                                                                                                        return <div>Protected content</div>;
                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                        export const getServerSideProps = auth0.withPageAuthRequired();

                                                                                                                                                                                                                                                                                                        If the user visits /protected-page without a valid session, it will redirect the user to the login page. Then they will be returned to /protected-page after login.

                                                                                                                                                                                                                                                                                                        -

                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/server.WithPageAuthRequiredPageRouterOptions.html b/docs/types/server.WithPageAuthRequiredPageRouterOptions.html index 2c31abe6..da6897c1 100644 --- a/docs/types/server.WithPageAuthRequiredPageRouterOptions.html +++ b/docs/types/server.WithPageAuthRequiredPageRouterOptions.html @@ -1,10 +1,10 @@ -WithPageAuthRequiredPageRouterOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                          Type Alias WithPageAuthRequiredPageRouterOptions<P, Q>

                                                                                                                                                                                                                                                                                                          If you have a custom returnTo url you should specify it in returnTo.

                                                                                                                                                                                                                                                                                                          +WithPageAuthRequiredPageRouterOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                            Type Alias WithPageAuthRequiredPageRouterOptions<P, Q>

                                                                                                                                                                                                                                                                                                            If you have a custom returnTo url you should specify it in returnTo.

                                                                                                                                                                                                                                                                                                            You can pass in your own getServerSideProps method, the props returned from this will be merged with the user props. You can also access the user session data by calling getSession inside of this method. For example:

                                                                                                                                                                                                                                                                                                            // pages/protected-page.js
                                                                                                                                                                                                                                                                                                            import { auth0 } from "@/lib/auth0";

                                                                                                                                                                                                                                                                                                            export default function ProtectedPage({ user, customProp }) {
                                                                                                                                                                                                                                                                                                            return <div>Protected content</div>;
                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                            export const getServerSideProps = auth0.withPageAuthRequired({
                                                                                                                                                                                                                                                                                                            // returnTo: '/unauthorized',
                                                                                                                                                                                                                                                                                                            async getServerSideProps(ctx) {
                                                                                                                                                                                                                                                                                                            // access the user session if needed
                                                                                                                                                                                                                                                                                                            // const session = await auth0.getSession(ctx.req);
                                                                                                                                                                                                                                                                                                            return {
                                                                                                                                                                                                                                                                                                            props: {
                                                                                                                                                                                                                                                                                                            // customProp: 'bar',
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                            };
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                            type WithPageAuthRequiredPageRouterOptions<
                                                                                                                                                                                                                                                                                                                P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                                Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                            > = {
                                                                                                                                                                                                                                                                                                                getServerSideProps?: GetServerSideProps<P, Q>;
                                                                                                                                                                                                                                                                                                                returnTo?: string;
                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                                                                                                                                            • P extends { [key: string]: any } = { [key: string]: any }
                                                                                                                                                                                                                                                                                                            • Q extends ParsedUrlQuery = ParsedUrlQuery
                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            type WithPageAuthRequiredPageRouterOptions<
                                                                                                                                                                                                                                                                                                                P extends { [key: string]: any } = { [key: string]: any },
                                                                                                                                                                                                                                                                                                                Q extends ParsedUrlQuery = ParsedUrlQuery,
                                                                                                                                                                                                                                                                                                            > = {
                                                                                                                                                                                                                                                                                                                getServerSideProps?: GetServerSideProps<P, Q>;
                                                                                                                                                                                                                                                                                                                returnTo?: string;
                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                            Type Parameters

                                                                                                                                                                                                                                                                                                            • P extends { [key: string]: any } = { [key: string]: any }
                                                                                                                                                                                                                                                                                                            • Q extends ParsedUrlQuery = ParsedUrlQuery
                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            getServerSideProps?: GetServerSideProps<P, Q>
                                                                                                                                                                                                                                                                                                            returnTo?: string
                                                                                                                                                                                                                                                                                                            +

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            getServerSideProps?: GetServerSideProps<P, Q>
                                                                                                                                                                                                                                                                                                            returnTo?: string
                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/testing.GenerateSessionCookieConfig.html b/docs/types/testing.GenerateSessionCookieConfig.html index af976dc2..c54d50dc 100644 --- a/docs/types/testing.GenerateSessionCookieConfig.html +++ b/docs/types/testing.GenerateSessionCookieConfig.html @@ -1,4 +1,4 @@ -GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                              Type Alias GenerateSessionCookieConfig

                                                                                                                                                                                                                                                                                                              type GenerateSessionCookieConfig = {
                                                                                                                                                                                                                                                                                                                  secret: string;
                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                              secret +GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                Type Alias GenerateSessionCookieConfig

                                                                                                                                                                                                                                                                                                                type GenerateSessionCookieConfig = {
                                                                                                                                                                                                                                                                                                                    secret: string;
                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                secret: string

                                                                                                                                                                                                                                                                                                                The secret used to derive an encryption key for the session cookie.

                                                                                                                                                                                                                                                                                                                IMPORTANT: you must use the same value as in the SDK configuration.

                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/types.BeforeSessionSavedHook.html b/docs/types/types.BeforeSessionSavedHook.html index f98d4996..93af20e7 100644 --- a/docs/types/types.BeforeSessionSavedHook.html +++ b/docs/types/types.BeforeSessionSavedHook.html @@ -1 +1 @@ -BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                  Type Alias BeforeSessionSavedHook

                                                                                                                                                                                                                                                                                                                  BeforeSessionSavedHook: (
                                                                                                                                                                                                                                                                                                                      session: SessionData,
                                                                                                                                                                                                                                                                                                                      idToken: string | null,
                                                                                                                                                                                                                                                                                                                  ) => Promise<SessionData>

                                                                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                                                                  +BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                    Type Alias BeforeSessionSavedHook

                                                                                                                                                                                                                                                                                                                    BeforeSessionSavedHook: (
                                                                                                                                                                                                                                                                                                                        session: SessionData,
                                                                                                                                                                                                                                                                                                                        idToken: string | null,
                                                                                                                                                                                                                                                                                                                    ) => Promise<SessionData>

                                                                                                                                                                                                                                                                                                                    Type Declaration

                                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/types.GetAccessTokenOptions.html b/docs/types/types.GetAccessTokenOptions.html index aff26cc8..c5400dc5 100644 --- a/docs/types/types.GetAccessTokenOptions.html +++ b/docs/types/types.GetAccessTokenOptions.html @@ -1,7 +1,7 @@ -GetAccessTokenOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                      Type Alias GetAccessTokenOptions

                                                                                                                                                                                                                                                                                                                      type GetAccessTokenOptions = {
                                                                                                                                                                                                                                                                                                                          audience?: string | null;
                                                                                                                                                                                                                                                                                                                          refresh?: boolean | null;
                                                                                                                                                                                                                                                                                                                          scope?: string | null;
                                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                      audience? +GetAccessTokenOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                        Type Alias GetAccessTokenOptions

                                                                                                                                                                                                                                                                                                                        type GetAccessTokenOptions = {
                                                                                                                                                                                                                                                                                                                            audience?: string | null;
                                                                                                                                                                                                                                                                                                                            refresh?: boolean | null;
                                                                                                                                                                                                                                                                                                                            scope?: string | null;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        audience?: string | null

                                                                                                                                                                                                                                                                                                                        Please note: If you are passing audience, ensure that the used audiences and scopes are part of the Application's Refresh Token Policies in Auth0 when configuring Multi-Resource Refresh Tokens (MRRT). Auth0 Documentation on Multi-resource Refresh Tokens

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        refresh?: boolean | null
                                                                                                                                                                                                                                                                                                                        scope?: string | null
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        refresh?: boolean | null
                                                                                                                                                                                                                                                                                                                        scope?: string | null
                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.LogoutStrategy.html b/docs/types/types.LogoutStrategy.html index 8323a5cb..e4a7795a 100644 --- a/docs/types/types.LogoutStrategy.html +++ b/docs/types/types.LogoutStrategy.html @@ -1,2 +1,2 @@ -LogoutStrategy | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                          Type Alias LogoutStrategy

                                                                                                                                                                                                                                                                                                                          LogoutStrategy: "auto" | "oidc" | "v2"

                                                                                                                                                                                                                                                                                                                          Logout strategy options for controlling logout endpoint selection.

                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                          +LogoutStrategy | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                            Type Alias LogoutStrategy

                                                                                                                                                                                                                                                                                                                            LogoutStrategy: "auto" | "oidc" | "v2"

                                                                                                                                                                                                                                                                                                                            Logout strategy options for controlling logout endpoint selection.

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/types.LogoutToken.html b/docs/types/types.LogoutToken.html index 5980a76c..49bb03c6 100644 --- a/docs/types/types.LogoutToken.html +++ b/docs/types/types.LogoutToken.html @@ -1,3 +1,3 @@ -LogoutToken | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                              Type Alias LogoutToken

                                                                                                                                                                                                                                                                                                                              type LogoutToken = {
                                                                                                                                                                                                                                                                                                                                  sid?: string;
                                                                                                                                                                                                                                                                                                                                  sub?: string;
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                              sid? +LogoutToken | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                Type Alias LogoutToken

                                                                                                                                                                                                                                                                                                                                type LogoutToken = {
                                                                                                                                                                                                                                                                                                                                    sid?: string;
                                                                                                                                                                                                                                                                                                                                    sub?: string;
                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                sid?: string
                                                                                                                                                                                                                                                                                                                                sub?: string
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                sid?: string
                                                                                                                                                                                                                                                                                                                                sub?: string
                                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/types.OnCallbackContext.html b/docs/types/types.OnCallbackContext.html index d66acff0..8797ba84 100644 --- a/docs/types/types.OnCallbackContext.html +++ b/docs/types/types.OnCallbackContext.html @@ -1,8 +1,8 @@ -OnCallbackContext | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                  Type Alias OnCallbackContext

                                                                                                                                                                                                                                                                                                                                  type OnCallbackContext = {
                                                                                                                                                                                                                                                                                                                                      connectedAccount?: CompleteConnectAccountResponse;
                                                                                                                                                                                                                                                                                                                                      responseType?: RESPONSE_TYPES;
                                                                                                                                                                                                                                                                                                                                      returnTo?: string;
                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                  connectedAccount? +OnCallbackContext | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                    Type Alias OnCallbackContext

                                                                                                                                                                                                                                                                                                                                    type OnCallbackContext = {
                                                                                                                                                                                                                                                                                                                                        connectedAccount?: CompleteConnectAccountResponse;
                                                                                                                                                                                                                                                                                                                                        responseType?: RESPONSE_TYPES;
                                                                                                                                                                                                                                                                                                                                        returnTo?: string;
                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                    connectedAccount?: CompleteConnectAccountResponse

                                                                                                                                                                                                                                                                                                                                    The connected account information when the responseType is RESPONSE_TYPES.CONNECT_CODE

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                    responseType?: RESPONSE_TYPES

                                                                                                                                                                                                                                                                                                                                    The type of response expected from the authorization server. +

                                                                                                                                                                                                                                                                                                                                    responseType?: RESPONSE_TYPES

                                                                                                                                                                                                                                                                                                                                    The type of response expected from the authorization server. One of RESPONSE_TYPES

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                    returnTo?: string

                                                                                                                                                                                                                                                                                                                                    The URL or path the user should be redirected to after completing the transaction.

                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    returnTo?: string

                                                                                                                                                                                                                                                                                                                                    The URL or path the user should be redirected to after completing the transaction.

                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/types.OnCallbackHook.html b/docs/types/types.OnCallbackHook.html index 870ac48b..69773fe6 100644 --- a/docs/types/types.OnCallbackHook.html +++ b/docs/types/types.OnCallbackHook.html @@ -1 +1 @@ -OnCallbackHook | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                      Type Alias OnCallbackHook

                                                                                                                                                                                                                                                                                                                                      OnCallbackHook: (
                                                                                                                                                                                                                                                                                                                                          error: SdkError | null,
                                                                                                                                                                                                                                                                                                                                          ctx: OnCallbackContext,
                                                                                                                                                                                                                                                                                                                                          session: SessionData | null,
                                                                                                                                                                                                                                                                                                                                      ) => Promise<NextResponse>

                                                                                                                                                                                                                                                                                                                                      Type Declaration

                                                                                                                                                                                                                                                                                                                                      +OnCallbackHook | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                        Type Alias OnCallbackHook

                                                                                                                                                                                                                                                                                                                                        OnCallbackHook: (
                                                                                                                                                                                                                                                                                                                                            error: SdkError | null,
                                                                                                                                                                                                                                                                                                                                            ctx: OnCallbackContext,
                                                                                                                                                                                                                                                                                                                                            session: SessionData | null,
                                                                                                                                                                                                                                                                                                                                        ) => Promise<NextResponse>

                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.PagesRouterRequest.html b/docs/types/types.PagesRouterRequest.html index 83ca3d71..979de7a0 100644 --- a/docs/types/types.PagesRouterRequest.html +++ b/docs/types/types.PagesRouterRequest.html @@ -1 +1 @@ -PagesRouterRequest | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                          Type Alias PagesRouterRequest

                                                                                                                                                                                                                                                                                                                                          PagesRouterRequest: IncomingMessage | NextApiRequest
                                                                                                                                                                                                                                                                                                                                          +PagesRouterRequest | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                            Type Alias PagesRouterRequest

                                                                                                                                                                                                                                                                                                                                            PagesRouterRequest: IncomingMessage | NextApiRequest
                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/types.PagesRouterResponse.html b/docs/types/types.PagesRouterResponse.html index 6efdc517..0d6ea39c 100644 --- a/docs/types/types.PagesRouterResponse.html +++ b/docs/types/types.PagesRouterResponse.html @@ -1 +1 @@ -PagesRouterResponse | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                              Type Alias PagesRouterResponse

                                                                                                                                                                                                                                                                                                                                              PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
                                                                                                                                                                                                                                                                                                                                              +PagesRouterResponse | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                Type Alias PagesRouterResponse

                                                                                                                                                                                                                                                                                                                                                PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/types.ProxyOptions.html b/docs/types/types.ProxyOptions.html index 3f76fc32..ece98d69 100644 --- a/docs/types/types.ProxyOptions.html +++ b/docs/types/types.ProxyOptions.html @@ -1,5 +1,5 @@ -ProxyOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                  Type Alias ProxyOptions

                                                                                                                                                                                                                                                                                                                                                  type ProxyOptions = {
                                                                                                                                                                                                                                                                                                                                                      audience: string;
                                                                                                                                                                                                                                                                                                                                                      proxyPath: string;
                                                                                                                                                                                                                                                                                                                                                      scope: string | null;
                                                                                                                                                                                                                                                                                                                                                      targetBaseUrl: string;
                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                                                                  audience +ProxyOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                    Type Alias ProxyOptions

                                                                                                                                                                                                                                                                                                                                                    type ProxyOptions = {
                                                                                                                                                                                                                                                                                                                                                        audience: string;
                                                                                                                                                                                                                                                                                                                                                        proxyPath: string;
                                                                                                                                                                                                                                                                                                                                                        scope: string | null;
                                                                                                                                                                                                                                                                                                                                                        targetBaseUrl: string;
                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                    audience: string
                                                                                                                                                                                                                                                                                                                                                    proxyPath: string
                                                                                                                                                                                                                                                                                                                                                    scope: string | null
                                                                                                                                                                                                                                                                                                                                                    targetBaseUrl: string
                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                    audience: string
                                                                                                                                                                                                                                                                                                                                                    proxyPath: string
                                                                                                                                                                                                                                                                                                                                                    scope: string | null
                                                                                                                                                                                                                                                                                                                                                    targetBaseUrl: string
                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/types.ReadonlyRequestCookies.html b/docs/types/types.ReadonlyRequestCookies.html index fe391775..81d43bf6 100644 --- a/docs/types/types.ReadonlyRequestCookies.html +++ b/docs/types/types.ReadonlyRequestCookies.html @@ -1 +1 @@ -ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                      Type Alias ReadonlyRequestCookies

                                                                                                                                                                                                                                                                                                                                                      ReadonlyRequestCookies: Omit<RequestCookies, "set" | "clear" | "delete"> & Pick<
                                                                                                                                                                                                                                                                                                                                                          ResponseCookies,
                                                                                                                                                                                                                                                                                                                                                          "set"
                                                                                                                                                                                                                                                                                                                                                          | "delete",
                                                                                                                                                                                                                                                                                                                                                      >
                                                                                                                                                                                                                                                                                                                                                      +ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                        Type Alias ReadonlyRequestCookies

                                                                                                                                                                                                                                                                                                                                                        ReadonlyRequestCookies: Omit<RequestCookies, "set" | "clear" | "delete"> & Pick<
                                                                                                                                                                                                                                                                                                                                                            ResponseCookies,
                                                                                                                                                                                                                                                                                                                                                            "set"
                                                                                                                                                                                                                                                                                                                                                            | "delete",
                                                                                                                                                                                                                                                                                                                                                        >
                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.RoutesOptions.html b/docs/types/types.RoutesOptions.html index 8ed57014..08caed89 100644 --- a/docs/types/types.RoutesOptions.html +++ b/docs/types/types.RoutesOptions.html @@ -1 +1 @@ -RoutesOptions | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                          Type Alias RoutesOptions

                                                                                                                                                                                                                                                                                                                                                          RoutesOptions: Partial<
                                                                                                                                                                                                                                                                                                                                                              Pick<
                                                                                                                                                                                                                                                                                                                                                                  Routes,
                                                                                                                                                                                                                                                                                                                                                                  "login"
                                                                                                                                                                                                                                                                                                                                                                  | "callback"
                                                                                                                                                                                                                                                                                                                                                                  | "logout"
                                                                                                                                                                                                                                                                                                                                                                  | "backChannelLogout"
                                                                                                                                                                                                                                                                                                                                                                  | "connectAccount",
                                                                                                                                                                                                                                                                                                                                                              >,
                                                                                                                                                                                                                                                                                                                                                          >
                                                                                                                                                                                                                                                                                                                                                          +RoutesOptions | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                            Type Alias RoutesOptions

                                                                                                                                                                                                                                                                                                                                                            RoutesOptions: Partial<
                                                                                                                                                                                                                                                                                                                                                                Pick<
                                                                                                                                                                                                                                                                                                                                                                    Routes,
                                                                                                                                                                                                                                                                                                                                                                    "login"
                                                                                                                                                                                                                                                                                                                                                                    | "callback"
                                                                                                                                                                                                                                                                                                                                                                    | "logout"
                                                                                                                                                                                                                                                                                                                                                                    | "backChannelLogout"
                                                                                                                                                                                                                                                                                                                                                                    | "connectAccount",
                                                                                                                                                                                                                                                                                                                                                                >,
                                                                                                                                                                                                                                                                                                                                                            >
                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/variables/client.withPageAuthRequired.html b/docs/variables/client.withPageAuthRequired.html index e6a6026f..e8e35ec8 100644 --- a/docs/variables/client.withPageAuthRequired.html +++ b/docs/variables/client.withPageAuthRequired.html @@ -1 +1 @@ -withPageAuthRequired | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                              Variable withPageAuthRequiredConst

                                                                                                                                                                                                                                                                                                                                                              withPageAuthRequired: WithPageAuthRequired = ...
                                                                                                                                                                                                                                                                                                                                                              +withPageAuthRequired | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                Variable withPageAuthRequiredConst

                                                                                                                                                                                                                                                                                                                                                                withPageAuthRequired: WithPageAuthRequired = ...
                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html b/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html index 68d478ab..0f04c42e 100644 --- a/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html +++ b/docs/variables/server.DEFAULT_ID_TOKEN_CLAIMS.html @@ -1,2 +1,2 @@ -DEFAULT_ID_TOKEN_CLAIMS | @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.12.1
                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                  Variable DEFAULT_ID_TOKEN_CLAIMSConst

                                                                                                                                                                                                                                                                                                                                                                  DEFAULT_ID_TOKEN_CLAIMS: string[] = ...

                                                                                                                                                                                                                                                                                                                                                                  Default claims for the ID token.

                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                  +DEFAULT_ID_TOKEN_CLAIMS | @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.13.0
                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                    Variable DEFAULT_ID_TOKEN_CLAIMSConst

                                                                                                                                                                                                                                                                                                                                                                    DEFAULT_ID_TOKEN_CLAIMS: string[] = ...

                                                                                                                                                                                                                                                                                                                                                                    Default claims for the ID token.

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    diff --git a/package.json b/package.json index 03dc3fe7..8397d93e 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "4.12.1", + "version": "4.13.0", "description": "Auth0 Next.js SDK", "type": "module", "scripts": {