diff --git a/.version b/.version index 5a74a2876..b4abc5014 100644 --- a/.version +++ b/.version @@ -1 +1 @@ -v4.18.0 +v4.19.0 diff --git a/CHANGELOG.md b/CHANGELOG.md index 9dcd00dc2..5292dca5e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,15 @@ # Change Log +## [v4.19.0](https://github.com/auth0/nextjs-auth0/tree/v4.19.0) (2026-04-22) +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.18.0...v4.19.0) + +**Added** +- feat: add mfa.stepUpWithPopup() for reactive MFA step-up via Universal Login [\#2524](https://github.com/auth0/nextjs-auth0/pull/2524) ([tusharpandey13](https://github.com/tusharpandey13)) + +**Fixed** +- fix: MFA http contract parity fixes [\#2555](https://github.com/auth0/nextjs-auth0/pull/2555) ([tusharpandey13](https://github.com/tusharpandey13)) +- fix: skip MCD session backfill in static mode [\#2618](https://github.com/auth0/nextjs-auth0/pull/2618) ([tusharpandey13](https://github.com/tusharpandey13)) + ## [v4.18.0](https://github.com/auth0/nextjs-auth0/tree/v4.18.0) (2026-04-17) [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v4.17.1...v4.18.0) diff --git a/docs/assets/hierarchy.js b/docs/assets/hierarchy.js index 8329097cd..8946d20f1 100644 --- a/docs/assets/hierarchy.js +++ b/docs/assets/hierarchy.js @@ -1 +1 @@ -window.hierarchyData = "eJyll0tP4zAURv+L1xdI7CZ2uuM5QhoeoiNmgViY1KUWqd2xHTQM4r+PQgtym1S5gUVVqfXnc+wk9zqvxFkbPBnf8ZwBpTkwkdwDcWpWqTJoazwZvxJK8+bLyIUiYzJR3mtrjq2Z6cfayWYYAfKkzZSMaZYDqV1FxkSboNxMlsofhJel8vtdwf15WFQESFlJ78mYBD/da2ba+0w3f851NXXKkPEdZeL+DQhlom00Cdapq+VKe4BQnEP4vAFhIonwt8rp2cvFTK7nOJJeofhdwaEbwgQFJjJgorh/N6NdZr91mF+F5ZDN2ZHFblC2U8M+fF3jM4vVKHZp3KjSPiv3cmyng+6ZvklwYjljkdjFTN6oP7V2anrqnHWfIikVHyLv8yl/4JV7Vm5/O7ITu/qhQWZbyF/2SZnTv8uB2FYMg+Yd6HPzLCs9GB3H+tGcxoXixC6kNjfK26purhaW3ZlDwFnWgt828nI4fCuHgI/iGnXufa3ccHhnDgPvqM+rhVxov5ChnGMNdocRGnl8z0+mT71Q1Qzw+x9DexAblThnDPKs+XDgVABnGfBRAnwkgOcCOM+BixS4yIEXKfAiB5FkINIERFqAoCMQVIBgOYiRAJEnIDgDITIoUgpFkUCaJMn9+8Li/b06rMOcYtcWjUbsII9b/4n2q4KHZW0GEDiRxpVCe6/N4yTIoLDEVgYDjde4ri+DoK0MAlqkbejG0WggvJ3FSMQrb+4L6/S/QfR2qB8rkmwXtumkP5w0oeluyocvaXROgtBKk16t7/mgReJjy5Esn8q5NEZVP+2jrdEO3UEEno668c2ilAm6fF/VpQ2Term0LiDOD22lnskwmgKj+W01rA7beJbKUnm/Oithb5mtCAK50WWj/Jl1x9aY1SvcF/jtPEImj5+e49oHu1ifFZttfUQX011RhAKP2/3Jtb1G96mPsQjIxqvNxcthWdrahMOlRreo7Uw/tEjj17r1tVnPgt7XdgoBLpLNo/ulPXyWupIPlTqTZbDOo5e9M9yv0Zx72u1yYI/oSPWR397+A0YH0wk=" \ No newline at end of file +window.hierarchyData = "eJyll01P4zAQhv9LzoZtPprE3KDACmmBiiL2sOJgUre1mtpZ20GwiP++47Ygt0mVCRwcR41fP+84zoz7FmilrAlO/uRxQqJkSJIoeySB5rOSF1YoCc/eAnjgOslWPDgJJtwYeDJScibmtWZuWECCpZDT4CQapiSodQnjhLRcz1jBzQ/7WnFz3CY8XthVCeqiZAZYgTXTIzfT0afaPVyIcqq5BJ/RMHt8JwF0TUcTqzS/rTa2exjydQg/gIdV8vAPXIvZ6/WMbec4Y4aj+G3CvguSRJQkcQQtfVw7o23Ofgu7uLVVn8U5oEUuUBwdtKGevm7jU4u1kR6ycccL9cz160hNe+2ZrklwxrJB4hmD2e7431poPr3QWulPI2GUfxhZzwcuDNdAPN6XHMRufnDIaA95r5ZcXrxUPbENGQadt6Cv5DMrRW+0L0Ogqf89nKsVE/KOG1XW7m1h2a26bng+SBvwB2ee9Yfv6RDwMPTgV8bUXPeHt+owcNrMz5tAroVZMVsssA4OixE2Yn/PT6bLTih3A6AybId2IHYyMXzTBD4yaDmBbUfg7RN4CdDgPoaWZCQfRtCgT6FPoc9gTA5j6ADaEBoldJARChoah4QmCaGQjWgek3CQhnDJ3CVP4ULdHYW7cBC6y7oAAMkL+fa0tosIG7U3GrG2iV8Dz4XZpEIsa1eAwA39igL7wAg5n1hmOZbY0GCgfozbzNML2tAgoGnUhO4cmnrCm1qMCT9yty+UFv960ZsiBDZLD2Fdjf2pmbSu7nFjv2SjdRKErTzstPU9P1gjdOAZOWPFslgwKXn5S81VjfbQLsTgh+14FxSXVhTrqG6UndRVpbRFnCyaljomw9ikGJvftoa0Awnd3z0FHCbN5hSF3TJ7EgRyp/56+kulIR3IzZ+7L/CbeoSZ2P96RrWxarU9RbplnaOT6SEpwkLiHwTOx2qMrlMfYxGQoZ+8rl9h2VQt7Wkl0CVqX4OA5rG/uJt3s50Fva5NVTfYHUd2T/U36vSZiZI9lfySFfCn2qDjPijG+MjCZr3sWSRaVBhy7r/wsarq6qxUxRKf9RoaDJWG+9QRkwUvy57cXRWK3Ij3Xqx4j8LT0CCocLrdp17JsVZzDUmpF3hPhmL7EV+88KLelG34M/+CjrpV10V/f/8PDT2nww==" \ No newline at end of file diff --git a/docs/assets/icons.js b/docs/assets/icons.js index 3ae8f55e5..58882d76d 100644 --- a/docs/assets/icons.js +++ b/docs/assets/icons.js @@ -3,7 +3,7 @@ function addIcons() { if (document.readyState === "loading") return document.addEventListener("DOMContentLoaded", addIcons); const svg = document.body.appendChild(document.createElementNS("http://www.w3.org/2000/svg", "svg")); - svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; + svg.innerHTML = `MMNEPVFCICPMFPCPTTAAATR`; svg.style.display = "none"; if (location.protocol === "file:") updateUseElements(); } diff --git a/docs/assets/icons.svg b/docs/assets/icons.svg index 10db10be0..50ad5799d 100644 --- a/docs/assets/icons.svg +++ b/docs/assets/icons.svg @@ -1 +1 @@ -MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file +MMNEPVFCICPMFPCPTTAAATR \ No newline at end of file diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index b644d27b8..0a3067f94 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "eJylmltz2zYQhf+L8uppHcdJG7/Jkuy4sSyNKKfNZDIemFxJGFOECoCq3U7+e4cXkSABLFbOWyKf8x2QuHLJb/8NNDzrwcUgTjlkenAy2DG9GVwMtiLJU1C/Vr//stHbdHAyeOJZMrg4OxnEG54mErLBxbcG8SfXmzlbwzDXmwX8nXMJyWynuchUy+WZBrlicYtGbL3Y9x9+nKBpbYx+2eEJPfTpx9/evj8z8NsVa2l7Jjl7NG7HdsW6gHem9x+0aRbMJUfohex0LsWeJyBb7CrP4vKmHbAdXZf34dzgrUEP4xiUWoonyBBgV4gQcwX3Cm1brbAY3w0KSCmkskdk9TtpRBrNnRSukUigBUKWbxucS9rN+N3sg1Z9VWizDMoLPCLF7fNH1uJhHIs8041BeZJ8ciQgV1psqzvwHG9YtobQ5WAWf9B4LuYhckdD6odS3dLilCkF3u7tIt+ekTuXkmC70Lhcb4Tk/7JCXVzutWR1j/nD/J7jo4o1B9SrEk0rOfiIoCD4ksVPxcDLIC2MkGkeE0Jw26sC74SO8t1OSA3JK8MtBLEht2It8kD/ueVYgGMF8dIdWhTtWTf8fI8BCxlzFYs9yBcc3ZWhwMOa5GcdFBjmJtuzlCcjka34OpeE0ep1EGJIk9uhJaAjzXSg3ywlhp2u2GjD0hSCw8FSBrCTTIo03UJoGNvSAPgatDGFhVRBvtsRiLkTwz3jaXFqvGIxKcdjCQR9AclXgQnTlaFArhTP1oRxYilR7Eu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129dLpifEU8ir3Fl/uJ+wQAg2yre2UNvIOHlZA8A6W/msljYpPia1yGK6nM/ul9P16ut8qk3AqqBTcboad0Fn+XD5x9Rb1RMUAFqEw8t1UOm7skEiidXvJZc0DyUEke0NgfDohhhDN1lDhNroyMBxEoLpDwtbC8FsmnLRRK0CYYQ1Sl9Oxs9ZytRCw1OyQxsBmTgLQngnY6EvsiV0FRoLGTfJddqwsMlJ+CFsErhT5cI7x6onGCgZYdkwxTC62Agoz6zpQKBZkiPQnUEDrShd644Cc6rwacmwseohg6oEVFVNVgoxE4+4iztokJUE3yxzWEnKm2VtYYs2qa163GBAYw1pogENQ2sO69nVIGoqELZh/dShiTppMFBVRkZIlQhBVWU6Ql8bWghcXgKhbqgEEKI5+2oFbQBok5PwtBXVJifgJ/DQ0VREWC8vBxEtmTkrttSRW0BXg3DJUnlTQIo84YHfim1IOApBYZAdYaulbLBaYpM6MlwhRJuynE3Dl1IyltSpjgjIpPtSqEE03wjthldriFpMaqtLBq46NjkJX6SnSPuMI4JuQtl1HBFkkwWvjyciIPQqFordlTyxTyJ14blTU55tjTxxe0XqCbE8yCXfqDF2WkjYgQef1Iyx4+1aNJ/oSGHp5K4GI7ZHHNfb7/2jEPXd9/okYk+ydg4rtFxqe9izw9rvCeUJLZ0BPqFVivGrdxeXskhxbY92cFdDI/befTdxlnfeTdYs9tR18lHdjY1jlk40ZHSue9R3NZRKTlbl2+vX8uxUUzeIDA17ixBlp+L5CA4qXYHRFpwFIo6O9Q+rtmAH165FHcqjKvjAHQnG629pdmRfhc7Zxfh+VaZQ197DcjW7q5Oq07+8T+P762nr0pZU6imMRAKlFS307mq8ns0uSTa1dgB4NaeDV3M6eDH1Zl+mi69rbzahNZERBZiBfzplpuhfsVJfvqCTtnpXZYXwB2cWD/8UVfzBUlJEuQpD3398/x9qfWiM" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index d58dfbc8a..14ffb35e5 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "eJzFnVuT2ziStv9L+ba2P+FAHfrObbt7vNNtO2z37E44JhS0xKriWCVqScpt78T89y8IkBKQeEEmKVXvTbu6ishMEolTPgngXzdl8Ud18+Onf918yffbmx/l7c0+fcxufrzZ7PJsX9/c3hzL3c2PN4/F9rjLqv9nf/3DQ/24u7m92ezSqsqqmx9vbv59e5KRzE9S/iuvH96l99nzY/3wPvufY15m27eHOi/21Ul0vq+z8i7dnKX3lAKab28OadnYejL6bIuYSX0ypti/KsuivEDxs2KftSL6DOiTEzfufbbNy2xT5/v7y0wsPUHXNrTM6mO5/1hcYqOVURfXMU/OVguRyF6nO1lbfz/0GzrSw9RZ7+NdelLzNS3z9LPTYh7v0umS/+h7o0AVenqk7vm5vhsps3dl8TXfZue2c3fcb0w9dEq9x6Zru8/q55tNVlUfiy/ZPq7Of266vmOV/V71vVf7wEgN56oz/UUV9KP217396PJcBec3NT3Yi2KbnSRm++PjSR56st/01j6nsZ9775+fv/711cv1x7fr969+fv/qw1/WH9/+9dWbkaqf3aX5Ltuu62JdZndlVj2s67Zy+0yCArGdv73+8OH1m18us/Ixr6p8f//UNn549eHD67eTrauyqsqLS+2CrvVz89h+nxn/5/sZLnYNp3v13y/+8vzNL68uMcFxvuzb5iHd32cjvl3kk1zRCftMv9Qjp1jPdU+O3eN9ddDis+O2zz3fbIrjvj49W2HLY09fw01fvP3t3a+vPkbctFez452b4vGwy+pB74y+94CVr9+8/vj6+aVW5vu8ztNrW8lyvn4TR/ocwz7H1Y5VXTzazrTtQwa6x74S012u6w/XtlYnqn7W9YNrW62Dn6rv7aGdr9/87fmvr1+uP/z+03++evHR9oTrj39/F3O+QZPz/dd0l2/X1fHzP7NNbXvCdTOVv771nTM+f/Hx7fsr2N55Zrqpi/JPsdz77pea7X3yK9l8blov3xXvBtqS98j0xvPy3dt36xdv3/z8+pff3z//+Prtm/Wr9+/fvucqfbY9FIf1ptjf5ffHMm0GqHV/LACJ6rHtP//6cf3i+a8vfv/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X0p3THyV6CT+nSjKTb6BU2Cz+xIm5GcHynnD65YeamIi0knIMlJkE9zgwu0l0tYkfwGg2hWnmFo79Mcwr9z+9acZswzyKqj2fVfib9iUz5BeLJJdr+EMr8xCuk8wqbT11yYvwd85L5slpgeTkqkr4++Mk81iyWjRYVfmpfsy0fV9YtHvPPxFDMfO4ys53nx/AlQzK3wlmmEc1lPPtCOr4Gx4kc1AGOf9+pjJTxiGMNvlZqIKJ+Q+bf+3J1mA/stdMkoU4/dDMtZtD6cXpIEQmDIitLlhd8WXE/Tg4rbDWqjlCSJ+OtWSit/qOG9tVbo93d2Rbr5/wopjgDR6t5+8PVs0Bb7qZRhvmKJPoMX5UiZmv7h0fAXYl+vMnxaSDkUQ4+vmhSSZQ9k+6oAOh9Ecfw20gXyCdigUbEplZFFQgWq37h2waZoKKlRvlHPqYSZ0GXOYqhuRHSf8oUc1MhaQG6CePixPPbPLTlD79wDTyOHLl7zpkboE4bpeRrQTnR/Ks2omBewv9HH7mlzvu7fbisK/54x0zJlzKCRma76d0s1A2zG3fpbRIYEBcWVLINpFwouk7f2Z0GaTg+Qmtmrlj3Il5vMtgCM3H+kyLoAKrWUc4h/Vn+MwR+iS02hSLz19R/ghqen3ERi48OEX5Q5NhBtkDuT6hgDulfSTDDHtWcrNtUWGkJrk37H3+ZJ55wo89+Ty7z5NC/QD56VT9+v/N4VWSef8Bqux0H1cYnvOzLZl5Eq3S0XFefoxX9mgDWgmSHcwlB0s+pX6Qr+O7WSblahcPP49vThzS/c8Xz7bFNl8V67LM7//8z3/+PxKsVj8="; \ No newline at end of file diff --git a/docs/classes/errors.AccessTokenError.html b/docs/classes/errors.AccessTokenError.html index 5e0c59b3c..47d1f4dd4 100644 --- a/docs/classes/errors.AccessTokenError.html +++ b/docs/classes/errors.AccessTokenError.html @@ -1,4 +1,4 @@ -AccessTokenError | @auth0/nextjs-auth0 - v4.18.0
@auth0/nextjs-auth0 - v4.18.0
    Preparing search index...

    Class AccessTokenError

    Hierarchy (View Summary)

    Index

    Constructors

    constructor +AccessTokenError | @auth0/nextjs-auth0 - v4.19.0
    @auth0/nextjs-auth0 - v4.19.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 01b520ef8..50f770bf5 100644 --- a/docs/classes/errors.AccessTokenForConnectionError.html +++ b/docs/classes/errors.AccessTokenForConnectionError.html @@ -1,11 +1,11 @@ -AccessTokenForConnectionError | @auth0/nextjs-auth0 - v4.18.0
      @auth0/nextjs-auth0 - v4.18.0
        Preparing search index...

        Class AccessTokenForConnectionError

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

        @auth0/nextjs-auth0 - v4.19.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 6228bd9c4..cec8d7a59 100644 --- a/docs/classes/errors.AuthorizationCodeGrantError.html +++ b/docs/classes/errors.AuthorizationCodeGrantError.html @@ -1,4 +1,4 @@ -AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.18.0
          @auth0/nextjs-auth0 - v4.18.0
            Preparing search index...

            Class AuthorizationCodeGrantError

            Hierarchy (View Summary)

            Index

            Constructors

            constructor +AuthorizationCodeGrantError | @auth0/nextjs-auth0 - v4.19.0
            @auth0/nextjs-auth0 - v4.19.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 33f19d3fd..46f1e4094 100644 --- a/docs/classes/errors.AuthorizationCodeGrantRequestError.html +++ b/docs/classes/errors.AuthorizationCodeGrantRequestError.html @@ -1,3 +1,3 @@ -AuthorizationCodeGrantRequestError | @auth0/nextjs-auth0 - v4.18.0
              @auth0/nextjs-auth0 - v4.18.0
                Preparing search index...

                Class AuthorizationCodeGrantRequestError

                Hierarchy (View Summary)

                • SdkError
                  • AuthorizationCodeGrantRequestError
                Index

                Constructors

                constructor +AuthorizationCodeGrantRequestError | @auth0/nextjs-auth0 - v4.19.0
                @auth0/nextjs-auth0 - v4.19.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 f96a08863..220dcf4c7 100644 --- a/docs/classes/errors.AuthorizationError.html +++ b/docs/classes/errors.AuthorizationError.html @@ -1,4 +1,4 @@ -AuthorizationError | @auth0/nextjs-auth0 - v4.18.0
                  @auth0/nextjs-auth0 - v4.18.0
                    Preparing search index...

                    Class AuthorizationError

                    Hierarchy (View Summary)

                    Index

                    Constructors

                    constructor +AuthorizationError | @auth0/nextjs-auth0 - v4.19.0
                    @auth0/nextjs-auth0 - v4.19.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 8cb7b8441..ba08ba42e 100644 --- a/docs/classes/errors.BackchannelAuthenticationError.html +++ b/docs/classes/errors.BackchannelAuthenticationError.html @@ -1,4 +1,4 @@ -BackchannelAuthenticationError | @auth0/nextjs-auth0 - v4.18.0
                      @auth0/nextjs-auth0 - v4.18.0
                        Preparing search index...

                        Class BackchannelAuthenticationError

                        Hierarchy (View Summary)

                        Index

                        Constructors

                        constructor +BackchannelAuthenticationError | @auth0/nextjs-auth0 - v4.19.0
                        @auth0/nextjs-auth0 - v4.19.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 dbfa4f312..d9dfdeb89 100644 --- a/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html +++ b/docs/classes/errors.BackchannelAuthenticationNotSupportedError.html @@ -1,3 +1,3 @@ -BackchannelAuthenticationNotSupportedError | @auth0/nextjs-auth0 - v4.18.0
                          @auth0/nextjs-auth0 - v4.18.0
                            Preparing search index...

                            Class BackchannelAuthenticationNotSupportedError

                            Hierarchy (View Summary)

                            • SdkError
                              • BackchannelAuthenticationNotSupportedError
                            Index

                            Constructors

                            constructor +BackchannelAuthenticationNotSupportedError | @auth0/nextjs-auth0 - v4.19.0
                            @auth0/nextjs-auth0 - v4.19.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 110fde47b..6900ec210 100644 --- a/docs/classes/errors.BackchannelLogoutError.html +++ b/docs/classes/errors.BackchannelLogoutError.html @@ -1,4 +1,4 @@ -BackchannelLogoutError | @auth0/nextjs-auth0 - v4.18.0
                              @auth0/nextjs-auth0 - v4.18.0
                                Preparing search index...

                                Class BackchannelLogoutError

                                Error thrown when backchannel logout processing fails.

                                -

                                Hierarchy (View Summary)

                                Index

                                Constructors

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

                                  Class BackchannelLogoutError

                                  Error thrown when backchannel logout processing fails.

                                  +

                                  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 9417da7f5..46aba2039 100644 --- a/docs/classes/errors.ConnectAccountError.html +++ b/docs/classes/errors.ConnectAccountError.html @@ -1,6 +1,6 @@ -ConnectAccountError | @auth0/nextjs-auth0 - v4.18.0
                                  @auth0/nextjs-auth0 - v4.18.0
                                    Preparing search index...

                                    Class ConnectAccountError

                                    Error class representing a connect account error.

                                    -

                                    Hierarchy (View Summary)

                                    Index

                                    Constructors

                                    constructor +ConnectAccountError | @auth0/nextjs-auth0 - v4.19.0
                                    @auth0/nextjs-auth0 - v4.19.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.CustomTokenExchangeError.html b/docs/classes/errors.CustomTokenExchangeError.html index 59439b340..9ae9a4841 100644 --- a/docs/classes/errors.CustomTokenExchangeError.html +++ b/docs/classes/errors.CustomTokenExchangeError.html @@ -1,15 +1,15 @@ -CustomTokenExchangeError | @auth0/nextjs-auth0 - v4.18.0
                                      @auth0/nextjs-auth0 - v4.18.0
                                        Preparing search index...

                                        Class CustomTokenExchangeError

                                        Error class representing a Custom Token Exchange error. +CustomTokenExchangeError | @auth0/nextjs-auth0 - v4.19.0

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

                                          Class CustomTokenExchangeError

                                          Error class representing a Custom Token Exchange error. Extends the SdkError class.

                                          This error is thrown when a Custom Token Exchange operation fails, such as validation errors or server-side token exchange failures.

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Hierarchy (View Summary)

                                          Index

                                          Constructors

                                          Properties

                                          Constructors

                                          Properties

                                          cause?: OAuth2Error

                                          The underlying OAuth2 error that caused this error (if applicable).

                                          -
                                          code: string

                                          The error code associated with the custom token exchange error.

                                          -
                                          +

                                          Returns CustomTokenExchangeError

                                          Properties

                                          cause?: OAuth2Error

                                          The underlying OAuth2 error that caused this error (if applicable).

                                          +
                                          code: string

                                          The error code associated with the custom token exchange error.

                                          +
                                          diff --git a/docs/classes/errors.DPoPError.html b/docs/classes/errors.DPoPError.html index 07da7222c..c9d05d75a 100644 --- a/docs/classes/errors.DPoPError.html +++ b/docs/classes/errors.DPoPError.html @@ -1,4 +1,4 @@ -DPoPError | @auth0/nextjs-auth0 - v4.18.0
                                          @auth0/nextjs-auth0 - v4.18.0
                                            Preparing search index...

                                            Class DPoPError

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

                                            +DPoPError | @auth0/nextjs-auth0 - v4.19.0
                                            @auth0/nextjs-auth0 - v4.19.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 85501ab70..25547b3a1 100644 --- a/docs/classes/errors.DiscoveryError.html +++ b/docs/classes/errors.DiscoveryError.html @@ -1,3 +1,3 @@ -DiscoveryError | @auth0/nextjs-auth0 - v4.18.0
                                              @auth0/nextjs-auth0 - v4.18.0
                                                Preparing search index...

                                                Class DiscoveryError

                                                Hierarchy (View Summary)

                                                Index

                                                Constructors

                                                constructor +DiscoveryError | @auth0/nextjs-auth0 - v4.19.0
                                                @auth0/nextjs-auth0 - v4.19.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.ExecutionContextError.html b/docs/classes/errors.ExecutionContextError.html new file mode 100644 index 000000000..f4b8aa21d --- /dev/null +++ b/docs/classes/errors.ExecutionContextError.html @@ -0,0 +1,9 @@ +ExecutionContextError | @auth0/nextjs-auth0 - v4.19.0
                                                  @auth0/nextjs-auth0 - v4.19.0
                                                    Preparing search index...

                                                    Class ExecutionContextError

                                                    Thrown when mfa.challengeWithPopup is called outside of a browser context +(e.g., in a Server Component, Route Handler, or middleware).

                                                    +

                                                    challengeWithPopup() requires window and can only run in client components.

                                                    +
                                                    import { ExecutionContextError } from '@auth0/nextjs-auth0/errors';

                                                    try {
                                                    await mfa.challengeWithPopup({ audience: 'https://api.example.com' });
                                                    } catch (err) {
                                                    if (err instanceof ExecutionContextError) {
                                                    // This method must be called from a client component
                                                    }
                                                    } +
                                                    + +

                                                    Hierarchy (View Summary)

                                                    Index

                                                    Constructors

                                                    Properties

                                                    Constructors

                                                    Properties

                                                    code: "invalid_execution_context" = ...
                                                    diff --git a/docs/classes/errors.InvalidConfigurationError.html b/docs/classes/errors.InvalidConfigurationError.html index fa9845501..6369204af 100644 --- a/docs/classes/errors.InvalidConfigurationError.html +++ b/docs/classes/errors.InvalidConfigurationError.html @@ -1,3 +1,3 @@ -InvalidConfigurationError | @auth0/nextjs-auth0 - v4.18.0
                                                    @auth0/nextjs-auth0 - v4.18.0
                                                      Preparing search index...

                                                      Class InvalidConfigurationError

                                                      Hierarchy (View Summary)

                                                      Index

                                                      Constructors

                                                      constructor +InvalidConfigurationError | @auth0/nextjs-auth0 - v4.19.0
                                                      @auth0/nextjs-auth0 - v4.19.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.InvalidRequestError.html b/docs/classes/errors.InvalidRequestError.html index 4c61721d4..16bda17eb 100644 --- a/docs/classes/errors.InvalidRequestError.html +++ b/docs/classes/errors.InvalidRequestError.html @@ -1,6 +1,6 @@ -InvalidRequestError | @auth0/nextjs-auth0 - v4.18.0
                                                        @auth0/nextjs-auth0 - v4.18.0
                                                          Preparing search index...

                                                          Class InvalidRequestError

                                                          Thrown when request validation fails (missing/invalid params). +InvalidRequestError | @auth0/nextjs-auth0 - v4.19.0

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

                                                            Class InvalidRequestError

                                                            Thrown when request validation fails (missing/invalid params). Mapped to 400 Bad Request.

                                                            -

                                                            Hierarchy (View Summary)

                                                            Index

                                                            Constructors

                                                            Hierarchy (View Summary)

                                                            Index

                                                            Constructors

                                                            Properties

                                                            Methods

                                                            Constructors

                                                            Properties

                                                            code: string = "invalid_request"

                                                            Methods

                                                            • Returns { error: string; error_description: string }

                                                            +

                                                            Constructors

                                                            Properties

                                                            code: string = "invalid_request"

                                                            Methods

                                                            • Returns { error: string; error_description: string }

                                                            diff --git a/docs/classes/errors.InvalidStateError.html b/docs/classes/errors.InvalidStateError.html index 887d06d90..8269b78b1 100644 --- a/docs/classes/errors.InvalidStateError.html +++ b/docs/classes/errors.InvalidStateError.html @@ -1,3 +1,3 @@ -InvalidStateError | @auth0/nextjs-auth0 - v4.18.0
                                                            @auth0/nextjs-auth0 - v4.18.0
                                                              Preparing search index...

                                                              Class InvalidStateError

                                                              Hierarchy (View Summary)

                                                              Index

                                                              Constructors

                                                              constructor +InvalidStateError | @auth0/nextjs-auth0 - v4.19.0
                                                              @auth0/nextjs-auth0 - v4.19.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.MfaChallengeError.html b/docs/classes/errors.MfaChallengeError.html index c44b7aac3..c494cc732 100644 --- a/docs/classes/errors.MfaChallengeError.html +++ b/docs/classes/errors.MfaChallengeError.html @@ -1,14 +1,14 @@ -MfaChallengeError | @auth0/nextjs-auth0 - v4.18.0
                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                  Preparing search index...

                                                                  Class MfaChallengeError

                                                                  Error thrown when initiating an MFA challenge fails.

                                                                  +MfaChallengeError | @auth0/nextjs-auth0 - v4.19.0
                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                    Preparing search index...

                                                                    Class MfaChallengeError

                                                                    Error thrown when initiating an MFA challenge fails.

                                                                    try {
                                                                    await mfa.challenge({
                                                                    mfaToken,
                                                                    challengeType: 'oob',
                                                                    authenticatorId: 'sms|dev_abc123'
                                                                    });
                                                                    } catch (error) {
                                                                    if (error instanceof MfaChallengeError) {
                                                                    if (error.cause?.error === 'invalid_authenticator_id') {
                                                                    console.error('Authenticator not found or not active');
                                                                    }
                                                                    }
                                                                    }
                                                                    -

                                                                    Hierarchy

                                                                    • MfaError
                                                                      • MfaChallengeError
                                                                    Index

                                                                    Constructors

                                                                    Hierarchy

                                                                    • MfaError
                                                                      • MfaChallengeError
                                                                    Index

                                                                    Constructors

                                                                    Properties

                                                                    Accessors

                                                                    Methods

                                                                    Constructors

                                                                    Properties

                                                                    error: string
                                                                    error_description: string

                                                                    Accessors

                                                                    Methods

                                                                    • Serialize error for HTTP responses. +

                                                                    Constructors

                                                                    Properties

                                                                    error: string
                                                                    error_description: string

                                                                    Accessors

                                                                    Methods

                                                                    • Serialize error for HTTP responses. Called automatically by Response.json() and JSON.stringify(). Ensures both SDK and HTTP API consumers get identical shape.

                                                                      -

                                                                      Returns { error: string; error_description: string }

                                                                    +

                                                                    Returns { error: string; error_description: string }

                                                                    diff --git a/docs/classes/errors.MfaEnrollmentError.html b/docs/classes/errors.MfaEnrollmentError.html index 5d89a5810..2690b40ac 100644 --- a/docs/classes/errors.MfaEnrollmentError.html +++ b/docs/classes/errors.MfaEnrollmentError.html @@ -1,14 +1,14 @@ -MfaEnrollmentError | @auth0/nextjs-auth0 - v4.18.0
                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                      Preparing search index...

                                                                      Class MfaEnrollmentError

                                                                      Error thrown when MFA enrollment fails.

                                                                      +MfaEnrollmentError | @auth0/nextjs-auth0 - v4.19.0
                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                        Preparing search index...

                                                                        Class MfaEnrollmentError

                                                                        Error thrown when MFA enrollment fails.

                                                                        try {
                                                                        await mfa.enroll({
                                                                        mfaToken,
                                                                        authenticatorTypes: ['otp']
                                                                        });
                                                                        } catch (error) {
                                                                        if (error instanceof MfaEnrollmentError) {
                                                                        if (error.cause?.error === 'unsupported_challenge_type') {
                                                                        console.error('Tenant does not support OTP enrollment');
                                                                        }
                                                                        }
                                                                        }
                                                                        -

                                                                        Hierarchy

                                                                        • MfaError
                                                                          • MfaEnrollmentError
                                                                        Index

                                                                        Constructors

                                                                        Hierarchy

                                                                        • MfaError
                                                                          • MfaEnrollmentError
                                                                        Index

                                                                        Constructors

                                                                        Properties

                                                                        Accessors

                                                                        Methods

                                                                        Constructors

                                                                        Properties

                                                                        error: string
                                                                        error_description: string

                                                                        Accessors

                                                                        Methods

                                                                        • Serialize error for HTTP responses. +

                                                                        Constructors

                                                                        Properties

                                                                        error: string
                                                                        error_description: string

                                                                        Accessors

                                                                        Methods

                                                                        • Serialize error for HTTP responses. Called automatically by Response.json() and JSON.stringify(). Ensures both SDK and HTTP API consumers get identical shape.

                                                                          -

                                                                          Returns { error: string; error_description: string }

                                                                        +

                                                                        Returns { error: string; error_description: string }

                                                                        diff --git a/docs/classes/errors.MfaGetAuthenticatorsError.html b/docs/classes/errors.MfaGetAuthenticatorsError.html index e99218f61..cea83e2ba 100644 --- a/docs/classes/errors.MfaGetAuthenticatorsError.html +++ b/docs/classes/errors.MfaGetAuthenticatorsError.html @@ -1,14 +1,14 @@ -MfaGetAuthenticatorsError | @auth0/nextjs-auth0 - v4.18.0
                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                          Preparing search index...

                                                                          Class MfaGetAuthenticatorsError

                                                                          Error thrown when listing MFA authenticators fails.

                                                                          +MfaGetAuthenticatorsError | @auth0/nextjs-auth0 - v4.19.0
                                                                          @auth0/nextjs-auth0 - v4.19.0
                                                                            Preparing search index...

                                                                            Class MfaGetAuthenticatorsError

                                                                            Error thrown when listing MFA authenticators fails.

                                                                            try {
                                                                            const authenticators = await mfa.getAuthenticators({ mfaToken });
                                                                            } catch (error) {
                                                                            if (error instanceof MfaGetAuthenticatorsError) {
                                                                            console.error(error.code); // 'invalid_token', 'expired_token', etc.
                                                                            console.error(error.cause?.error_description);
                                                                            }
                                                                            }
                                                                            -

                                                                            Hierarchy

                                                                            • MfaError
                                                                              • MfaGetAuthenticatorsError
                                                                            Index

                                                                            Constructors

                                                                            Hierarchy

                                                                            • MfaError
                                                                              • MfaGetAuthenticatorsError
                                                                            Index

                                                                            Constructors

                                                                            Properties

                                                                            Accessors

                                                                            Methods

                                                                            Constructors

                                                                            Properties

                                                                            error: string
                                                                            error_description: string

                                                                            Accessors

                                                                            Methods

                                                                            • Serialize error for HTTP responses. +

                                                                            Constructors

                                                                            Properties

                                                                            error: string
                                                                            error_description: string

                                                                            Accessors

                                                                            Methods

                                                                            • Serialize error for HTTP responses. Called automatically by Response.json() and JSON.stringify(). Ensures both SDK and HTTP API consumers get identical shape.

                                                                              -

                                                                              Returns { error: string; error_description: string }

                                                                            +

                                                                            Returns { error: string; error_description: string }

                                                                            diff --git a/docs/classes/errors.MfaNoAvailableFactorsError.html b/docs/classes/errors.MfaNoAvailableFactorsError.html index c71f60e85..424349cca 100644 --- a/docs/classes/errors.MfaNoAvailableFactorsError.html +++ b/docs/classes/errors.MfaNoAvailableFactorsError.html @@ -1,7 +1,7 @@ -MfaNoAvailableFactorsError | @auth0/nextjs-auth0 - v4.18.0
                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                              Preparing search index...

                                                                              Class MfaNoAvailableFactorsError

                                                                              Error thrown when no MFA factors are available for challenge. +MfaNoAvailableFactorsError | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                Class MfaNoAvailableFactorsError

                                                                                Error thrown when no MFA factors are available for challenge. SDK-generated error (no Auth0 API equivalent).

                                                                                -

                                                                                Hierarchy (View Summary)

                                                                                Index

                                                                                Constructors

                                                                                Hierarchy (View Summary)

                                                                                Index

                                                                                Constructors

                                                                                Properties

                                                                                Constructors

                                                                                Properties

                                                                                code: string = "mfa_no_available_factors"
                                                                                error: string = "mfa_no_available_factors"
                                                                                error_description: string
                                                                                +

                                                                                Constructors

                                                                                Properties

                                                                                code: string = "mfa_no_available_factors"
                                                                                error: string = "mfa_no_available_factors"
                                                                                error_description: string
                                                                                diff --git a/docs/classes/errors.MfaVerifyError.html b/docs/classes/errors.MfaVerifyError.html index 40afdf146..d1c52c493 100644 --- a/docs/classes/errors.MfaVerifyError.html +++ b/docs/classes/errors.MfaVerifyError.html @@ -1,14 +1,14 @@ -MfaVerifyError | @auth0/nextjs-auth0 - v4.18.0
                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                  Preparing search index...

                                                                                  Class MfaVerifyError

                                                                                  Error thrown when MFA verification fails.

                                                                                  +MfaVerifyError | @auth0/nextjs-auth0 - v4.19.0
                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                    Preparing search index...

                                                                                    Class MfaVerifyError

                                                                                    Error thrown when MFA verification fails.

                                                                                    try {
                                                                                    await mfa.verify({
                                                                                    mfaToken,
                                                                                    otp: '123456'
                                                                                    });
                                                                                    } catch (error) {
                                                                                    if (error instanceof MfaVerifyError) {
                                                                                    if (error.cause?.error === 'invalid_grant') {
                                                                                    console.error('Invalid or expired verification code');
                                                                                    }
                                                                                    }
                                                                                    }
                                                                                    -

                                                                                    Hierarchy

                                                                                    • MfaError
                                                                                      • MfaVerifyError
                                                                                    Index

                                                                                    Constructors

                                                                                    Hierarchy

                                                                                    • MfaError
                                                                                      • MfaVerifyError
                                                                                    Index

                                                                                    Constructors

                                                                                    Properties

                                                                                    Accessors

                                                                                    Methods

                                                                                    Constructors

                                                                                    Properties

                                                                                    error: string
                                                                                    error_description: string

                                                                                    Accessors

                                                                                    Methods

                                                                                    • Serialize error for HTTP responses. +

                                                                                    Constructors

                                                                                    Properties

                                                                                    error: string
                                                                                    error_description: string

                                                                                    Accessors

                                                                                    Methods

                                                                                    • Serialize error for HTTP responses. Called automatically by Response.json() and JSON.stringify(). Ensures both SDK and HTTP API consumers get identical shape.

                                                                                      -

                                                                                      Returns { error: string; error_description: string }

                                                                                    +

                                                                                    Returns { error: string; error_description: string }

                                                                                    diff --git a/docs/classes/errors.MissingStateError.html b/docs/classes/errors.MissingStateError.html index 4517d7f07..6a8d74708 100644 --- a/docs/classes/errors.MissingStateError.html +++ b/docs/classes/errors.MissingStateError.html @@ -1,3 +1,3 @@ -MissingStateError | @auth0/nextjs-auth0 - v4.18.0
                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                      Preparing search index...

                                                                                      Class MissingStateError

                                                                                      Hierarchy (View Summary)

                                                                                      Index

                                                                                      Constructors

                                                                                      constructor +MissingStateError | @auth0/nextjs-auth0 - v4.19.0
                                                                                      @auth0/nextjs-auth0 - v4.19.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 c58d9f6a9..7ebf2afb1 100644 --- a/docs/classes/errors.MyAccountApiError.html +++ b/docs/classes/errors.MyAccountApiError.html @@ -1,5 +1,5 @@ -MyAccountApiError | @auth0/nextjs-auth0 - v4.18.0
                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                          Preparing search index...

                                                                                          Class MyAccountApiError

                                                                                          Error class representing a connect account request error.

                                                                                          -

                                                                                          Hierarchy (View Summary)

                                                                                          Index

                                                                                          Constructors

                                                                                          constructor +MyAccountApiError | @auth0/nextjs-auth0 - v4.19.0
                                                                                          @auth0/nextjs-auth0 - v4.19.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 f1398f7a1..08a86b90a 100644 --- a/docs/classes/errors.OAuth2Error.html +++ b/docs/classes/errors.OAuth2Error.html @@ -1,5 +1,5 @@ -OAuth2Error | @auth0/nextjs-auth0 - v4.18.0
                                                                                            @auth0/nextjs-auth0 - v4.18.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. +OAuth2Error | @auth0/nextjs-auth0 - v4.19.0

                                                                                              @auth0/nextjs-auth0 - v4.19.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.PopupBlockedError.html b/docs/classes/errors.PopupBlockedError.html new file mode 100644 index 000000000..dbab3d97a --- /dev/null +++ b/docs/classes/errors.PopupBlockedError.html @@ -0,0 +1,9 @@ +PopupBlockedError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                @auth0/nextjs-auth0 - v4.19.0
                                                                                                  Preparing search index...

                                                                                                  Class PopupBlockedError

                                                                                                  Thrown when the browser blocks the popup window opened by mfa.challengeWithPopup.

                                                                                                  +

                                                                                                  Most browsers block popups unless they are triggered by a direct user action +(e.g., a click handler). Prompt the user to allow popups for your site.

                                                                                                  +
                                                                                                  import { PopupBlockedError } from '@auth0/nextjs-auth0/errors';

                                                                                                  try {
                                                                                                  await mfa.challengeWithPopup({ audience: 'https://api.example.com' });
                                                                                                  } catch (err) {
                                                                                                  if (err instanceof PopupBlockedError) {
                                                                                                  alert('Please allow popups for this site.');
                                                                                                  }
                                                                                                  } +
                                                                                                  + +

                                                                                                  Hierarchy (View Summary)

                                                                                                  Index

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  Constructors

                                                                                                  Properties

                                                                                                  code: "popup_blocked" = ...
                                                                                                  diff --git a/docs/classes/errors.PopupCancelledError.html b/docs/classes/errors.PopupCancelledError.html new file mode 100644 index 000000000..d6209cedf --- /dev/null +++ b/docs/classes/errors.PopupCancelledError.html @@ -0,0 +1,9 @@ +PopupCancelledError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                    Preparing search index...

                                                                                                    Class PopupCancelledError

                                                                                                    Thrown when the user closes the popup window before completing MFA.

                                                                                                    +

                                                                                                    The SDK polls popup.closed every 500ms to detect manual closure. +This is a user-initiated cancellation, not an error condition.

                                                                                                    +
                                                                                                    import { PopupCancelledError } from '@auth0/nextjs-auth0/errors';

                                                                                                    try {
                                                                                                    await mfa.challengeWithPopup({ audience: 'https://api.example.com' });
                                                                                                    } catch (err) {
                                                                                                    if (err instanceof PopupCancelledError) {
                                                                                                    console.log('User cancelled MFA.');
                                                                                                    }
                                                                                                    } +
                                                                                                    + +

                                                                                                    Hierarchy (View Summary)

                                                                                                    Index

                                                                                                    Constructors

                                                                                                    Properties

                                                                                                    Constructors

                                                                                                    Properties

                                                                                                    code: "popup_cancelled" = ...
                                                                                                    diff --git a/docs/classes/errors.PopupInProgressError.html b/docs/classes/errors.PopupInProgressError.html new file mode 100644 index 000000000..59b0f1f59 --- /dev/null +++ b/docs/classes/errors.PopupInProgressError.html @@ -0,0 +1,9 @@ +PopupInProgressError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                    @auth0/nextjs-auth0 - v4.19.0
                                                                                                      Preparing search index...

                                                                                                      Class PopupInProgressError

                                                                                                      Thrown when mfa.challengeWithPopup is called while another popup is already active.

                                                                                                      +

                                                                                                      Only one popup flow is allowed at a time, regardless of audience. Wait for the +current popup to complete or be cancelled before starting another.

                                                                                                      +
                                                                                                      import { PopupInProgressError } from '@auth0/nextjs-auth0/errors';

                                                                                                      try {
                                                                                                      await mfa.challengeWithPopup({ audience: 'https://api.example.com' });
                                                                                                      } catch (err) {
                                                                                                      if (err instanceof PopupInProgressError) {
                                                                                                      console.log('Complete the current MFA prompt first.');
                                                                                                      }
                                                                                                      } +
                                                                                                      + +

                                                                                                      Hierarchy (View Summary)

                                                                                                      Index

                                                                                                      Constructors

                                                                                                      Properties

                                                                                                      Constructors

                                                                                                      Properties

                                                                                                      code: "popup_in_progress" = ...
                                                                                                      diff --git a/docs/classes/errors.PopupTimeoutError.html b/docs/classes/errors.PopupTimeoutError.html new file mode 100644 index 000000000..cfa30d2ad --- /dev/null +++ b/docs/classes/errors.PopupTimeoutError.html @@ -0,0 +1,9 @@ +PopupTimeoutError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                                                        Preparing search index...

                                                                                                        Class PopupTimeoutError

                                                                                                        Thrown when the popup does not complete authentication within the configured timeout.

                                                                                                        +

                                                                                                        Default timeout is 60 seconds. Configure per-call via +ChallengeWithPopupOptions.timeout.

                                                                                                        +
                                                                                                        import { PopupTimeoutError } from '@auth0/nextjs-auth0/errors';

                                                                                                        try {
                                                                                                        await mfa.challengeWithPopup({ audience: 'https://api.example.com', timeout: 120000 });
                                                                                                        } catch (err) {
                                                                                                        if (err instanceof PopupTimeoutError) {
                                                                                                        console.log('MFA timed out. Please try again.');
                                                                                                        }
                                                                                                        } +
                                                                                                        + +

                                                                                                        Hierarchy (View Summary)

                                                                                                        Index

                                                                                                        Constructors

                                                                                                        Properties

                                                                                                        Constructors

                                                                                                        Properties

                                                                                                        code: "popup_timeout" = ...
                                                                                                        diff --git a/docs/classes/errors.SdkError.html b/docs/classes/errors.SdkError.html index 97b55b89a..0437240bb 100644 --- a/docs/classes/errors.SdkError.html +++ b/docs/classes/errors.SdkError.html @@ -1,3 +1,3 @@ -SdkError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                          Preparing search index...

                                                                                                          Class SdkErrorAbstract

                                                                                                          Hierarchy (View Summary)

                                                                                                          Index

                                                                                                          Constructors

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

                                                                                                            Constructors

                                                                                                            • Parameters

                                                                                                              • Optionalmessage: string

                                                                                                              Returns SdkError

                                                                                                            Properties

                                                                                                            code: string
                                                                                                            diff --git a/docs/classes/server.AbstractSessionStore.html b/docs/classes/server.AbstractSessionStore.html index 664610a81..346cbd6a3 100644 --- a/docs/classes/server.AbstractSessionStore.html +++ b/docs/classes/server.AbstractSessionStore.html @@ -1,4 +1,4 @@ -AbstractSessionStore | @auth0/nextjs-auth0 - v4.18.0
                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                              Preparing search index...

                                                                                                              Class AbstractSessionStoreAbstract

                                                                                                              Index

                                                                                                              Constructors

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

                                                                                                                Class AbstractSessionStoreAbstract

                                                                                                                Index

                                                                                                                Constructors

                                                                                                                Properties

                                                                                                                cookieConfig rolling secret @@ -10,9 +10,9 @@ epoch get set -

                                                                                                                Constructors

                                                                                                                Properties

                                                                                                                cookieConfig: CookieOptions
                                                                                                                rolling: boolean
                                                                                                                secret: string
                                                                                                                sessionCookieName: string

                                                                                                                Accessors

                                                                                                                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
                                                                                                                rolling: boolean
                                                                                                                secret: string
                                                                                                                sessionCookieName: string

                                                                                                                Accessors

                                                                                                                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 is present on the session, then it will be used to compute the maxAge cookie value.

                                                                                                                  -

                                                                                                                  Parameters

                                                                                                                  Returns Promise<void>

                                                                                                                +

                                                                                                                Parameters

                                                                                                                Returns Promise<void>

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

                                                                                                                  Class Auth0Client

                                                                                                                  Index

                                                                                                                  Constructors

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

                                                                                                                    Class Auth0Client

                                                                                                                    Index

                                                                                                                    Constructors

                                                                                                                    Accessors

                                                                                                                    • get mfa(): ServerMfaClient

                                                                                                                      MFA API for server-side operations.

                                                                                                                      +

                                                                                                                    Constructors

                                                                                                                    Accessors

                                                                                                                    • get mfa(): ServerMfaClient

                                                                                                                      MFA API for server-side operations.

                                                                                                                      Provides access to MFA methods that require encrypted mfa_token from MfaRequiredError:

                                                                                                                      • getAuthenticators: List enrolled MFA factors
                                                                                                                      • @@ -22,13 +22,13 @@

                                                                                                                      Returns ServerMfaClient

                                                                                                                      try {
                                                                                                                      const { token } = await auth0.getAccessToken({ audience: 'https://api.example.com' });
                                                                                                                      } catch (error) {
                                                                                                                      if (error instanceof MfaRequiredError) {
                                                                                                                      // Get available authenticators
                                                                                                                      const authenticators = await auth0.mfa.getAuthenticators({
                                                                                                                      mfaToken: error.mfa_token
                                                                                                                      });

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

                                                                                                                      // Verify code
                                                                                                                      const tokens = await auth0.mfa.verify({
                                                                                                                      mfaToken: error.mfa_token,
                                                                                                                      otp: '123456'
                                                                                                                      });
                                                                                                                      }
                                                                                                                      }
                                                                                                                      -

                                                                                                                    Methods

                                                                                                                    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.

                                                                                                                      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.

                                                                                                                      +

                                                                                                                      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
                                                                                                                      • @@ -55,7 +55,7 @@
                                                                                                                      • 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.

                                                                                                                      @@ -79,23 +83,27 @@
                                                                                                                      • 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.DomainResolutionError.html b/docs/classes/server.DomainResolutionError.html index 2f3c7ec7f..95bb069e0 100644 --- a/docs/classes/server.DomainResolutionError.html +++ b/docs/classes/server.DomainResolutionError.html @@ -1,10 +1,10 @@ -DomainResolutionError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                      Preparing search index...

                                                                                                                      Class DomainResolutionError

                                                                                                                      Error thrown when domain resolution fails during MCD initialization or request handling.

                                                                                                                      +DomainResolutionError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                                                                        Preparing search index...

                                                                                                                        Class DomainResolutionError

                                                                                                                        Error thrown when domain resolution fails during MCD initialization or request handling.

                                                                                                                        This error is public and may be caught by application code.

                                                                                                                        -

                                                                                                                        Hierarchy (View Summary)

                                                                                                                        Index

                                                                                                                        Constructors

                                                                                                                        Hierarchy (View Summary)

                                                                                                                        Index

                                                                                                                        Constructors

                                                                                                                        Properties

                                                                                                                        Constructors

                                                                                                                        Properties

                                                                                                                        cause?: Error

                                                                                                                        The underlying error that caused the resolution failure (optional)

                                                                                                                        -
                                                                                                                        code: string = "domain_resolution_error"
                                                                                                                        +

                                                                                                                        Returns DomainResolutionError

                                                                                                                        Properties

                                                                                                                        cause?: Error

                                                                                                                        The underlying error that caused the resolution failure (optional)

                                                                                                                        +
                                                                                                                        code: string = "domain_resolution_error"
                                                                                                                        diff --git a/docs/classes/server.DomainValidationError.html b/docs/classes/server.DomainValidationError.html index 5bce74540..02acc3349 100644 --- a/docs/classes/server.DomainValidationError.html +++ b/docs/classes/server.DomainValidationError.html @@ -1,8 +1,8 @@ -DomainValidationError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                          Preparing search index...

                                                                                                                          Class DomainValidationError

                                                                                                                          Error thrown when a domain hostname fails validation.

                                                                                                                          +DomainValidationError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                          @auth0/nextjs-auth0 - v4.19.0
                                                                                                                            Preparing search index...

                                                                                                                            Class DomainValidationError

                                                                                                                            Error thrown when a domain hostname fails validation.

                                                                                                                            This includes rejection of IP addresses, localhost, .local domains, paths, and ports. This error is public and may be caught by application code.

                                                                                                                            -

                                                                                                                            Hierarchy (View Summary)

                                                                                                                            Index

                                                                                                                            Constructors

                                                                                                                            Hierarchy (View Summary)

                                                                                                                            Index

                                                                                                                            Constructors

                                                                                                                            Properties

                                                                                                                            Constructors

                                                                                                                            Properties

                                                                                                                            code: string = "domain_validation_error"
                                                                                                                            +

                                                                                                                            Returns DomainValidationError

                                                                                                                            Properties

                                                                                                                            code: string = "domain_validation_error"
                                                                                                                            diff --git a/docs/classes/server.IssuerValidationError.html b/docs/classes/server.IssuerValidationError.html index 0ac9bc8d4..e69b8256f 100644 --- a/docs/classes/server.IssuerValidationError.html +++ b/docs/classes/server.IssuerValidationError.html @@ -1,12 +1,12 @@ -IssuerValidationError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                              Preparing search index...

                                                                                                                              Class IssuerValidationError

                                                                                                                              Error thrown when the issuer URL is invalid or cannot be resolved.

                                                                                                                              +IssuerValidationError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                              @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                Preparing search index...

                                                                                                                                Class IssuerValidationError

                                                                                                                                Error thrown when the issuer URL is invalid or cannot be resolved.

                                                                                                                                This error is public and may be caught by application code.

                                                                                                                                -

                                                                                                                                Hierarchy (View Summary)

                                                                                                                                Index

                                                                                                                                Constructors

                                                                                                                                Hierarchy (View Summary)

                                                                                                                                Index

                                                                                                                                Constructors

                                                                                                                                Properties

                                                                                                                                actualIssuer: string

                                                                                                                                The actual issuer URL from the token

                                                                                                                                -
                                                                                                                                code: string = "issuer_validation_error"
                                                                                                                                expectedIssuer: string

                                                                                                                                The expected issuer URL

                                                                                                                                -
                                                                                                                                +

                                                                                                                                Returns IssuerValidationError

                                                                                                                                Properties

                                                                                                                                actualIssuer: string

                                                                                                                                The actual issuer URL from the token

                                                                                                                                +
                                                                                                                                code: string = "issuer_validation_error"
                                                                                                                                expectedIssuer: string

                                                                                                                                The expected issuer URL

                                                                                                                                +
                                                                                                                                diff --git a/docs/classes/server.MfaRequiredError.html b/docs/classes/server.MfaRequiredError.html index 505b23a9c..5bf249b5c 100644 --- a/docs/classes/server.MfaRequiredError.html +++ b/docs/classes/server.MfaRequiredError.html @@ -1,4 +1,4 @@ -MfaRequiredError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                  Preparing search index...

                                                                                                                                  Class MfaRequiredError

                                                                                                                                  Thrown when getAccessToken requires MFA step-up authentication.

                                                                                                                                  +MfaRequiredError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                    Preparing search index...

                                                                                                                                    Class MfaRequiredError

                                                                                                                                    Thrown when getAccessToken requires MFA step-up authentication.

                                                                                                                                    This error is thrown during token refresh when Auth0 returns mfa_required. The mfa_token property contains an encrypted token that can be used with Auth0's MFA API to complete the authentication challenge.

                                                                                                                                    @@ -13,7 +13,7 @@

                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                    Index

                                                                                                                                    Constructors

                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                    Index

                                                                                                                                    Constructors

                                                                                                                                    Properties

                                                                                                                                    cause? code error @@ -28,11 +28,11 @@

                                                                                                                                    Returns MfaRequiredError

                                                                                                                                    Constructor parameters use camelCase (mfaToken, mfaRequirements) for consistency with SDK conventions, but they are assigned to snake_case properties (mfa_token, mfa_requirements) to match Auth0 API response format.

                                                                                                                                    -

                                                                                                                                    Properties

                                                                                                                                    cause?: Error
                                                                                                                                    code: string = "mfa_required"
                                                                                                                                    error: string = "mfa_required"

                                                                                                                                    Original Auth0 error code

                                                                                                                                    -
                                                                                                                                    error_description: string

                                                                                                                                    Original Auth0 error description

                                                                                                                                    -
                                                                                                                                    mfa_requirements?: MfaRequirements

                                                                                                                                    MFA requirements indicating available challenge/enrollment methods

                                                                                                                                    -
                                                                                                                                    mfa_token: string

                                                                                                                                    Encrypted MFA token to pass to MFA API methods.

                                                                                                                                    -

                                                                                                                                    Methods

                                                                                                                                    Properties

                                                                                                                                    cause?: Error
                                                                                                                                    code: string = "mfa_required"
                                                                                                                                    error: string = "mfa_required"

                                                                                                                                    Original Auth0 error code

                                                                                                                                    +
                                                                                                                                    error_description: string

                                                                                                                                    Original Auth0 error description

                                                                                                                                    +
                                                                                                                                    mfa_requirements?: MfaRequirements

                                                                                                                                    MFA requirements indicating available challenge/enrollment methods

                                                                                                                                    +
                                                                                                                                    mfa_token: string

                                                                                                                                    Encrypted MFA token to pass to MFA API methods.

                                                                                                                                    +

                                                                                                                                    Methods

                                                                                                                                    • Serialize error for HTTP responses. Called automatically by Response.json() and JSON.stringify(). Ensures both SDK and HTTP API consumers get identical shape.

                                                                                                                                      -

                                                                                                                                      Returns {
                                                                                                                                          error: string;
                                                                                                                                          error_description: string;
                                                                                                                                          mfa_requirements?: MfaRequirements;
                                                                                                                                          mfa_token: string;
                                                                                                                                      }

                                                                                                                                    +

                                                                                                                                    Returns {
                                                                                                                                        error: string;
                                                                                                                                        error_description: string;
                                                                                                                                        mfa_requirements?: MfaRequirements;
                                                                                                                                        mfa_token: string;
                                                                                                                                    }

                                                                                                                                    diff --git a/docs/classes/server.MfaTokenExpiredError.html b/docs/classes/server.MfaTokenExpiredError.html index afdcbd511..f6ed3a014 100644 --- a/docs/classes/server.MfaTokenExpiredError.html +++ b/docs/classes/server.MfaTokenExpiredError.html @@ -1,4 +1,4 @@ -MfaTokenExpiredError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                      Preparing search index...

                                                                                                                                      Class MfaTokenExpiredError

                                                                                                                                      Thrown when MFA API methods are called but no context exists in session +MfaTokenExpiredError | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                        Class MfaTokenExpiredError

                                                                                                                                        Thrown when MFA API methods are called but no context exists in session for the provided encrypted mfa_token.

                                                                                                                                        This typically occurs when:

                                                                                                                                          @@ -9,6 +9,6 @@
                                                                                                                                        try {
                                                                                                                                        await auth0.completeMfaChallenge(mfaToken, code);
                                                                                                                                        } catch (error) {
                                                                                                                                        if (error instanceof MfaTokenNotFoundError) {
                                                                                                                                        // Restart MFA flow - context was lost
                                                                                                                                        redirect("/auth/login?prompt=mfa");
                                                                                                                                        }
                                                                                                                                        }
                                                                                                                                        -

                                                                                                                                        Hierarchy (View Summary)

                                                                                                                                        Index

                                                                                                                                        Constructors

                                                                                                                                        Hierarchy (View Summary)

                                                                                                                                        Index

                                                                                                                                        Constructors

                                                                                                                                        Properties

                                                                                                                                        Constructors

                                                                                                                                        Properties

                                                                                                                                        code: string = "mfa_token_expired"
                                                                                                                                        +

                                                                                                                                        Constructors

                                                                                                                                        Properties

                                                                                                                                        code: string = "mfa_token_expired"
                                                                                                                                        diff --git a/docs/classes/server.MfaTokenInvalidError.html b/docs/classes/server.MfaTokenInvalidError.html index c54581ac3..1e8d4554e 100644 --- a/docs/classes/server.MfaTokenInvalidError.html +++ b/docs/classes/server.MfaTokenInvalidError.html @@ -1,10 +1,10 @@ -MfaTokenInvalidError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                          Preparing search index...

                                                                                                                                          Class MfaTokenInvalidError

                                                                                                                                          Thrown when the encrypted mfa_token is invalid.

                                                                                                                                          +MfaTokenInvalidError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                          @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                            Preparing search index...

                                                                                                                                            Class MfaTokenInvalidError

                                                                                                                                            Thrown when the encrypted mfa_token is invalid.

                                                                                                                                            This occurs when:

                                                                                                                                            • The token was tampered with
                                                                                                                                            • The token is malformed (not valid JWE)
                                                                                                                                            • The token was encrypted with a different secret
                                                                                                                                            -

                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                            Index

                                                                                                                                            Constructors

                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                            Index

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            code: string = "mfa_token_invalid"
                                                                                                                                            +

                                                                                                                                            Constructors

                                                                                                                                            Properties

                                                                                                                                            code: string = "mfa_token_invalid"
                                                                                                                                            diff --git a/docs/classes/server.SessionDomainMismatchError.html b/docs/classes/server.SessionDomainMismatchError.html index e5dfd6e6a..a3235e06b 100644 --- a/docs/classes/server.SessionDomainMismatchError.html +++ b/docs/classes/server.SessionDomainMismatchError.html @@ -1,8 +1,8 @@ -SessionDomainMismatchError | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                              Preparing search index...

                                                                                                                                              Class SessionDomainMismatchError

                                                                                                                                              Error thrown when a session's domain does not match the current request domain.

                                                                                                                                              +SessionDomainMismatchError | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                              @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                Preparing search index...

                                                                                                                                                Class SessionDomainMismatchError

                                                                                                                                                Error thrown when a session's domain does not match the current request domain.

                                                                                                                                                This indicates a potential security issue where a user is attempting to use a session created for a different domain.

                                                                                                                                                -

                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                Index

                                                                                                                                                Constructors

                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                Index

                                                                                                                                                Constructors

                                                                                                                                                Properties

                                                                                                                                                Constructors

                                                                                                                                                Properties

                                                                                                                                                code: string = "session_domain_mismatch"
                                                                                                                                                +

                                                                                                                                                Returns SessionDomainMismatchError

                                                                                                                                                Properties

                                                                                                                                                code: string = "session_domain_mismatch"
                                                                                                                                                diff --git a/docs/classes/server.TransactionStore.html b/docs/classes/server.TransactionStore.html index 37ea5c501..7140ef01c 100644 --- a/docs/classes/server.TransactionStore.html +++ b/docs/classes/server.TransactionStore.html @@ -1,15 +1,15 @@ -TransactionStore | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                  Preparing search index...

                                                                                                                                                  Class TransactionStore

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

                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.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 65d7709f4..aa32ebb4d 100644 --- a/docs/enums/errors.AccessTokenErrorCode.html +++ b/docs/enums/errors.AccessTokenErrorCode.html @@ -1,4 +1,4 @@ -AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                      Preparing search index...

                                                                                                                                                      Enumeration AccessTokenErrorCode

                                                                                                                                                      Index

                                                                                                                                                      Enumeration Members

                                                                                                                                                      FAILED_TO_REFRESH_TOKEN +AccessTokenErrorCode | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.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 ed7f96fc5..6aa4e6c5b 100644 --- a/docs/enums/errors.AccessTokenForConnectionErrorCode.html +++ b/docs/enums/errors.AccessTokenForConnectionErrorCode.html @@ -1,8 +1,8 @@ -AccessTokenForConnectionErrorCode | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                          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.19.0
                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.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 ca7b9bc63..f420cccdb 100644 --- a/docs/enums/errors.ConnectAccountErrorCodes.html +++ b/docs/enums/errors.ConnectAccountErrorCodes.html @@ -1,8 +1,8 @@ -ConnectAccountErrorCodes | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                              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.19.0
                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.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.CustomTokenExchangeErrorCode.html b/docs/enums/errors.CustomTokenExchangeErrorCode.html index 5676a5342..d7bbae4f0 100644 --- a/docs/enums/errors.CustomTokenExchangeErrorCode.html +++ b/docs/enums/errors.CustomTokenExchangeErrorCode.html @@ -1,10 +1,10 @@ -CustomTokenExchangeErrorCode | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                  Preparing search index...

                                                                                                                                                                  Enumeration CustomTokenExchangeErrorCode

                                                                                                                                                                  Error codes for Custom Token Exchange errors.

                                                                                                                                                                  -
                                                                                                                                                                  Index

                                                                                                                                                                  Enumeration Members

                                                                                                                                                                  EXCHANGE_FAILED +CustomTokenExchangeErrorCode | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                    Preparing search index...

                                                                                                                                                                    Enumeration CustomTokenExchangeErrorCode

                                                                                                                                                                    Error codes for Custom Token Exchange errors.

                                                                                                                                                                    +
                                                                                                                                                                    Index

                                                                                                                                                                    Enumeration Members

                                                                                                                                                                    EXCHANGE_FAILED: "exchange_failed"

                                                                                                                                                                    The token exchange request failed.

                                                                                                                                                                    -
                                                                                                                                                                    INVALID_SUBJECT_TOKEN_TYPE: "invalid_subject_token_type"

                                                                                                                                                                    The subject_token_type is not a valid URI, wrong length, or uses a reserved namespace.

                                                                                                                                                                    -
                                                                                                                                                                    MISSING_ACTOR_TOKEN_TYPE: "missing_actor_token_type"

                                                                                                                                                                    The actor_token was provided without actor_token_type.

                                                                                                                                                                    -
                                                                                                                                                                    MISSING_SUBJECT_TOKEN: "missing_subject_token"

                                                                                                                                                                    The subject_token is missing or empty.

                                                                                                                                                                    -
                                                                                                                                                                    +
                                                                                                                                                                    INVALID_SUBJECT_TOKEN_TYPE: "invalid_subject_token_type"

                                                                                                                                                                    The subject_token_type is not a valid URI, wrong length, or uses a reserved namespace.

                                                                                                                                                                    +
                                                                                                                                                                    MISSING_ACTOR_TOKEN_TYPE: "missing_actor_token_type"

                                                                                                                                                                    The actor_token was provided without actor_token_type.

                                                                                                                                                                    +
                                                                                                                                                                    MISSING_SUBJECT_TOKEN: "missing_subject_token"

                                                                                                                                                                    The subject_token is missing or empty.

                                                                                                                                                                    +
                                                                                                                                                                    diff --git a/docs/enums/errors.DPoPErrorCode.html b/docs/enums/errors.DPoPErrorCode.html index 5ad294471..a047a9d90 100644 --- a/docs/enums/errors.DPoPErrorCode.html +++ b/docs/enums/errors.DPoPErrorCode.html @@ -1,16 +1,16 @@ -DPoPErrorCode | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                      Preparing search index...

                                                                                                                                                                      Enumeration DPoPErrorCode

                                                                                                                                                                      Error codes for DPoP-related errors.

                                                                                                                                                                      +DPoPErrorCode | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.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 fe972008b..495477405 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.18.0
                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                          Preparing search index...

                                                                                                                                                                          Enumeration RESPONSE_TYPES

                                                                                                                                                                          Index

                                                                                                                                                                          Enumeration Members

                                                                                                                                                                          CODE +RESPONSE_TYPES | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.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 26979e850..a2ac70198 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.18.0
                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                              Preparing search index...

                                                                                                                                                                              Enumeration SUBJECT_TOKEN_TYPES

                                                                                                                                                                              Index

                                                                                                                                                                              Enumeration Members

                                                                                                                                                                              SUBJECT_TYPE_ACCESS_TOKEN +SUBJECT_TOKEN_TYPES | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.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 37eb07d22..8c9be225a 100644 --- a/docs/functions/client.Auth0Provider.html +++ b/docs/functions/client.Auth0Provider.html @@ -1 +1 @@ -Auth0Provider | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                  Function Auth0Provider

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

                                                                                                                                                                                    Function Auth0Provider

                                                                                                                                                                                    diff --git a/docs/functions/client.getAccessToken.html b/docs/functions/client.getAccessToken.html index f4477a9a3..35e056e02 100644 --- a/docs/functions/client.getAccessToken.html +++ b/docs/functions/client.getAccessToken.html @@ -1,11 +1,11 @@ -getAccessToken | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                      Function getAccessToken

                                                                                                                                                                                      • Fetches an access token for the currently logged-in user.

                                                                                                                                                                                        +getAccessToken | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                          Function getAccessToken

                                                                                                                                                                                          • Fetches an access token for the currently logged-in user.

                                                                                                                                                                                            Parameters

                                                                                                                                                                                            • options: AccessTokenOptions & { includeFullResponse: true }

                                                                                                                                                                                              Options for fetching the access token, including optional audience and scope.

                                                                                                                                                                                              -

                                                                                                                                                                                            Returns Promise<AccessTokenResponse>

                                                                                                                                                                                            The access token as a string, or the full token response when includeFullResponse is true.

                                                                                                                                                                                            +

                                                                                                                                                                                          Returns Promise<AccessTokenResponse>

                                                                                                                                                                                          The access token as a string, or the full token response when includeFullResponse is true.

                                                                                                                                                                                          Passing audience or scope relies on MRRT to be configured in your Auth0 Application.

                                                                                                                                                                                        • Fetches an access token for the currently logged-in user.

                                                                                                                                                                                          +
                                                                                                                                                                                      • Fetches an access token for the currently logged-in user.

                                                                                                                                                                                        Parameters

                                                                                                                                                                                        • Optionaloptions: AccessTokenOptions & { includeFullResponse?: false }

                                                                                                                                                                                          Options for fetching the access token, including optional audience and scope.

                                                                                                                                                                                        Returns Promise<string>

                                                                                                                                                                                        The access token as a string, or the full token response when includeFullResponse is true.

                                                                                                                                                                                        Passing audience or scope relies on MRRT to be configured in your Auth0 Application.

                                                                                                                                                                                      • +
                                                                                                                                                                                        diff --git a/docs/functions/client.useUser.html b/docs/functions/client.useUser.html index f7a05eaeb..c99cb25fe 100644 --- a/docs/functions/client.useUser.html +++ b/docs/functions/client.useUser.html @@ -1 +1 @@ -useUser | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.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;
                                                                                                                                                                                                }

                                                                                                                                                                                          +useUser | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.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 fefec7516..65f03230c 100644 --- a/docs/functions/server.filterDefaultIdTokenClaims.html +++ b/docs/functions/server.filterDefaultIdTokenClaims.html @@ -1,4 +1,4 @@ -filterDefaultIdTokenClaims | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                              Function filterDefaultIdTokenClaims

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

                                                                                                                                                                                                +filterDefaultIdTokenClaims | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.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/server.generateDpopKeyPair.html b/docs/functions/server.generateDpopKeyPair.html index fa204bfeb..96528d500 100644 --- a/docs/functions/server.generateDpopKeyPair.html +++ b/docs/functions/server.generateDpopKeyPair.html @@ -1,4 +1,4 @@ -generateDpopKeyPair | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                  Function generateDpopKeyPair

                                                                                                                                                                                                  • Generates a new ES256 key pair for DPoP (Demonstrating Proof-of-Possession) operations.

                                                                                                                                                                                                    +generateDpopKeyPair | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Function generateDpopKeyPair

                                                                                                                                                                                                    +
                                                                                                                                                                                                    diff --git a/docs/functions/testing.generateSessionCookie.html b/docs/functions/testing.generateSessionCookie.html index 77e591526..46f0da1c8 100644 --- a/docs/functions/testing.generateSessionCookie.html +++ b/docs/functions/testing.generateSessionCookie.html @@ -1 +1 @@ -generateSessionCookie | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                      Function generateSessionCookie

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

                                                                                                                                                                                                        Function generateSessionCookie

                                                                                                                                                                                                        diff --git a/docs/hierarchy.html b/docs/hierarchy.html index 0fc887b5a..6ee315cb0 100644 --- a/docs/hierarchy.html +++ b/docs/hierarchy.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0

                                                                                                                                                                                                          Hierarchy Summary

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

                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.0

                                                                                                                                                                                                            Hierarchy Summary

                                                                                                                                                                                                            diff --git a/docs/index.html b/docs/index.html index be037f3ad..b7bfdaf31 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,25 +1,21 @@ -@auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0

                                                                                                                                                                                                              Auth0 Next.js SDK Banner

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

                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.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 Auth0 Next.js SDK Downloads Auth0 Next.js SDK License

                                                                                                                                                                                                                📚 Documentation - 🚀 Getting Started - 💻 API Reference - 💬 Feedback

                                                                                                                                                                                                                - -
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  • QuickStart - our guide for adding Auth0 to your Next.js app.
                                                                                                                                                                                                                  • Examples - lots of examples for your different use cases.
                                                                                                                                                                                                                  • Security - Some important security notices that you should check.
                                                                                                                                                                                                                  • Docs Site - explore our docs site and learn more about Auth0.
                                                                                                                                                                                                                  - - -
                                                                                                                                                                                                                  npm i @auth0/nextjs-auth0
                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  npm i @auth0/nextjs-auth0
                                                                                                                                                                                                                   

                                                                                                                                                                                                                  This library requires Node.js 20 LTS and newer LTS versions.

                                                                                                                                                                                                                  - -

                                                                                                                                                                                                                  Add the following environment variables to your .env.local file:

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Add the following environment variables to your .env.local file:

                                                                                                                                                                                                                  AUTH0_DOMAIN=
                                                                                                                                                                                                                   AUTH0_CLIENT_ID=
                                                                                                                                                                                                                   AUTH0_CLIENT_SECRET=
                                                                                                                                                                                                                  @@ -42,8 +38,7 @@ 

                                                                                                                                                                                                                When using dynamic hosts (preview environments), ensure the resulting callback and logout URLs are registered in your Auth0 application.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                For preview environments (Vercel, Netlify), you can omit APP_BASE_URL and let the SDK infer the base URL from the incoming request host at runtime. This keeps dynamic preview URLs working without extra configuration.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                For preview environments (Vercel, Netlify), you can omit APP_BASE_URL and let the SDK infer the base URL from the incoming request host at runtime. This keeps dynamic preview URLs working without extra configuration.

                                                                                                                                                                                                                If you know the base URL at startup (for example, a stable production domain), set appBaseUrl or APP_BASE_URL to a single absolute URL. Comma-separated values are not supported.

                                                                                                                                                                                                                Because the Host header is untrusted input, Auth0's Allowed Callback URLs are the safety net in this mode: if the inferred host is not registered, Auth0 rejects the authorize request.

                                                                                                                                                                                                                Example (dynamic):

                                                                                                                                                                                                                @@ -57,8 +52,7 @@ -

                                                                                                                                                                                                                Create an instance of the Auth0 client. This instance will be imported and used in anywhere you need access to the authentication methods on the server.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                Create an instance of the Auth0 client. This instance will be imported and used in anywhere you need access to the authentication methods on the server.

                                                                                                                                                                                                                Add the following contents to a file named lib/auth0.ts:

                                                                                                                                                                                                                import { Auth0Client } from "@auth0/nextjs-auth0/server";

                                                                                                                                                                                                                export const auth0 = new Auth0Client();
                                                                                                                                                                                                                @@ -66,19 +60,16 @@ -

                                                                                                                                                                                                                Authentication requests in Next.js are intercepted at the network boundary using a middleware or proxy file.
                                                                                                                                                                                                                +

                                                                                                                                                                                                                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:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                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. +

                                                                                                                                                                                                                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):

                                                                                                                                                                                                                @@ -101,8 +92,7 @@
                                                                                                                                                                                                                - -

                                                                                                                                                                                                                You can customize the client by using the options below:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                You can customize the client by using the options below:

                                                                                                                                                                                                                @@ -238,14 +228,18 @@ + + + + +
                                                                                                                                                                                                                cspNoncestringCSP nonce for inline scripts in popup callback HTML responses. When provided, <script> tags in the MFA popup callback include a nonce="..." attribute for strict Content Security Policy compliance. Only required when using mfa.challengeWithPopup() with a CSP that blocks inline scripts.
                                                                                                                                                                                                                discoveryCache DiscoveryCacheOptions Configure the OIDC discovery metadata cache for Multiple Custom Domains. Controls TTL and maximum cached issuers.
                                                                                                                                                                                                                - -

                                                                                                                                                                                                                While the authentication routes are handled automatically by the middleware, you can still customize the authentication flow through two main approaches:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                While the authentication routes are handled automatically by the middleware, you can still customize the authentication flow through two main approaches:

                                                                                                                                                                                                                • Run custom code before auth handlers: Intercept auth routes in your middleware to add custom logic before authentication actions
                                                                                                                                                                                                                • Run code after authentication: Use the onCallback hook to add custom logic after authentication completes
                                                                                                                                                                                                                • @@ -260,8 +254,7 @@

                                                                                                                                                                                                                Quick Start: For detailed examples and step-by-step migration patterns from v3, see Customizing Auth Handlers.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                You can specify the following environment variables to configure the session cookie:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                You can specify the following environment variables to configure the session cookie:

                                                                                                                                                                                                                AUTH0_COOKIE_DOMAIN=
                                                                                                                                                                                                                 AUTH0_COOKIE_PATH=
                                                                                                                                                                                                                 AUTH0_COOKIE_TRANSIENT=
                                                                                                                                                                                                                @@ -273,10 +266,8 @@ 
                                                                                                                                                                                                                - -

                                                                                                                                                                                                                The Auth0 Next.js SDK supports DPoP (Demonstrating Proof-of-Possession) for enhanced OAuth 2.0 security. DPoP binds access tokens to cryptographic key pairs, preventing token theft and replay attacks.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                Option 1: Environment Variables

                                                                                                                                                                                                                +

                                                                                                                                                                                                                The Auth0 Next.js SDK supports DPoP (Demonstrating Proof-of-Possession) for enhanced OAuth 2.0 security. DPoP binds access tokens to cryptographic key pairs, preventing token theft and replay attacks.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                Option 1: Environment Variables

                                                                                                                                                                                                                # Enable DPoP and provide ES256 key pair
                                                                                                                                                                                                                 AUTH0_DPOP_PUBLIC_KEY="-----BEGIN PUBLIC KEY-----
                                                                                                                                                                                                                 MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE...
                                                                                                                                                                                                                @@ -293,16 +284,14 @@ 
                                                                                                                                                                                                                - -
                                                                                                                                                                                                                // Create a fetcher - DPoP inherited from global configuration
                                                                                                                                                                                                                const fetcher = await auth0.createFetcher(req, {
                                                                                                                                                                                                                baseUrl: "https://api.example.com"
                                                                                                                                                                                                                // useDPoP is inherited from Auth0Client config
                                                                                                                                                                                                                });

                                                                                                                                                                                                                // Make authenticated requests with automatic DPoP proof generation
                                                                                                                                                                                                                const response = await fetcher.fetchWithAuth("/protected-resource", {
                                                                                                                                                                                                                method: "POST",
                                                                                                                                                                                                                headers: { "Content-Type": "application/json" },
                                                                                                                                                                                                                body: JSON.stringify({ data: "example" })
                                                                                                                                                                                                                }); +
                                                                                                                                                                                                                // Create a fetcher - DPoP inherited from global configuration
                                                                                                                                                                                                                const fetcher = await auth0.createFetcher(req, {
                                                                                                                                                                                                                baseUrl: "https://api.example.com"
                                                                                                                                                                                                                // useDPoP is inherited from Auth0Client config
                                                                                                                                                                                                                });

                                                                                                                                                                                                                // Make authenticated requests with automatic DPoP proof generation
                                                                                                                                                                                                                const response = await fetcher.fetchWithAuth("/protected-resource", {
                                                                                                                                                                                                                method: "POST",
                                                                                                                                                                                                                headers: { "Content-Type": "application/json" },
                                                                                                                                                                                                                body: JSON.stringify({ data: "example" })
                                                                                                                                                                                                                });

                                                                                                                                                                                                                DPoP Inheritance Behavior

                                                                                                                                                                                                                Fetchers created with createFetcher automatically inherit the global DPoP configuration from your Auth0Client instance.

                                                                                                                                                                                                                This inheritance pattern follows the same behavior as auth0-spa-js, providing consistent developer experience across Auth0 SDKs.

                                                                                                                                                                                                                For complete DPoP documentation, examples, and best practices, see DPoP Examples.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                Configure timing validation for DPoP proofs to handle clock differences between client and server:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                Configure timing validation for DPoP proofs to handle clock differences between client and server:

                                                                                                                                                                                                                export const auth0 = new Auth0Client({
                                                                                                                                                                                                                useDPoP: true,
                                                                                                                                                                                                                dpopKeyPair: await generateKeyPair("ES256"),
                                                                                                                                                                                                                dpopOptions: {
                                                                                                                                                                                                                clockSkew: 120, // Adjust for local clock being 2 minutes behind
                                                                                                                                                                                                                clockTolerance: 45 // Allow 45 seconds tolerance for validation
                                                                                                                                                                                                                }
                                                                                                                                                                                                                });
                                                                                                                                                                                                                @@ -312,36 +301,30 @@

                                                                                                                                                                                                                Respective counterparts are also available in the client configuration. See Cookie Configuration for more details.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                The SDK provides built-in proxy support for Auth0's My Account and My Organization Management APIs, enabling secure browser-initiated requests while maintaining server-side DPoP authentication and token management.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                The proxy handler automatically intercepts requests to /me/* and /my-org/* paths in your Next.js application and forwards them to the respective Auth0 APIs with proper authentication headers. This implements a Backend-for-Frontend (BFF) pattern where:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                The SDK provides built-in proxy support for Auth0's My Account and My Organization Management APIs, enabling secure browser-initiated requests while maintaining server-side DPoP authentication and token management.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                The proxy handler automatically intercepts requests to /me/* and /my-org/* paths in your Next.js application and forwards them to the respective Auth0 APIs with proper authentication headers. This implements a Backend-for-Frontend (BFF) pattern where:

                                                                                                                                                                                                                • Tokens and DPoP keys remain on the server
                                                                                                                                                                                                                • Access tokens are automatically retrieved or refreshed
                                                                                                                                                                                                                • DPoP proofs are generated for each request
                                                                                                                                                                                                                • Session updates occur transparently
                                                                                                                                                                                                                - -

                                                                                                                                                                                                                Configure audience and scopes for the APIs:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                Configure audience and scopes for the APIs:

                                                                                                                                                                                                                import { Auth0Client } from "@auth0/nextjs-auth0/server";

                                                                                                                                                                                                                export const auth0 = new Auth0Client({
                                                                                                                                                                                                                useDPoP: true,
                                                                                                                                                                                                                authorizationParameters: {
                                                                                                                                                                                                                audience: "urn:your-api-identifier",
                                                                                                                                                                                                                scope: {
                                                                                                                                                                                                                [`https://${process.env.AUTH0_DOMAIN}/me/`]: "profile:read profile:write",
                                                                                                                                                                                                                [`https://${process.env.AUTH0_DOMAIN}/my-org/`]: "org:read org:write"
                                                                                                                                                                                                                }
                                                                                                                                                                                                                }
                                                                                                                                                                                                                });
                                                                                                                                                                                                                - -

                                                                                                                                                                                                                Make requests through the proxy paths:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                Make requests through the proxy paths:

                                                                                                                                                                                                                // My Account API
                                                                                                                                                                                                                const response = await fetch("/me/v1/profile", {
                                                                                                                                                                                                                headers: { "scope": "profile:read" }
                                                                                                                                                                                                                });

                                                                                                                                                                                                                // My Organization API
                                                                                                                                                                                                                const response = await fetch("/my-org/organizations", {
                                                                                                                                                                                                                headers: { "scope": "org:read" }
                                                                                                                                                                                                                });

                                                                                                                                                                                                                The scope header specifies the required scope. The SDK retrieves an access token with the appropriate audience and scope, then forwards the request with authentication headers.

                                                                                                                                                                                                                For complete documentation, examples, and integration patterns with UI Components, see Proxy Handler for My Account and My Organization APIs.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                Your Next.js application may be configured to use a base path (e.g.: /dashboard) — this is usually done by setting the basePath option in the next.config.js file. To configure the SDK to use the base path, you will also need to set the NEXT_PUBLIC_BASE_PATH environment variable which will be used when mounting the authentication routes.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                Your Next.js application may be configured to use a base path (e.g.: /dashboard) — this is usually done by setting the basePath option in the next.config.js file. To configure the SDK to use the base path, you will also need to set the NEXT_PUBLIC_BASE_PATH environment variable which will be used when mounting the authentication routes.

                                                                                                                                                                                                                For example, if the NEXT_PUBLIC_BASE_PATH environment variable is set to /dashboard, the SDK will mount the authentication routes on /dashboard/auth/login, /dashboard/auth/callback, /dashboard/auth/profile, etc.

                                                                                                                                                                                                                Note

                                                                                                                                                                                                                We do not recommend using the NEXT_PUBLIC_BASE_PATH environment variable in conjunction with a APP_BASE_URL that contains a path component. If your application is configured to use a base path, you should set the APP_BASE_URL to the root URL of your application (e.g.: https://example.com) and use the NEXT_PUBLIC_BASE_PATH environment variable to specify the base path (e.g.: /dashboard).

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                The SDK performs validation of required configuration options when initializing the Auth0Client. The following options are mandatory and must be provided either through constructor options or environment variables:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                The SDK performs validation of required configuration options when initializing the Auth0Client. The following options are mandatory and must be provided either through constructor options or environment variables:

                                                                                                                                                                                                                • domain (or AUTH0_DOMAIN environment variable)
                                                                                                                                                                                                                • clientId (or AUTH0_CLIENT_ID environment variable)
                                                                                                                                                                                                                • @@ -355,14 +338,12 @@

                                                                                                                                                                                                                If any of these required options are missing, the SDK will issue a warning with a detailed message explaining which options are missing and how to provide them.

                                                                                                                                                                                                                appBaseUrl is optional; if omitted, the SDK will infer it from the request host at runtime.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                The SDK supports authenticating users against multiple Auth0 custom domains on the same tenant. Pass a DomainResolver function as the domain option to enable per-request domain resolution:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                The SDK supports authenticating users against multiple Auth0 custom domains on the same tenant. Pass a DomainResolver function as the domain option to enable per-request domain resolution:

                                                                                                                                                                                                                import { Auth0Client } from "@auth0/nextjs-auth0/server";

                                                                                                                                                                                                                export const auth0 = new Auth0Client({
                                                                                                                                                                                                                domain: ({ headers }) => {
                                                                                                                                                                                                                const host = headers.get("host") ?? "";
                                                                                                                                                                                                                if (host.startsWith("brand1.")) return "auth.brand1.com";
                                                                                                                                                                                                                return "auth.default.com";
                                                                                                                                                                                                                }
                                                                                                                                                                                                                });

                                                                                                                                                                                                                For complete documentation, configuration options, and examples, see Multiple Custom Domains in EXAMPLES.md.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                The SDK mounts 6 routes:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                The SDK mounts 6 routes:

                                                                                                                                                                                                                1. /auth/login: the login route that the user will be redirected to to initiate an authentication transaction
                                                                                                                                                                                                                2. /auth/logout: the logout route that must be added to your Auth0 application's Allowed Logout URLs
                                                                                                                                                                                                                3. @@ -380,20 +361,15 @@
                                                                                                                                                                                                                - - -

                                                                                                                                                                                                                We appreciate feedback and contribution to this repo! Before you get started, please read the following:

                                                                                                                                                                                                                +

                                                                                                                                                                                                                We appreciate feedback and contribution to this repo! Before you get started, please read the following:

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                To provide feedback or report a bug, please raise an issue on our issue tracker.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

                                                                                                                                                                                                                - -

                                                                                                                                                                                                                +

                                                                                                                                                                                                                To provide feedback or report a bug, please raise an issue on our issue tracker.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                Please do not report security vulnerabilities on the public GitHub issue tracker. The Responsible Disclosure Program details the procedure for disclosing security issues.

                                                                                                                                                                                                                +

                                                                                                                                                                                                                @@ -405,4 +381,4 @@

                                                                                                                                                                                                                +

                                                                                                                                                                                                                diff --git a/docs/interfaces/client.ChallengeWithPopupOptions.html b/docs/interfaces/client.ChallengeWithPopupOptions.html new file mode 100644 index 000000000..77fc9fca4 --- /dev/null +++ b/docs/interfaces/client.ChallengeWithPopupOptions.html @@ -0,0 +1,26 @@ +ChallengeWithPopupOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                  Interface ChallengeWithPopupOptions

                                                                                                                                                                                                                  Options for ClientMfaClient.challengeWithPopup | mfa.challengeWithPopup().

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  Controls the popup MFA step-up flow: which API audience to target, +scopes to request, and popup window behavior.

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  const { token } = await mfa.challengeWithPopup({
                                                                                                                                                                                                                  audience: 'https://api.example.com',
                                                                                                                                                                                                                  scope: 'openid profile email read:sensitive',
                                                                                                                                                                                                                  timeout: 120000,
                                                                                                                                                                                                                  popupWidth: 500,
                                                                                                                                                                                                                  popupHeight: 700
                                                                                                                                                                                                                  }); +
                                                                                                                                                                                                                  + +
                                                                                                                                                                                                                  interface ChallengeWithPopupOptions {
                                                                                                                                                                                                                      acr_values?: string;
                                                                                                                                                                                                                      audience: string;
                                                                                                                                                                                                                      popupHeight?: number;
                                                                                                                                                                                                                      popupWidth?: number;
                                                                                                                                                                                                                      prompt?: string;
                                                                                                                                                                                                                      returnTo?: string;
                                                                                                                                                                                                                      scope?: string;
                                                                                                                                                                                                                      timeout?: number;
                                                                                                                                                                                                                  }
                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                  acr_values?: string

                                                                                                                                                                                                                  ACR values for step-up (optional, default: MFA policy URI)

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  audience: string

                                                                                                                                                                                                                  Target API audience (required)

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  popupHeight?: number

                                                                                                                                                                                                                  Popup window height (optional, default: 600)

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  popupWidth?: number

                                                                                                                                                                                                                  Popup window width (optional, default: 400)

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  prompt?: string

                                                                                                                                                                                                                  OIDC prompt parameter (optional, default: not sent).

                                                                                                                                                                                                                  +

                                                                                                                                                                                                                  When omitted, Auth0 will use the existing session and skip straight to +the MFA challenge if the user is already authenticated. Set to "login" +to force full re-authentication (username + password + MFA).

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  returnTo?: string

                                                                                                                                                                                                                  Return URL after authentication (optional, default: '/')

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  scope?: string

                                                                                                                                                                                                                  Space-separated scopes (optional — inherits global config when omitted)

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  timeout?: number

                                                                                                                                                                                                                  Timeout in milliseconds (optional, default: 60000)

                                                                                                                                                                                                                  +
                                                                                                                                                                                                                  diff --git a/docs/interfaces/client.WithPageAuthRequiredOptions.html b/docs/interfaces/client.WithPageAuthRequiredOptions.html index e2d0d1d85..65d1bfebf 100644 --- a/docs/interfaces/client.WithPageAuthRequiredOptions.html +++ b/docs/interfaces/client.WithPageAuthRequiredOptions.html @@ -1,17 +1,17 @@ -WithPageAuthRequiredOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.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? +WithPageAuthRequiredOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.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/errors.MfaApiErrorResponse.html b/docs/interfaces/errors.MfaApiErrorResponse.html index e7fe6a63a..e617212a4 100644 --- a/docs/interfaces/errors.MfaApiErrorResponse.html +++ b/docs/interfaces/errors.MfaApiErrorResponse.html @@ -1,6 +1,6 @@ -MfaApiErrorResponse | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                        Interface MfaApiErrorResponse

                                                                                                                                                                                                                        Interface for Auth0 MFA API error responses. +MfaApiErrorResponse | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                          Interface MfaApiErrorResponse

                                                                                                                                                                                                                          Interface for Auth0 MFA API error responses. All MFA errors from Auth0 follow this shape (snake_case).

                                                                                                                                                                                                                          -
                                                                                                                                                                                                                          interface MfaApiErrorResponse {
                                                                                                                                                                                                                              error: string;
                                                                                                                                                                                                                              error_description: string;
                                                                                                                                                                                                                              message?: string;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                          interface MfaApiErrorResponse {
                                                                                                                                                                                                                              error: string;
                                                                                                                                                                                                                              error_description: string;
                                                                                                                                                                                                                              message?: string;
                                                                                                                                                                                                                          }
                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                          error: string
                                                                                                                                                                                                                          error_description: string
                                                                                                                                                                                                                          message?: string
                                                                                                                                                                                                                          +

                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                          error: string
                                                                                                                                                                                                                          error_description: string
                                                                                                                                                                                                                          message?: string
                                                                                                                                                                                                                          diff --git a/docs/interfaces/server.MfaRequirements.html b/docs/interfaces/server.MfaRequirements.html index 6ea273a16..4d7e21cb6 100644 --- a/docs/interfaces/server.MfaRequirements.html +++ b/docs/interfaces/server.MfaRequirements.html @@ -1,8 +1,8 @@ -MfaRequirements | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                            Interface MfaRequirements

                                                                                                                                                                                                                            MFA requirements from an mfa_required error response. +MfaRequirements | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                              Interface MfaRequirements

                                                                                                                                                                                                                              MFA requirements from an mfa_required error response. Indicates which MFA methods are available for the user. Matches Auth0 API response shape and auth0-spa-js type.

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              interface MfaRequirements {
                                                                                                                                                                                                                                  challenge?: { type: string }[];
                                                                                                                                                                                                                                  enroll?: { type: string }[];
                                                                                                                                                                                                                              }
                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              interface MfaRequirements {
                                                                                                                                                                                                                                  challenge?: { type: string }[];
                                                                                                                                                                                                                                  enroll?: { type: string }[];
                                                                                                                                                                                                                              }
                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                              challenge?: { type: string }[]

                                                                                                                                                                                                                              Available challenge types (existing authenticators)

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              enroll?: { type: string }[]

                                                                                                                                                                                                                              Required enrollment types (user needs to enroll new authenticator)

                                                                                                                                                                                                                              -
                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              enroll?: { type: string }[]

                                                                                                                                                                                                                              Required enrollment types (user needs to enroll new authenticator)

                                                                                                                                                                                                                              +
                                                                                                                                                                                                                              diff --git a/docs/interfaces/types.AccessTokenForConnectionOptions.html b/docs/interfaces/types.AccessTokenForConnectionOptions.html index 2aa5d676d..09ac3bdba 100644 --- a/docs/interfaces/types.AccessTokenForConnectionOptions.html +++ b/docs/interfaces/types.AccessTokenForConnectionOptions.html @@ -1,14 +1,14 @@ -AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.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 +AccessTokenForConnectionOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.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 67530223b..b6cc861ee 100644 --- a/docs/interfaces/types.AccessTokenSet.html +++ b/docs/interfaces/types.AccessTokenSet.html @@ -1,7 +1,7 @@ -AccessTokenSet | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                    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.19.0
                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.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 d5b9ee586..6146de94b 100644 --- a/docs/interfaces/types.Auth0ClientOptions.html +++ b/docs/interfaces/types.Auth0ClientOptions.html @@ -1,4 +1,4 @@ -Auth0ClientOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                        Interface Auth0ClientOptions

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

                                                                                                                                                                                                                                        Properties

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

                                                                                                                                                                                                                                          Interface Auth0ClientOptions

                                                                                                                                                                                                                                          interface Auth0ClientOptions {
                                                                                                                                                                                                                                              allowInsecureRequests?: boolean;
                                                                                                                                                                                                                                              appBaseUrl?: string | string[];
                                                                                                                                                                                                                                              authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                                                                                              beforeSessionSaved?: BeforeSessionSavedHook;
                                                                                                                                                                                                                                              clientAssertionSigningAlg?: string;
                                                                                                                                                                                                                                              clientAssertionSigningKey?: string | CryptoKey;
                                                                                                                                                                                                                                              clientId?: string;
                                                                                                                                                                                                                                              clientSecret?: string;
                                                                                                                                                                                                                                              cspNonce?: string;
                                                                                                                                                                                                                                              discoveryCache?: DiscoveryCacheOptions;
                                                                                                                                                                                                                                              domain?: string | DomainResolver;
                                                                                                                                                                                                                                              dpopKeyPair?: DpopKeyPair;
                                                                                                                                                                                                                                              dpopOptions?: DpopOptions;
                                                                                                                                                                                                                                              enableAccessTokenEndpoint?: boolean;
                                                                                                                                                                                                                                              enableConnectAccountEndpoint?: boolean;
                                                                                                                                                                                                                                              enableParallelTransactions?: boolean;
                                                                                                                                                                                                                                              enableTelemetry?: boolean;
                                                                                                                                                                                                                                              httpTimeout?: number;
                                                                                                                                                                                                                                              includeIdTokenHintInOIDCLogoutUrl?: boolean;
                                                                                                                                                                                                                                              logoutStrategy?: LogoutStrategy;
                                                                                                                                                                                                                                              mfaTokenTtl?: number;
                                                                                                                                                                                                                                              noContentProfileResponseWhenUnauthenticated?: boolean;
                                                                                                                                                                                                                                              onCallback?: OnCallbackHook;
                                                                                                                                                                                                                                              pushedAuthorizationRequests?: boolean;
                                                                                                                                                                                                                                              routes?: Partial<
                                                                                                                                                                                                                                                  Pick<
                                                                                                                                                                                                                                                      Routes,
                                                                                                                                                                                                                                                      "login"
                                                                                                                                                                                                                                                      | "callback"
                                                                                                                                                                                                                                                      | "logout"
                                                                                                                                                                                                                                                      | "backChannelLogout"
                                                                                                                                                                                                                                                      | "connectAccount",
                                                                                                                                                                                                                                                  >,
                                                                                                                                                                                                                                              >;
                                                                                                                                                                                                                                              secret?: string;
                                                                                                                                                                                                                                              session?: SessionConfiguration;
                                                                                                                                                                                                                                              sessionStore?: SessionDataStore;
                                                                                                                                                                                                                                              signInReturnToPath?: string;
                                                                                                                                                                                                                                              tokenRefreshBuffer?: number;
                                                                                                                                                                                                                                              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 | string[]

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

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          appBaseUrl?: string | string[]

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

                                                                                                                                                                                                                                          Can be a single URL string, or an array of allowed base URLs. When an array is provided, the SDK validates the incoming request origin against the list and uses the matching entry (allow-list mode). This is useful for multi-domain or preview @@ -40,27 +41,34 @@

                                                                                                                                                                                                                                          If it's not specified, it will be loaded from the APP_BASE_URL environment variable. Multiple origins can be provided as a comma-separated string (e.g. https://app.example.com,https://myapp.vercel.app). If neither is provided, the SDK will infer it from the request host at runtime.

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          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.

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          discoveryCache?: DiscoveryCacheOptions

                                                                                                                                                                                                                                          Configuration for the OIDC discovery metadata cache. +

                                                                                                                                                                                                                                          cspNonce?: string

                                                                                                                                                                                                                                          Content Security Policy nonce for inline scripts in popup flows.

                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                          Required when your application uses CSP and the popup-based step-up +authentication flow (challengeMode: 'popup'). The nonce is +injected into the inline <script> tag of the postMessage HTML response.

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          const auth0 = new Auth0Client({
                                                                                                                                                                                                                                          cspNonce: crypto.randomUUID()
                                                                                                                                                                                                                                          }); +
                                                                                                                                                                                                                                          + +
                                                                                                                                                                                                                                          discoveryCache?: DiscoveryCacheOptions

                                                                                                                                                                                                                                          Configuration for the OIDC discovery metadata cache. Controls TTL and maximum cached issuers for MCD resolver mode. Also applies in static mode (single cached entry).

                                                                                                                                                                                                                                          domain?: string | DomainResolver

                                                                                                                                                                                                                                          The Auth0 domain for the tenant.

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          domain?: string | DomainResolver

                                                                                                                                                                                                                                          The Auth0 domain for the tenant.

                                                                                                                                                                                                                                          • string: Static domain (e.g., "example.us.auth0.com"). Existing behavior preserved.
                                                                                                                                                                                                                                          • DomainResolver: Async function resolving domain per-request from headers. @@ -71,7 +79,7 @@
                                                                                                                                                                                                                                          • DomainResolver for resolver signature and examples.
                                                                                                                                                                                                                                          • MCD Examples
                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          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.

                                                                                                                                                                                                                                          @@ -85,7 +93,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
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                          }); @@ -95,17 +103,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.

                                                                                                                                                                                                                                          @@ -116,40 +124,40 @@
                                                                                                                                                                                                                                          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)
                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          mfaTokenTtl?: number

                                                                                                                                                                                                                                          MFA context TTL in seconds. Controls how long encrypted mfa_token remains valid. +

                                                                                                                                                                                                                                          mfaTokenTtl?: number

                                                                                                                                                                                                                                          MFA context TTL in seconds. Controls how long encrypted mfa_token remains valid. Default: 300 (5 minutes, matching Auth0's mfa_token expiration)

                                                                                                                                                                                                                                          Can also be set via AUTH0_MFA_TOKEN_TTL environment variable.

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          const auth0 = new Auth0Client({
                                                                                                                                                                                                                                          mfaTokenTtl: 600 // 10 minutes
                                                                                                                                                                                                                                          }); +
                                                                                                                                                                                                                                          const auth0 = new Auth0Client({
                                                                                                                                                                                                                                          mfaTokenTtl: 600 // 10 minutes
                                                                                                                                                                                                                                          });
                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          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 /.

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          tokenRefreshBuffer?: number

                                                                                                                                                                                                                                          Number of seconds to refresh access tokens early when calling getAccessToken. +

                                                                                                                                                                                                                                          signInReturnToPath?: string

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

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          tokenRefreshBuffer?: number

                                                                                                                                                                                                                                          Number of seconds to refresh access tokens early when calling getAccessToken. This is a server-side buffer applied to token expiration checks. For example, with a buffer of 60 seconds, tokens expiring within the next minute will be refreshed proactively when a refresh token is available.

                                                                                                                                                                                                                                          Defaults to 0 (no early refresh).

                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                          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.

                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          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
                                                                                                                                                                                                                                          • @@ -169,4 +177,4 @@
                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                          diff --git a/docs/interfaces/types.Authenticator.html b/docs/interfaces/types.Authenticator.html index bb4e729f8..0cbec0748 100644 --- a/docs/interfaces/types.Authenticator.html +++ b/docs/interfaces/types.Authenticator.html @@ -1,9 +1,9 @@ -Authenticator | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                            Interface Authenticator

                                                                                                                                                                                                                                            MFA authenticator (enrolled factor). +Authenticator | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                              Interface Authenticator

                                                                                                                                                                                                                                              MFA authenticator (enrolled factor). Uses camelCase for SDK-facing interface.

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

                                                                                                                                                                                                                                              const otpAuth = authenticators.find(a => a.authenticatorType === 'otp');
                                                                                                                                                                                                                                              const smsAuth = authenticators.find(a => a.oobChannel === 'sms');
                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              interface Authenticator {
                                                                                                                                                                                                                                                  active: boolean;
                                                                                                                                                                                                                                                  authenticatorType: string;
                                                                                                                                                                                                                                                  createdAt?: string;
                                                                                                                                                                                                                                                  id: string;
                                                                                                                                                                                                                                                  lastAuthenticatedAt?: string;
                                                                                                                                                                                                                                                  name?: string;
                                                                                                                                                                                                                                                  oobChannel?: string;
                                                                                                                                                                                                                                                  phoneNumber?: string;
                                                                                                                                                                                                                                                  type?: string;
                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                              interface Authenticator {
                                                                                                                                                                                                                                                  active: boolean;
                                                                                                                                                                                                                                                  authenticatorType: string;
                                                                                                                                                                                                                                                  createdAt?: string;
                                                                                                                                                                                                                                                  id: string;
                                                                                                                                                                                                                                                  lastAuthenticatedAt?: string;
                                                                                                                                                                                                                                                  name?: string;
                                                                                                                                                                                                                                                  oobChannel?: string;
                                                                                                                                                                                                                                                  phoneNumber?: string;
                                                                                                                                                                                                                                                  type?: string;
                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                              active: boolean

                                                                                                                                                                                                                                              Whether authenticator is active

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              authenticatorType: string

                                                                                                                                                                                                                                              Authenticator type (primary field mapped from authenticator_type)

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              createdAt?: string

                                                                                                                                                                                                                                              ISO 8601 timestamp of creation

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              id: string

                                                                                                                                                                                                                                              Authenticator ID

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              lastAuthenticatedAt?: string

                                                                                                                                                                                                                                              ISO 8601 timestamp of last authentication

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              name?: string

                                                                                                                                                                                                                                              Authenticator name (user-defined or default)

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              oobChannel?: string

                                                                                                                                                                                                                                              OOB channel (sms, voice)

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              phoneNumber?: string

                                                                                                                                                                                                                                              Phone number for OOB (masked)

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              type?: string

                                                                                                                                                                                                                                              Direct type value (optional, feature-flagged field from Auth0 API)

                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              authenticatorType: string

                                                                                                                                                                                                                                              Authenticator type (primary field mapped from authenticator_type)

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              createdAt?: string

                                                                                                                                                                                                                                              ISO 8601 timestamp of creation

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              id: string

                                                                                                                                                                                                                                              Authenticator ID

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              lastAuthenticatedAt?: string

                                                                                                                                                                                                                                              ISO 8601 timestamp of last authentication

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              name?: string

                                                                                                                                                                                                                                              Authenticator name (user-defined or default)

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              oobChannel?: string

                                                                                                                                                                                                                                              OOB channel (sms, voice)

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              phoneNumber?: string

                                                                                                                                                                                                                                              Phone number for OOB (masked)

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              type?: string

                                                                                                                                                                                                                                              Direct type value (optional, feature-flagged field from Auth0 API)

                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                              diff --git a/docs/interfaces/types.AuthenticatorApiResponse.html b/docs/interfaces/types.AuthenticatorApiResponse.html new file mode 100644 index 000000000..b940dbd25 --- /dev/null +++ b/docs/interfaces/types.AuthenticatorApiResponse.html @@ -0,0 +1,21 @@ +AuthenticatorApiResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                Interface AuthenticatorApiResponse

                                                                                                                                                                                                                                                Authenticator response from Auth0 API (snake_case). +Maps to Authenticator in SDK-facing interface.

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                interface AuthenticatorApiResponse {
                                                                                                                                                                                                                                                    active: boolean;
                                                                                                                                                                                                                                                    authenticator_type: string;
                                                                                                                                                                                                                                                    created_at?: string;
                                                                                                                                                                                                                                                    id: string;
                                                                                                                                                                                                                                                    last_auth?: string;
                                                                                                                                                                                                                                                    name?: string;
                                                                                                                                                                                                                                                    oob_channel?: string;
                                                                                                                                                                                                                                                    phone_number?: string;
                                                                                                                                                                                                                                                    type?: string;
                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                active: boolean

                                                                                                                                                                                                                                                Whether authenticator is active

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                authenticator_type: string

                                                                                                                                                                                                                                                Authenticator type (primary field)

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                created_at?: string

                                                                                                                                                                                                                                                ISO 8601 timestamp of creation

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                id: string

                                                                                                                                                                                                                                                Authenticator ID

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                last_auth?: string

                                                                                                                                                                                                                                                ISO 8601 timestamp of last authentication

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                name?: string

                                                                                                                                                                                                                                                Authenticator name (user-defined or default)

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                oob_channel?: string

                                                                                                                                                                                                                                                OOB channel (sms, voice)

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                phone_number?: string

                                                                                                                                                                                                                                                Phone number for OOB (masked)

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                type?: string

                                                                                                                                                                                                                                                Direct type value (optional, feature-flagged field)

                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.AuthorizationDetails.html b/docs/interfaces/types.AuthorizationDetails.html index c6b231b71..9dfc0cee1 100644 --- a/docs/interfaces/types.AuthorizationDetails.html +++ b/docs/interfaces/types.AuthorizationDetails.html @@ -1,2 +1,2 @@ -AuthorizationDetails | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                  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.19.0
                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.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 6a6743807..e5ba121c2 100644 --- a/docs/interfaces/types.AuthorizationParameters.html +++ b/docs/interfaces/types.AuthorizationParameters.html @@ -1,15 +1,15 @@ -AuthorizationParameters | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.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? +AuthorizationParameters | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.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 33ace4a23..0e9f44da3 100644 --- a/docs/interfaces/types.BackchannelAuthenticationOptions.html +++ b/docs/interfaces/types.BackchannelAuthenticationOptions.html @@ -1,14 +1,14 @@ -BackchannelAuthenticationOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                          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.19.0
                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.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 7f6af7f12..c55088bc0 100644 --- a/docs/interfaces/types.BackchannelAuthenticationResponse.html +++ b/docs/interfaces/types.BackchannelAuthenticationResponse.html @@ -1,4 +1,4 @@ -BackchannelAuthenticationResponse | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                              Interface BackchannelAuthenticationResponse

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

                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                              authorizationDetails? +BackchannelAuthenticationResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.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.ChallengeApiResponse.html b/docs/interfaces/types.ChallengeApiResponse.html new file mode 100644 index 000000000..76d1ea2c5 --- /dev/null +++ b/docs/interfaces/types.ChallengeApiResponse.html @@ -0,0 +1,9 @@ +ChallengeApiResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                  Interface ChallengeApiResponse

                                                                                                                                                                                                                                                                  Challenge response from Auth0 API (snake_case). +Maps to ChallengeResponse in SDK-facing interface.

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  interface ChallengeApiResponse {
                                                                                                                                                                                                                                                                      binding_method?: string;
                                                                                                                                                                                                                                                                      challenge_type: string;
                                                                                                                                                                                                                                                                      oob_code?: string;
                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                  binding_method?: string

                                                                                                                                                                                                                                                                  Binding method (for oob challenges)

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  challenge_type: string

                                                                                                                                                                                                                                                                  Challenge type (otp, oob)

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  oob_code?: string

                                                                                                                                                                                                                                                                  OOB code (for oob challenges)

                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                  diff --git a/docs/interfaces/types.ChallengeResponse.html b/docs/interfaces/types.ChallengeResponse.html index 8b99ec08b..0fdbe40a6 100644 --- a/docs/interfaces/types.ChallengeResponse.html +++ b/docs/interfaces/types.ChallengeResponse.html @@ -1,12 +1,12 @@ -ChallengeResponse | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                    Interface ChallengeResponse

                                                                                                                                                                                                                                                                    MFA challenge response. +ChallengeResponse | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                                                      Interface ChallengeResponse

                                                                                                                                                                                                                                                                      MFA challenge response. Uses camelCase for SDK-facing interface.

                                                                                                                                                                                                                                                                      const response = await mfa.challenge({
                                                                                                                                                                                                                                                                      mfaToken,
                                                                                                                                                                                                                                                                      challengeType: 'oob',
                                                                                                                                                                                                                                                                      authenticatorId: 'sms|dev_abc123'
                                                                                                                                                                                                                                                                      });

                                                                                                                                                                                                                                                                      console.log(`Challenge type: ${response.challengeType}`);
                                                                                                                                                                                                                                                                      console.log(`OOB code: ${response.oobCode}`);
                                                                                                                                                                                                                                                                      console.log(`Binding method: ${response.bindingMethod}`); // 'prompt'
                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      interface ChallengeResponse {
                                                                                                                                                                                                                                                                          bindingMethod?: string;
                                                                                                                                                                                                                                                                          challengeType: string;
                                                                                                                                                                                                                                                                          oobCode?: string;
                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                      interface ChallengeResponse {
                                                                                                                                                                                                                                                                          bindingMethod?: string;
                                                                                                                                                                                                                                                                          challengeType: string;
                                                                                                                                                                                                                                                                          oobCode?: string;
                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                      bindingMethod?: string

                                                                                                                                                                                                                                                                      Binding method (for oob challenges)

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      challengeType: string

                                                                                                                                                                                                                                                                      Challenge type (otp, oob)

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      oobCode?: string

                                                                                                                                                                                                                                                                      OOB code (for oob challenges)

                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      challengeType: string

                                                                                                                                                                                                                                                                      Challenge type (otp, oob)

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      oobCode?: string

                                                                                                                                                                                                                                                                      OOB code (for oob challenges)

                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                      diff --git a/docs/interfaces/types.ConnectAccountOptions.html b/docs/interfaces/types.ConnectAccountOptions.html index f623b3867..568fde8b3 100644 --- a/docs/interfaces/types.ConnectAccountOptions.html +++ b/docs/interfaces/types.ConnectAccountOptions.html @@ -1,11 +1,11 @@ -ConnectAccountOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                        Interface ConnectAccountOptions

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

                                                                                                                                                                                                                                                                        +ConnectAccountOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.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;
                                                                                                                                                                                                                                                                              scopes?: 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.

                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                          scopes?: string[]

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

                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                          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 1c14188f6..fee0e1dfa 100644 --- a/docs/interfaces/types.ConnectionTokenSet.html +++ b/docs/interfaces/types.ConnectionTokenSet.html @@ -1,5 +1,5 @@ -ConnectionTokenSet | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.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 +ConnectionTokenSet | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.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 741e55ad1..733ed3e08 100644 --- a/docs/interfaces/types.CookieOptions.html +++ b/docs/interfaces/types.CookieOptions.html @@ -1,8 +1,8 @@ -CookieOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.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? +CookieOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.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.CustomTokenExchangeOptions.html b/docs/interfaces/types.CustomTokenExchangeOptions.html index 4456a7a96..a68718fcc 100644 --- a/docs/interfaces/types.CustomTokenExchangeOptions.html +++ b/docs/interfaces/types.CustomTokenExchangeOptions.html @@ -1,9 +1,9 @@ -CustomTokenExchangeOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                    Interface CustomTokenExchangeOptions

                                                                                                                                                                                                                                                                                    Options for Custom Token Exchange.

                                                                                                                                                                                                                                                                                    +CustomTokenExchangeOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                      Interface CustomTokenExchangeOptions

                                                                                                                                                                                                                                                                                      Options for Custom Token Exchange.

                                                                                                                                                                                                                                                                                      Custom Token Exchange allows exchanging external tokens for Auth0 tokens without a browser redirect. The external token is validated by an Auth0 Action with the Custom Token Exchange trigger.

                                                                                                                                                                                                                                                                                      interface CustomTokenExchangeOptions {
                                                                                                                                                                                                                                                                                          actorToken?: string;
                                                                                                                                                                                                                                                                                          actorTokenType?: string;
                                                                                                                                                                                                                                                                                          additionalParameters?: Record<string, unknown>;
                                                                                                                                                                                                                                                                                          audience?: string;
                                                                                                                                                                                                                                                                                          organization?: string;
                                                                                                                                                                                                                                                                                          scope?: string;
                                                                                                                                                                                                                                                                                          subjectToken: string;
                                                                                                                                                                                                                                                                                          subjectTokenType: string;
                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      interface CustomTokenExchangeOptions {
                                                                                                                                                                                                                                                                                          actorToken?: string;
                                                                                                                                                                                                                                                                                          actorTokenType?: string;
                                                                                                                                                                                                                                                                                          additionalParameters?: Record<string, unknown>;
                                                                                                                                                                                                                                                                                          audience?: string;
                                                                                                                                                                                                                                                                                          organization?: string;
                                                                                                                                                                                                                                                                                          scope?: string;
                                                                                                                                                                                                                                                                                          subjectToken: string;
                                                                                                                                                                                                                                                                                          subjectTokenType: string;
                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                      actorToken?: string

                                                                                                                                                                                                                                                                                      Actor token for delegation/impersonation scenarios (RFC 8693). Represents the identity of the acting party.

                                                                                                                                                                                                                                                                                      If provided, actorTokenType is required.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      actorTokenType?: string

                                                                                                                                                                                                                                                                                      Actor token type URI (required if actorToken is provided).

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      additionalParameters?: Record<string, unknown>

                                                                                                                                                                                                                                                                                      Additional custom parameters passed to the token endpoint. +

                                                                                                                                                                                                                                                                                      actorTokenType?: string

                                                                                                                                                                                                                                                                                      Actor token type URI (required if actorToken is provided).

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      additionalParameters?: Record<string, unknown>

                                                                                                                                                                                                                                                                                      Additional custom parameters passed to the token endpoint. Accessible in Auth0 Action via event.request.body.

                                                                                                                                                                                                                                                                                      Use this for custom parameters instead of index signature to avoid TypeScript issues.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      audience?: string

                                                                                                                                                                                                                                                                                      The unique identifier of the target API.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      organization?: string

                                                                                                                                                                                                                                                                                      Organization ID or name for multi-tenant scenarios. +

                                                                                                                                                                                                                                                                                      audience?: string

                                                                                                                                                                                                                                                                                      The unique identifier of the target API.

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      organization?: string

                                                                                                                                                                                                                                                                                      Organization ID or name for multi-tenant scenarios. The organization ID will be present in the resulting access token claims.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      scope?: string

                                                                                                                                                                                                                                                                                      Space-delimited OAuth 2.0 scopes.

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      scope?: string

                                                                                                                                                                                                                                                                                      Space-delimited OAuth 2.0 scopes.

                                                                                                                                                                                                                                                                                      Note: These scopes are merged with SDK default scopes (openid profile email offline_access). Duplicates are removed.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      subjectToken: string

                                                                                                                                                                                                                                                                                      The external token being exchanged. +

                                                                                                                                                                                                                                                                                      subjectToken: string

                                                                                                                                                                                                                                                                                      The external token being exchanged. This will be validated by your Auth0 Action with the Custom Token Exchange trigger.

                                                                                                                                                                                                                                                                                      Validation: Must be a non-empty string.

                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      subjectTokenType: string

                                                                                                                                                                                                                                                                                      Custom URI identifying the token type.

                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      subjectTokenType: string

                                                                                                                                                                                                                                                                                      Custom URI identifying the token type.

                                                                                                                                                                                                                                                                                      Validation Rules:

                                                                                                                                                                                                                                                                                      • Must be 10-100 characters
                                                                                                                                                                                                                                                                                      • @@ -40,4 +40,4 @@
                                                                                                                                                                                                                                                                                      'https://mycompany.com/token-type/v1'
                                                                                                                                                                                                                                                                                       
                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                      diff --git a/docs/interfaces/types.CustomTokenExchangeResponse.html b/docs/interfaces/types.CustomTokenExchangeResponse.html index 20b40f4c4..8c94e7d01 100644 --- a/docs/interfaces/types.CustomTokenExchangeResponse.html +++ b/docs/interfaces/types.CustomTokenExchangeResponse.html @@ -1,14 +1,14 @@ -CustomTokenExchangeResponse | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                        Interface CustomTokenExchangeResponse

                                                                                                                                                                                                                                                                                        Response from Custom Token Exchange.

                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                        interface CustomTokenExchangeResponse {
                                                                                                                                                                                                                                                                                            accessToken: string;
                                                                                                                                                                                                                                                                                            expiresIn: number;
                                                                                                                                                                                                                                                                                            idToken?: string;
                                                                                                                                                                                                                                                                                            refreshToken?: string;
                                                                                                                                                                                                                                                                                            scope?: string;
                                                                                                                                                                                                                                                                                            tokenType: string;
                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                        accessToken +CustomTokenExchangeResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                          Interface CustomTokenExchangeResponse

                                                                                                                                                                                                                                                                                          Response from Custom Token Exchange.

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          interface CustomTokenExchangeResponse {
                                                                                                                                                                                                                                                                                              accessToken: string;
                                                                                                                                                                                                                                                                                              expiresIn: number;
                                                                                                                                                                                                                                                                                              idToken?: string;
                                                                                                                                                                                                                                                                                              refreshToken?: string;
                                                                                                                                                                                                                                                                                              scope?: string;
                                                                                                                                                                                                                                                                                              tokenType: string;
                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                          accessToken: string

                                                                                                                                                                                                                                                                                          The access token issued by Auth0

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          expiresIn: number

                                                                                                                                                                                                                                                                                          Token lifetime in seconds

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          idToken?: string

                                                                                                                                                                                                                                                                                          The ID token, if openid scope was requested

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          refreshToken?: string

                                                                                                                                                                                                                                                                                          The refresh token, if offline_access scope was requested

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          scope?: string

                                                                                                                                                                                                                                                                                          Granted scopes

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          tokenType: string

                                                                                                                                                                                                                                                                                          Token type, typically "Bearer" or "DPoP"

                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          expiresIn: number

                                                                                                                                                                                                                                                                                          Token lifetime in seconds

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          idToken?: string

                                                                                                                                                                                                                                                                                          The ID token, if openid scope was requested

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          refreshToken?: string

                                                                                                                                                                                                                                                                                          The refresh token, if offline_access scope was requested

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          scope?: string

                                                                                                                                                                                                                                                                                          Granted scopes

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          tokenType: string

                                                                                                                                                                                                                                                                                          Token type, typically "Bearer" or "DPoP"

                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                          diff --git a/docs/interfaces/types.DiscoveryCacheOptions.html b/docs/interfaces/types.DiscoveryCacheOptions.html index 51130b349..729b25bb3 100644 --- a/docs/interfaces/types.DiscoveryCacheOptions.html +++ b/docs/interfaces/types.DiscoveryCacheOptions.html @@ -1,10 +1,10 @@ -DiscoveryCacheOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                            Interface DiscoveryCacheOptions

                                                                                                                                                                                                                                                                                            Configuration for the OIDC discovery metadata cache. +DiscoveryCacheOptions | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                                                                              Interface DiscoveryCacheOptions

                                                                                                                                                                                                                                                                                              Configuration for the OIDC discovery metadata cache. Applies in both static and resolver modes.

                                                                                                                                                                                                                                                                                              const auth0 = new Auth0Client({
                                                                                                                                                                                                                                                                                              domain: myDomainResolver,
                                                                                                                                                                                                                                                                                              discoveryCache: {
                                                                                                                                                                                                                                                                                              ttl: 300, // 5-minute TTL
                                                                                                                                                                                                                                                                                              maxEntries: 50, // Cache up to 50 issuers
                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                              });
                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                              interface DiscoveryCacheOptions {
                                                                                                                                                                                                                                                                                                  maxEntries?: number;
                                                                                                                                                                                                                                                                                                  ttl?: number;
                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                              interface DiscoveryCacheOptions {
                                                                                                                                                                                                                                                                                                  maxEntries?: number;
                                                                                                                                                                                                                                                                                                  ttl?: number;
                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                              maxEntries?: number

                                                                                                                                                                                                                                                                                              Maximum number of cached issuers. Default: 100. LRU eviction.

                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                              ttl?: number

                                                                                                                                                                                                                                                                                              Time-to-live for cached discovery metadata in seconds. Default: 600 (10 minutes).

                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              ttl?: number

                                                                                                                                                                                                                                                                                              Time-to-live for cached discovery metadata in seconds. Default: 600 (10 minutes).

                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                              diff --git a/docs/interfaces/types.EnrollFactorTypeOobOptions.html b/docs/interfaces/types.EnrollFactorTypeOobOptions.html new file mode 100644 index 000000000..3772b7fe6 --- /dev/null +++ b/docs/interfaces/types.EnrollFactorTypeOobOptions.html @@ -0,0 +1,10 @@ +EnrollFactorTypeOobOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                Interface EnrollFactorTypeOobOptions

                                                                                                                                                                                                                                                                                                Enroll OOB authenticator using factorType.

                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                interface EnrollFactorTypeOobOptions {
                                                                                                                                                                                                                                                                                                    email?: string;
                                                                                                                                                                                                                                                                                                    factorType: "email" | "push" | "sms" | "voice";
                                                                                                                                                                                                                                                                                                    mfaToken: string;
                                                                                                                                                                                                                                                                                                    phoneNumber?: string;
                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                email?: string

                                                                                                                                                                                                                                                                                                Email address (optional for email channel - uses user's email if not provided)

                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                factorType: "email" | "push" | "sms" | "voice"

                                                                                                                                                                                                                                                                                                Factor type discriminator

                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                mfaToken: string

                                                                                                                                                                                                                                                                                                Encrypted MFA token

                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                phoneNumber?: string

                                                                                                                                                                                                                                                                                                Phone number in E.164 format (required for sms/voice)

                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.EnrollFactorTypeOtpOptions.html b/docs/interfaces/types.EnrollFactorTypeOtpOptions.html new file mode 100644 index 000000000..d33a0aa54 --- /dev/null +++ b/docs/interfaces/types.EnrollFactorTypeOtpOptions.html @@ -0,0 +1,6 @@ +EnrollFactorTypeOtpOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                  Interface EnrollFactorTypeOtpOptions

                                                                                                                                                                                                                                                                                                  Enroll OTP authenticator using factorType.

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  interface EnrollFactorTypeOtpOptions {
                                                                                                                                                                                                                                                                                                      factorType: "otp";
                                                                                                                                                                                                                                                                                                      mfaToken: string;
                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  Properties

                                                                                                                                                                                                                                                                                                  factorType: "otp"

                                                                                                                                                                                                                                                                                                  Factor type discriminator

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  mfaToken: string

                                                                                                                                                                                                                                                                                                  Encrypted MFA token

                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                  diff --git a/docs/interfaces/types.EnrollOobOptions.html b/docs/interfaces/types.EnrollOobOptions.html index 180b7a685..e1bdf41c7 100644 --- a/docs/interfaces/types.EnrollOobOptions.html +++ b/docs/interfaces/types.EnrollOobOptions.html @@ -1,12 +1,12 @@ -EnrollOobOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                    Interface EnrollOobOptions

                                                                                                                                                                                                                                                                                                    Enroll OOB authenticator (SMS/Voice/Push/Email).

                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                    interface EnrollOobOptions {
                                                                                                                                                                                                                                                                                                        authenticatorTypes: ["oob"];
                                                                                                                                                                                                                                                                                                        email?: string;
                                                                                                                                                                                                                                                                                                        mfaToken: string;
                                                                                                                                                                                                                                                                                                        oobChannels: ("email" | "sms" | "voice" | "auth0")[];
                                                                                                                                                                                                                                                                                                        phoneNumber?: string;
                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                    authenticatorTypes +EnrollOobOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                      Interface EnrollOobOptions

                                                                                                                                                                                                                                                                                                      Enroll OOB authenticator (SMS/Voice/Push/Email).

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      interface EnrollOobOptions {
                                                                                                                                                                                                                                                                                                          authenticatorTypes: ["oob"];
                                                                                                                                                                                                                                                                                                          email?: string;
                                                                                                                                                                                                                                                                                                          mfaToken: string;
                                                                                                                                                                                                                                                                                                          oobChannels: ("email" | "sms" | "voice" | "auth0")[];
                                                                                                                                                                                                                                                                                                          phoneNumber?: string;
                                                                                                                                                                                                                                                                                                      }
                                                                                                                                                                                                                                                                                                      Index

                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                      authenticatorTypes: ["oob"]

                                                                                                                                                                                                                                                                                                      Authenticator types to enroll

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                      email?: string

                                                                                                                                                                                                                                                                                                      Email address (optional for email channel - uses user's email if not provided)

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                      mfaToken: string

                                                                                                                                                                                                                                                                                                      Encrypted MFA token

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                      oobChannels: ("email" | "sms" | "voice" | "auth0")[]

                                                                                                                                                                                                                                                                                                      OOB channels (sms, voice, auth0, email)

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                      phoneNumber?: string

                                                                                                                                                                                                                                                                                                      Phone number in E.164 format (required for sms/voice)

                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      email?: string

                                                                                                                                                                                                                                                                                                      Email address (optional for email channel - uses user's email if not provided)

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      mfaToken: string

                                                                                                                                                                                                                                                                                                      Encrypted MFA token

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      oobChannels: ("email" | "sms" | "voice" | "auth0")[]

                                                                                                                                                                                                                                                                                                      OOB channels (sms, voice, auth0, email)

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      phoneNumber?: string

                                                                                                                                                                                                                                                                                                      Phone number in E.164 format (required for sms/voice)

                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                      diff --git a/docs/interfaces/types.EnrollOtpOptions.html b/docs/interfaces/types.EnrollOtpOptions.html index 97b980f02..c04b2917b 100644 --- a/docs/interfaces/types.EnrollOtpOptions.html +++ b/docs/interfaces/types.EnrollOtpOptions.html @@ -1,6 +1,6 @@ -EnrollOtpOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                        Interface EnrollOtpOptions

                                                                                                                                                                                                                                                                                                        Enroll OTP authenticator (TOTP app like Authy/Google Authenticator).

                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                        interface EnrollOtpOptions {
                                                                                                                                                                                                                                                                                                            authenticatorTypes: ["otp"];
                                                                                                                                                                                                                                                                                                            mfaToken: string;
                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                        authenticatorTypes +EnrollOtpOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                          Interface EnrollOtpOptions

                                                                                                                                                                                                                                                                                                          Enroll OTP authenticator (TOTP app like Authy/Google Authenticator).

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          interface EnrollOtpOptions {
                                                                                                                                                                                                                                                                                                              authenticatorTypes: ["otp"];
                                                                                                                                                                                                                                                                                                              mfaToken: string;
                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                          authenticatorTypes: ["otp"]

                                                                                                                                                                                                                                                                                                          Authenticator types to enroll

                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                          mfaToken: string

                                                                                                                                                                                                                                                                                                          Encrypted MFA token

                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          mfaToken: string

                                                                                                                                                                                                                                                                                                          Encrypted MFA token

                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                          diff --git a/docs/interfaces/types.EnrollmentApiResponse.html b/docs/interfaces/types.EnrollmentApiResponse.html new file mode 100644 index 000000000..54fa1137b --- /dev/null +++ b/docs/interfaces/types.EnrollmentApiResponse.html @@ -0,0 +1,21 @@ +EnrollmentApiResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                            Interface EnrollmentApiResponse

                                                                                                                                                                                                                                                                                                            Enrollment response from Auth0 API (snake_case). +Maps to EnrollmentResponse in SDK-facing interface.

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            interface EnrollmentApiResponse {
                                                                                                                                                                                                                                                                                                                authenticator_type: "email" | "otp" | "oob";
                                                                                                                                                                                                                                                                                                                barcode_uri?: string;
                                                                                                                                                                                                                                                                                                                binding_method?: string;
                                                                                                                                                                                                                                                                                                                id: string;
                                                                                                                                                                                                                                                                                                                name?: string;
                                                                                                                                                                                                                                                                                                                oob_channel?: "email" | "sms" | "voice" | "auth0";
                                                                                                                                                                                                                                                                                                                oob_code?: string;
                                                                                                                                                                                                                                                                                                                recovery_codes?: string[];
                                                                                                                                                                                                                                                                                                                secret?: string;
                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                            authenticator_type: "email" | "otp" | "oob"

                                                                                                                                                                                                                                                                                                            Authenticator type discriminator

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            barcode_uri?: string

                                                                                                                                                                                                                                                                                                            Barcode URI (otp: otpauth:// format, oob: Guardian/Push QR code)

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            binding_method?: string

                                                                                                                                                                                                                                                                                                            Binding method (oob only - prompt, none)

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            id: string

                                                                                                                                                                                                                                                                                                            Authenticator ID

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            name?: string

                                                                                                                                                                                                                                                                                                            Authenticator name (oob/email only)

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            oob_channel?: "email" | "sms" | "voice" | "auth0"

                                                                                                                                                                                                                                                                                                            OOB channel (oob only - required for oob)

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            oob_code?: string

                                                                                                                                                                                                                                                                                                            OOB code (oob only - for enrollment verification)

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            recovery_codes?: string[]

                                                                                                                                                                                                                                                                                                            Recovery codes (first enrollment only)

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            secret?: string

                                                                                                                                                                                                                                                                                                            TOTP secret (otp only - required for otp)

                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                            diff --git a/docs/interfaces/types.MCDMetadata.html b/docs/interfaces/types.MCDMetadata.html index 80332be5a..70d3c7aaf 100644 --- a/docs/interfaces/types.MCDMetadata.html +++ b/docs/interfaces/types.MCDMetadata.html @@ -1,7 +1,7 @@ -MCDMetadata | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                              Interface MCDMetadataInternal

                                                                                                                                                                                                                                                                                                              Metadata for a specific domain and its associated issuer. +MCDMetadata | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                                                                                                Interface MCDMetadataInternal

                                                                                                                                                                                                                                                                                                                Metadata for a specific domain and its associated issuer. Stored in session internal state to track which domain authenticated the user.

                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                interface MCDMetadata {
                                                                                                                                                                                                                                                                                                                    domain: string;
                                                                                                                                                                                                                                                                                                                    issuer: string;
                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                interface MCDMetadata {
                                                                                                                                                                                                                                                                                                                    domain: string;
                                                                                                                                                                                                                                                                                                                    issuer: string;
                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                domain: string

                                                                                                                                                                                                                                                                                                                The Auth0 domain that authenticated the user

                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                issuer: string

                                                                                                                                                                                                                                                                                                                The OIDC issuer URL for the domain

                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                issuer: string

                                                                                                                                                                                                                                                                                                                The OIDC issuer URL for the domain

                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.MfaClient.html b/docs/interfaces/types.MfaClient.html index 05b1de94e..5ac3728dc 100644 --- a/docs/interfaces/types.MfaClient.html +++ b/docs/interfaces/types.MfaClient.html @@ -1,20 +1,20 @@ -MfaClient | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                  Interface MfaClient

                                                                                                                                                                                                                                                                                                                  MFA client interface available in both server and client contexts.

                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                  interface MfaClient {
                                                                                                                                                                                                                                                                                                                      challenge(
                                                                                                                                                                                                                                                                                                                          options: {
                                                                                                                                                                                                                                                                                                                              authenticatorId?: string;
                                                                                                                                                                                                                                                                                                                              challengeType: string;
                                                                                                                                                                                                                                                                                                                              mfaToken: string;
                                                                                                                                                                                                                                                                                                                          },
                                                                                                                                                                                                                                                                                                                      ): Promise<ChallengeResponse>;
                                                                                                                                                                                                                                                                                                                      enroll(options: EnrollOptions): Promise<EnrollmentResponse>;
                                                                                                                                                                                                                                                                                                                      getAuthenticators(options: { mfaToken: string }): Promise<Authenticator[]>;
                                                                                                                                                                                                                                                                                                                      verify(options: VerifyMfaOptions): Promise<MfaVerifyResponse>;
                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                  Index

                                                                                                                                                                                                                                                                                                                  Methods

                                                                                                                                                                                                                                                                                                                  challenge +MfaClient | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                    Interface MfaClient

                                                                                                                                                                                                                                                                                                                    MFA client interface available in both server and client contexts.

                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    interface MfaClient {
                                                                                                                                                                                                                                                                                                                        challenge(
                                                                                                                                                                                                                                                                                                                            options: {
                                                                                                                                                                                                                                                                                                                                authenticatorId?: string;
                                                                                                                                                                                                                                                                                                                                challengeType: string;
                                                                                                                                                                                                                                                                                                                                mfaToken: string;
                                                                                                                                                                                                                                                                                                                            },
                                                                                                                                                                                                                                                                                                                        ): Promise<ChallengeResponse>;
                                                                                                                                                                                                                                                                                                                        enroll(options: EnrollOptions): Promise<EnrollmentResponse>;
                                                                                                                                                                                                                                                                                                                        getAuthenticators(options: { mfaToken: string }): Promise<Authenticator[]>;
                                                                                                                                                                                                                                                                                                                        verify(options: VerifyMfaOptions): Promise<MfaVerifyResponse>;
                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                    Methods

                                                                                                                                                                                                                                                                                                                    • Initiate an MFA challenge.

                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                      • options: { authenticatorId?: string; challengeType: string; mfaToken: string }

                                                                                                                                                                                                                                                                                                                        Challenge options

                                                                                                                                                                                                                                                                                                                      Returns Promise<ChallengeResponse>

                                                                                                                                                                                                                                                                                                                      Challenge response (oobCode, bindingMethod)

                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                    • List enrolled authenticators for the user. Filters by allowed challenge types from mfa_requirements.

                                                                                                                                                                                                                                                                                                                      Parameters

                                                                                                                                                                                                                                                                                                                      • options: { mfaToken: string }

                                                                                                                                                                                                                                                                                                                        Options containing encrypted mfaToken

                                                                                                                                                                                                                                                                                                                      Returns Promise<Authenticator[]>

                                                                                                                                                                                                                                                                                                                      Array of authenticators

                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                    diff --git a/docs/interfaces/types.MfaContext.html b/docs/interfaces/types.MfaContext.html index 28a583739..f6b3e7794 100644 --- a/docs/interfaces/types.MfaContext.html +++ b/docs/interfaces/types.MfaContext.html @@ -1,13 +1,13 @@ -MfaContext | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                      Interface MfaContext

                                                                                                                                                                                                                                                                                                                      MFA context embedded in encrypted token. +MfaContext | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                                                                                                        Interface MfaContext

                                                                                                                                                                                                                                                                                                                        MFA context embedded in encrypted token. Self-contained with all information needed for challenge completion.

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        interface MfaContext {
                                                                                                                                                                                                                                                                                                                            audience: string;
                                                                                                                                                                                                                                                                                                                            createdAt: number;
                                                                                                                                                                                                                                                                                                                            mfaRequirements: MfaRequirements | undefined;
                                                                                                                                                                                                                                                                                                                            mfaToken: string;
                                                                                                                                                                                                                                                                                                                            scope: string;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        interface MfaContext {
                                                                                                                                                                                                                                                                                                                            audience: string;
                                                                                                                                                                                                                                                                                                                            createdAt: number;
                                                                                                                                                                                                                                                                                                                            mfaRequirements: MfaRequirements | undefined;
                                                                                                                                                                                                                                                                                                                            mfaToken: string;
                                                                                                                                                                                                                                                                                                                            scope: string;
                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                        audience: string

                                                                                                                                                                                                                                                                                                                        API identifier that required MFA

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        createdAt: number

                                                                                                                                                                                                                                                                                                                        Timestamp for TTL validation (milliseconds since epoch)

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        mfaRequirements: MfaRequirements | undefined

                                                                                                                                                                                                                                                                                                                        MFA requirements from Auth0

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        mfaToken: string

                                                                                                                                                                                                                                                                                                                        Raw mfa_token from Auth0

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        scope: string

                                                                                                                                                                                                                                                                                                                        Scopes requested

                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        createdAt: number

                                                                                                                                                                                                                                                                                                                        Timestamp for TTL validation (milliseconds since epoch)

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        mfaRequirements: MfaRequirements | undefined

                                                                                                                                                                                                                                                                                                                        MFA requirements from Auth0

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        mfaToken: string

                                                                                                                                                                                                                                                                                                                        Raw mfa_token from Auth0

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        scope: string

                                                                                                                                                                                                                                                                                                                        Scopes requested

                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                        diff --git a/docs/interfaces/types.MfaVerifyResponse.html b/docs/interfaces/types.MfaVerifyResponse.html index b7c325599..80b63a44e 100644 --- a/docs/interfaces/types.MfaVerifyResponse.html +++ b/docs/interfaces/types.MfaVerifyResponse.html @@ -1,7 +1,7 @@ -MfaVerifyResponse | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                          Interface MfaVerifyResponse

                                                                                                                                                                                                                                                                                                                          MFA verify response from Auth0. +MfaVerifyResponse | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                                                                                                            Interface MfaVerifyResponse

                                                                                                                                                                                                                                                                                                                            MFA verify response from Auth0. Uses snake_case to match Auth0 API and SPA SDK conventions.

                                                                                                                                                                                                                                                                                                                            interface MfaVerifyResponse {
                                                                                                                                                                                                                                                                                                                                access_token: string;
                                                                                                                                                                                                                                                                                                                                audience?: string;
                                                                                                                                                                                                                                                                                                                                expires_in: number;
                                                                                                                                                                                                                                                                                                                                id_token?: string;
                                                                                                                                                                                                                                                                                                                                recovery_code?: string;
                                                                                                                                                                                                                                                                                                                                refresh_token?: string;
                                                                                                                                                                                                                                                                                                                                scope?: string;
                                                                                                                                                                                                                                                                                                                                token_type: string;
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                            interface MfaVerifyResponse {
                                                                                                                                                                                                                                                                                                                                access_token: string;
                                                                                                                                                                                                                                                                                                                                audience?: string;
                                                                                                                                                                                                                                                                                                                                expires_in: number;
                                                                                                                                                                                                                                                                                                                                id_token?: string;
                                                                                                                                                                                                                                                                                                                                recovery_code?: string;
                                                                                                                                                                                                                                                                                                                                refresh_token?: string;
                                                                                                                                                                                                                                                                                                                                scope?: string;
                                                                                                                                                                                                                                                                                                                                token_type: string;
                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                            access_token: string

                                                                                                                                                                                                                                                                                                                            Access token

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            audience?: string

                                                                                                                                                                                                                                                                                                                            API audience

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            expires_in: number

                                                                                                                                                                                                                                                                                                                            Expires in seconds

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            id_token?: string

                                                                                                                                                                                                                                                                                                                            ID token (if present)

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            recovery_code?: string

                                                                                                                                                                                                                                                                                                                            Recovery code (if regenerated by tenant config)

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            refresh_token?: string

                                                                                                                                                                                                                                                                                                                            Refresh token (if present)

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            scope?: string

                                                                                                                                                                                                                                                                                                                            Token scope

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            token_type: string

                                                                                                                                                                                                                                                                                                                            Token type (usually "Bearer")

                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            audience?: string

                                                                                                                                                                                                                                                                                                                            API audience

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            expires_in: number

                                                                                                                                                                                                                                                                                                                            Expires in seconds

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            id_token?: string

                                                                                                                                                                                                                                                                                                                            ID token (if present)

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            recovery_code?: string

                                                                                                                                                                                                                                                                                                                            Recovery code (if regenerated by tenant config)

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            refresh_token?: string

                                                                                                                                                                                                                                                                                                                            Refresh token (if present)

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            scope?: string

                                                                                                                                                                                                                                                                                                                            Token scope

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            token_type: string

                                                                                                                                                                                                                                                                                                                            Token type (usually "Bearer")

                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                            diff --git a/docs/interfaces/types.Routes.html b/docs/interfaces/types.Routes.html index c36157134..371a59bde 100644 --- a/docs/interfaces/types.Routes.html +++ b/docs/interfaces/types.Routes.html @@ -1,12 +1,12 @@ -Routes | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                              Interface Routes

                                                                                                                                                                                                                                                                                                                              interface Routes {
                                                                                                                                                                                                                                                                                                                                  accessToken: string;
                                                                                                                                                                                                                                                                                                                                  backChannelLogout: string;
                                                                                                                                                                                                                                                                                                                                  callback: string;
                                                                                                                                                                                                                                                                                                                                  connectAccount: string;
                                                                                                                                                                                                                                                                                                                                  login: string;
                                                                                                                                                                                                                                                                                                                                  logout: string;
                                                                                                                                                                                                                                                                                                                                  mfaAuthenticators: string;
                                                                                                                                                                                                                                                                                                                                  mfaChallenge: string;
                                                                                                                                                                                                                                                                                                                                  mfaEnroll: string;
                                                                                                                                                                                                                                                                                                                                  mfaVerify: string;
                                                                                                                                                                                                                                                                                                                                  profile: string;
                                                                                                                                                                                                                                                                                                                              }
                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                              Properties

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

                                                                                                                                                                                                                                                                                                                                Interface Routes

                                                                                                                                                                                                                                                                                                                                interface Routes {
                                                                                                                                                                                                                                                                                                                                    accessToken: string;
                                                                                                                                                                                                                                                                                                                                    backChannelLogout: string;
                                                                                                                                                                                                                                                                                                                                    callback: string;
                                                                                                                                                                                                                                                                                                                                    connectAccount: string;
                                                                                                                                                                                                                                                                                                                                    login: string;
                                                                                                                                                                                                                                                                                                                                    logout: string;
                                                                                                                                                                                                                                                                                                                                    mfaAssociate: string;
                                                                                                                                                                                                                                                                                                                                    mfaAuthenticators: string;
                                                                                                                                                                                                                                                                                                                                    mfaChallenge: string;
                                                                                                                                                                                                                                                                                                                                    mfaVerify: string;
                                                                                                                                                                                                                                                                                                                                    profile: string;
                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                accessToken: string
                                                                                                                                                                                                                                                                                                                                backChannelLogout: string
                                                                                                                                                                                                                                                                                                                                callback: string
                                                                                                                                                                                                                                                                                                                                connectAccount: string
                                                                                                                                                                                                                                                                                                                                login: string
                                                                                                                                                                                                                                                                                                                                logout: string
                                                                                                                                                                                                                                                                                                                                mfaAuthenticators: string
                                                                                                                                                                                                                                                                                                                                mfaChallenge: string
                                                                                                                                                                                                                                                                                                                                mfaEnroll: string
                                                                                                                                                                                                                                                                                                                                mfaVerify: string
                                                                                                                                                                                                                                                                                                                                profile: string
                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                accessToken: string
                                                                                                                                                                                                                                                                                                                                backChannelLogout: string
                                                                                                                                                                                                                                                                                                                                callback: string
                                                                                                                                                                                                                                                                                                                                connectAccount: string
                                                                                                                                                                                                                                                                                                                                login: string
                                                                                                                                                                                                                                                                                                                                logout: string
                                                                                                                                                                                                                                                                                                                                mfaAssociate: string
                                                                                                                                                                                                                                                                                                                                mfaAuthenticators: string
                                                                                                                                                                                                                                                                                                                                mfaChallenge: string
                                                                                                                                                                                                                                                                                                                                mfaVerify: string
                                                                                                                                                                                                                                                                                                                                profile: string
                                                                                                                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.SessionConfiguration.html b/docs/interfaces/types.SessionConfiguration.html index 9fea92ca3..4b1709704 100644 --- a/docs/interfaces/types.SessionConfiguration.html +++ b/docs/interfaces/types.SessionConfiguration.html @@ -1,16 +1,16 @@ -SessionConfiguration | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                  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.19.0
                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.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 c717de972..c70dff9f9 100644 --- a/docs/interfaces/types.SessionCookieOptions.html +++ b/docs/interfaces/types.SessionCookieOptions.html @@ -1,4 +1,4 @@ -SessionCookieOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.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? +SessionCookieOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.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 5bc00cd88..d2950a9da 100644 --- a/docs/interfaces/types.SessionData.html +++ b/docs/interfaces/types.SessionData.html @@ -1,6 +1,6 @@ -SessionData | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                          Interface SessionData

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

                                                                                                                                                                                                                                                                                                                                          Indexable

                                                                                                                                                                                                                                                                                                                                          • [key: string]: unknown
                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                          Properties

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

                                                                                                                                                                                                                                                                                                                                            Interface SessionData

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

                                                                                                                                                                                                                                                                                                                                            Indexable

                                                                                                                                                                                                                                                                                                                                            • [key: string]: unknown
                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                            Properties

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

                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                            accessTokens?: AccessTokenSet[]
                                                                                                                                                                                                                                                                                                                                            connectionTokenSets?: ConnectionTokenSet[]
                                                                                                                                                                                                                                                                                                                                            internal: { createdAt: number; mcd?: MCDMetadata; sid: string }
                                                                                                                                                                                                                                                                                                                                            tokenSet: TokenSet
                                                                                                                                                                                                                                                                                                                                            user: User
                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/interfaces/types.SessionDataStore.html b/docs/interfaces/types.SessionDataStore.html index 52bb1b87d..9f931dcac 100644 --- a/docs/interfaces/types.SessionDataStore.html +++ b/docs/interfaces/types.SessionDataStore.html @@ -1,20 +1,20 @@ -SessionDataStore | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                              Interface SessionDataStore

                                                                                                                                                                                                                                                                                                                                              Interface for a custom session data store.

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

                                                                                                                                                                                                                                                                                                                                                Interface SessionDataStore

                                                                                                                                                                                                                                                                                                                                                Interface for a custom session data store.

                                                                                                                                                                                                                                                                                                                                                TTL contract: every successful write method (set, update) must reset the session TTL/expiry so that active sessions are not silently expired between requests.

                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                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>;
                                                                                                                                                                                                                                                                                                                                                    update?(id: string, session: SessionData): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                Methods

                                                                                                                                                                                                                                                                                                                                                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>;
                                                                                                                                                                                                                                                                                                                                                    update?(id: string, session: SessionData): Promise<boolean>;
                                                                                                                                                                                                                                                                                                                                                }
                                                                                                                                                                                                                                                                                                                                                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

                                                                                                                                                                                                                                                                                                                                                  • 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.

                                                                                                                                                                                                                                                                                                                                                  MCD resolver mode: When using multiple custom domains with a domain resolver, implementations MUST filter on the iss field in addition to sub/sid to ensure sessions are only deleted for the matching issuer. Custom domains on the same tenant share signing keys, so failing to filter on iss allows a logout token from one domain to delete sessions created by a different domain.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  Parameters

                                                                                                                                                                                                                                                                                                                                                  Returns Promise<void>

                                                                                                                                                                                                                                                                                                                                                • Optional: update the session by its ID only if it already exists. Return true if updated, false if not found.

                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                  Parameters

                                                                                                                                                                                                                                                                                                                                                  Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                +

                                                                                                                                                                                                                                                                                                                                                Parameters

                                                                                                                                                                                                                                                                                                                                                Returns Promise<boolean>

                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.SessionStoreOptions.html b/docs/interfaces/types.SessionStoreOptions.html index c8f48ceeb..4e8d915f9 100644 --- a/docs/interfaces/types.SessionStoreOptions.html +++ b/docs/interfaces/types.SessionStoreOptions.html @@ -1,4 +1,4 @@ -SessionStoreOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.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? +SessionStoreOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.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 13b788a60..9777f9fea 100644 --- a/docs/interfaces/types.StartInteractiveLoginOptions.html +++ b/docs/interfaces/types.StartInteractiveLoginOptions.html @@ -1,5 +1,11 @@ -StartInteractiveLoginOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                      Interface StartInteractiveLoginOptions

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

                                                                                                                                                                                                                                                                                                                                                      Properties

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

                                                                                                                                                                                                                                                                                                                                                        Interface StartInteractiveLoginOptions

                                                                                                                                                                                                                                                                                                                                                        interface StartInteractiveLoginOptions {
                                                                                                                                                                                                                                                                                                                                                            authorizationParameters?: AuthorizationParameters;
                                                                                                                                                                                                                                                                                                                                                            challengeMode?: "redirect" | "popup";
                                                                                                                                                                                                                                                                                                                                                            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.

                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        challengeMode?: "redirect" | "popup"

                                                                                                                                                                                                                                                                                                                                                        Control callback return behavior.

                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                        • 'redirect' (default): Standard OAuth redirect to returnTo
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        • 'popup': Return HTML with postMessage for popup flows
                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                        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 5b9d5277f..1a503a306 100644 --- a/docs/interfaces/types.TokenSet.html +++ b/docs/interfaces/types.TokenSet.html @@ -1,4 +1,4 @@ -TokenSet | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.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 +TokenSet | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.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 05081c055..e56d1067e 100644 --- a/docs/interfaces/types.TransactionCookieOptions.html +++ b/docs/interfaces/types.TransactionCookieOptions.html @@ -1,4 +1,4 @@ -TransactionCookieOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.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? +TransactionCookieOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.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 c8ba529c2..9d07a7dc2 100644 --- a/docs/interfaces/types.TransactionState.html +++ b/docs/interfaces/types.TransactionState.html @@ -1,6 +1,7 @@ -TransactionState | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                  Interface TransactionState

                                                                                                                                                                                                                                                                                                                                                                  interface TransactionState {
                                                                                                                                                                                                                                                                                                                                                                      audience?: string;
                                                                                                                                                                                                                                                                                                                                                                      authSession?: string;
                                                                                                                                                                                                                                                                                                                                                                      codeVerifier: string;
                                                                                                                                                                                                                                                                                                                                                                      maxAge?: number;
                                                                                                                                                                                                                                                                                                                                                                      nonce?: string;
                                                                                                                                                                                                                                                                                                                                                                      originDomain?: string;
                                                                                                                                                                                                                                                                                                                                                                      originIssuer?: 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.19.0
                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                    Interface TransactionState

                                                                                                                                                                                                                                                                                                                                                                    interface TransactionState {
                                                                                                                                                                                                                                                                                                                                                                        audience?: string;
                                                                                                                                                                                                                                                                                                                                                                        authSession?: string;
                                                                                                                                                                                                                                                                                                                                                                        challengeMode?: "redirect" | "popup";
                                                                                                                                                                                                                                                                                                                                                                        codeVerifier: string;
                                                                                                                                                                                                                                                                                                                                                                        maxAge?: number;
                                                                                                                                                                                                                                                                                                                                                                        nonce?: string;
                                                                                                                                                                                                                                                                                                                                                                        originDomain?: string;
                                                                                                                                                                                                                                                                                                                                                                        originIssuer?: 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
                                                                                                                                                                                                                                                                                                                                                                    originDomain?: string

                                                                                                                                                                                                                                                                                                                                                                    The Auth0 domain used for this transaction (MCD mode). +

                                                                                                                                                                                                                                                                                                                                                                    authSession?: string
                                                                                                                                                                                                                                                                                                                                                                    challengeMode?: "redirect" | "popup"

                                                                                                                                                                                                                                                                                                                                                                    The challenge mode for this transaction.

                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                    • 'redirect' (default): Standard OAuth redirect flow
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    • 'popup': Popup flow returning via window.postMessage
                                                                                                                                                                                                                                                                                                                                                                    • +
                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                    codeVerifier: string
                                                                                                                                                                                                                                                                                                                                                                    maxAge?: number
                                                                                                                                                                                                                                                                                                                                                                    nonce?: string
                                                                                                                                                                                                                                                                                                                                                                    originDomain?: string

                                                                                                                                                                                                                                                                                                                                                                    The Auth0 domain used for this transaction (MCD mode). Stored to validate that the session is for the same domain.

                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                    originIssuer?: string

                                                                                                                                                                                                                                                                                                                                                                    The OIDC issuer URL for this transaction (MCD mode). +

                                                                                                                                                                                                                                                                                                                                                                    originIssuer?: string

                                                                                                                                                                                                                                                                                                                                                                    The OIDC issuer URL for this transaction (MCD mode). Stored alongside originDomain for validation.

                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                    responseType: RESPONSE_TYPES
                                                                                                                                                                                                                                                                                                                                                                    returnTo: string
                                                                                                                                                                                                                                                                                                                                                                    scope?: string

                                                                                                                                                                                                                                                                                                                                                                    The scope requested for this transaction.

                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                    state: 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 4ca9b37b4..8cd2c2f94 100644 --- a/docs/interfaces/types.TransactionStoreOptions.html +++ b/docs/interfaces/types.TransactionStoreOptions.html @@ -1,10 +1,10 @@ -TransactionStoreOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                      Interface TransactionStoreOptions

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

                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                      cookieOptions? +TransactionStoreOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.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 d1aef0636..b4670c2be 100644 --- a/docs/interfaces/types.User.html +++ b/docs/interfaces/types.User.html @@ -1,4 +1,4 @@ -User | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.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? +User | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.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/interfaces/types.VerifyMfaOptionsBase.html b/docs/interfaces/types.VerifyMfaOptionsBase.html index 7ddaf2cef..1f0efc2ed 100644 --- a/docs/interfaces/types.VerifyMfaOptionsBase.html +++ b/docs/interfaces/types.VerifyMfaOptionsBase.html @@ -1,4 +1,4 @@ -VerifyMfaOptionsBase | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                              Interface VerifyMfaOptionsBase

                                                                                                                                                                                                                                                                                                                                                                              Base options for MFA verify.

                                                                                                                                                                                                                                                                                                                                                                              -
                                                                                                                                                                                                                                                                                                                                                                              interface VerifyMfaOptionsBase {
                                                                                                                                                                                                                                                                                                                                                                                  mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                              }

                                                                                                                                                                                                                                                                                                                                                                              Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                              Index

                                                                                                                                                                                                                                                                                                                                                                              Properties

                                                                                                                                                                                                                                                                                                                                                                              mfaToken +VerifyMfaOptionsBase | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                Interface VerifyMfaOptionsBase

                                                                                                                                                                                                                                                                                                                                                                                Base options for MFA verify.

                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                interface VerifyMfaOptionsBase {
                                                                                                                                                                                                                                                                                                                                                                                    mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                                }

                                                                                                                                                                                                                                                                                                                                                                                Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                                Index

                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                Properties

                                                                                                                                                                                                                                                                                                                                                                                mfaToken: string

                                                                                                                                                                                                                                                                                                                                                                                Encrypted MFA token

                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/interfaces/types.VerifyMfaWithOobOptions.html b/docs/interfaces/types.VerifyMfaWithOobOptions.html index b842b3983..08e460312 100644 --- a/docs/interfaces/types.VerifyMfaWithOobOptions.html +++ b/docs/interfaces/types.VerifyMfaWithOobOptions.html @@ -1,9 +1,9 @@ -VerifyMfaWithOobOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                  Interface VerifyMfaWithOobOptions

                                                                                                                                                                                                                                                                                                                                                                                  Verification with OOB code sent via SMS/Email/Push.

                                                                                                                                                                                                                                                                                                                                                                                  +VerifyMfaWithOobOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                    Interface VerifyMfaWithOobOptions

                                                                                                                                                                                                                                                                                                                                                                                    Verification with OOB code sent via SMS/Email/Push.

                                                                                                                                                                                                                                                                                                                                                                                    // After calling challenge()
                                                                                                                                                                                                                                                                                                                                                                                    const challengeResponse = await mfa.challenge({
                                                                                                                                                                                                                                                                                                                                                                                    mfaToken,
                                                                                                                                                                                                                                                                                                                                                                                    challengeType: 'oob',
                                                                                                                                                                                                                                                                                                                                                                                    authenticatorId: 'sms|dev_abc123'
                                                                                                                                                                                                                                                                                                                                                                                    });

                                                                                                                                                                                                                                                                                                                                                                                    // User receives code "543210"
                                                                                                                                                                                                                                                                                                                                                                                    await mfa.verify({
                                                                                                                                                                                                                                                                                                                                                                                    mfaToken,
                                                                                                                                                                                                                                                                                                                                                                                    oobCode: challengeResponse.oobCode,
                                                                                                                                                                                                                                                                                                                                                                                    bindingCode: '543210'
                                                                                                                                                                                                                                                                                                                                                                                    });
                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                    interface VerifyMfaWithOobOptions {
                                                                                                                                                                                                                                                                                                                                                                                        bindingCode: string;
                                                                                                                                                                                                                                                                                                                                                                                        mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                                        oobCode: string;
                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                    interface VerifyMfaWithOobOptions {
                                                                                                                                                                                                                                                                                                                                                                                        bindingCode: string;
                                                                                                                                                                                                                                                                                                                                                                                        mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                                        oobCode: string;
                                                                                                                                                                                                                                                                                                                                                                                    }

                                                                                                                                                                                                                                                                                                                                                                                    Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                    bindingCode: string
                                                                                                                                                                                                                                                                                                                                                                                    mfaToken: string

                                                                                                                                                                                                                                                                                                                                                                                    Encrypted MFA token

                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                    oobCode: string
                                                                                                                                                                                                                                                                                                                                                                                    +

                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                    bindingCode: string
                                                                                                                                                                                                                                                                                                                                                                                    mfaToken: string

                                                                                                                                                                                                                                                                                                                                                                                    Encrypted MFA token

                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                    oobCode: string
                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/interfaces/types.VerifyMfaWithOtpOptions.html b/docs/interfaces/types.VerifyMfaWithOtpOptions.html index b4d25785d..23ad1da9d 100644 --- a/docs/interfaces/types.VerifyMfaWithOtpOptions.html +++ b/docs/interfaces/types.VerifyMfaWithOtpOptions.html @@ -1,8 +1,8 @@ -VerifyMfaWithOtpOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                      Interface VerifyMfaWithOtpOptions

                                                                                                                                                                                                                                                                                                                                                                                      Verification with OTP code from authenticator app.

                                                                                                                                                                                                                                                                                                                                                                                      +VerifyMfaWithOtpOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                        Interface VerifyMfaWithOtpOptions

                                                                                                                                                                                                                                                                                                                                                                                        Verification with OTP code from authenticator app.

                                                                                                                                                                                                                                                                                                                                                                                        import { mfa } from '@auth0/nextjs-auth0/client';

                                                                                                                                                                                                                                                                                                                                                                                        try {
                                                                                                                                                                                                                                                                                                                                                                                        await mfa.verify({
                                                                                                                                                                                                                                                                                                                                                                                        mfaToken: encryptedToken,
                                                                                                                                                                                                                                                                                                                                                                                        otp: '123456' // From Google Authenticator
                                                                                                                                                                                                                                                                                                                                                                                        });
                                                                                                                                                                                                                                                                                                                                                                                        // User authenticated, access token in session
                                                                                                                                                                                                                                                                                                                                                                                        } catch (error) {
                                                                                                                                                                                                                                                                                                                                                                                        if (error instanceof MfaVerifyError) {
                                                                                                                                                                                                                                                                                                                                                                                        console.error('Invalid OTP code');
                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                        interface VerifyMfaWithOtpOptions {
                                                                                                                                                                                                                                                                                                                                                                                            mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                                            otp: string;
                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                        Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                        interface VerifyMfaWithOtpOptions {
                                                                                                                                                                                                                                                                                                                                                                                            mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                                            otp: string;
                                                                                                                                                                                                                                                                                                                                                                                        }

                                                                                                                                                                                                                                                                                                                                                                                        Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                                        Index

                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                        mfaToken: string

                                                                                                                                                                                                                                                                                                                                                                                        Encrypted MFA token

                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                        otp: string
                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                        otp: string
                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/interfaces/types.VerifyMfaWithRecoveryCodeOptions.html b/docs/interfaces/types.VerifyMfaWithRecoveryCodeOptions.html index 053f97305..22e721658 100644 --- a/docs/interfaces/types.VerifyMfaWithRecoveryCodeOptions.html +++ b/docs/interfaces/types.VerifyMfaWithRecoveryCodeOptions.html @@ -1,8 +1,8 @@ -VerifyMfaWithRecoveryCodeOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                          Interface VerifyMfaWithRecoveryCodeOptions

                                                                                                                                                                                                                                                                                                                                                                                          Verification with recovery code (backup).

                                                                                                                                                                                                                                                                                                                                                                                          +VerifyMfaWithRecoveryCodeOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                            Interface VerifyMfaWithRecoveryCodeOptions

                                                                                                                                                                                                                                                                                                                                                                                            Verification with recovery code (backup).

                                                                                                                                                                                                                                                                                                                                                                                            // Using recovery code from enrollment
                                                                                                                                                                                                                                                                                                                                                                                            await mfa.verify({
                                                                                                                                                                                                                                                                                                                                                                                            mfaToken,
                                                                                                                                                                                                                                                                                                                                                                                            recoveryCode: 'ABCD-EFGH-IJKL-MNOP'
                                                                                                                                                                                                                                                                                                                                                                                            });
                                                                                                                                                                                                                                                                                                                                                                                            // Recovery code is single-use and invalidated after verification
                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                            interface VerifyMfaWithRecoveryCodeOptions {
                                                                                                                                                                                                                                                                                                                                                                                                mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                recoveryCode: string;
                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                            interface VerifyMfaWithRecoveryCodeOptions {
                                                                                                                                                                                                                                                                                                                                                                                                mfaToken: string;
                                                                                                                                                                                                                                                                                                                                                                                                recoveryCode: string;
                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                            Hierarchy (View Summary)

                                                                                                                                                                                                                                                                                                                                                                                            Index

                                                                                                                                                                                                                                                                                                                                                                                            Properties

                                                                                                                                                                                                                                                                                                                                                                                            mfaToken: string

                                                                                                                                                                                                                                                                                                                                                                                            Encrypted MFA token

                                                                                                                                                                                                                                                                                                                                                                                            -
                                                                                                                                                                                                                                                                                                                                                                                            recoveryCode: string
                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                            recoveryCode: string
                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/modules.html b/docs/modules.html index 56cdd0bb4..dfd76d5a5 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -@auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0

                                                                                                                                                                                                                                                                                                                                                                                                Modules

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

                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.0

                                                                                                                                                                                                                                                                                                                                                                                                    Modules

                                                                                                                                                                                                                                                                                                                                                                                                    client
                                                                                                                                                                                                                                                                                                                                                                                                    errors
                                                                                                                                                                                                                                                                                                                                                                                                    server
                                                                                                                                                                                                                                                                                                                                                                                                    testing
                                                                                                                                                                                                                                                                                                                                                                                                    types
                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/modules/client.html b/docs/modules/client.html index a80f9125c..5cc79ca24 100644 --- a/docs/modules/client.html +++ b/docs/modules/client.html @@ -1 +1 @@ -client | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                      +client | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/modules/errors.html b/docs/modules/errors.html index 22029a383..94195e7c8 100644 --- a/docs/modules/errors.html +++ b/docs/modules/errors.html @@ -1 +1 @@ -errors | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                          +errors | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/modules/server.html b/docs/modules/server.html index 907f8897a..44de0e46e 100644 --- a/docs/modules/server.html +++ b/docs/modules/server.html @@ -1 +1 @@ -server | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                              +server | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/modules/testing.html b/docs/modules/testing.html index 29be8dfe8..d72f00d8b 100644 --- a/docs/modules/testing.html +++ b/docs/modules/testing.html @@ -1 +1 @@ -testing | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                  +testing | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/modules/types.html b/docs/modules/types.html index 1dc0f05f1..455d16349 100644 --- a/docs/modules/types.html +++ b/docs/modules/types.html @@ -1 +1 @@ -types | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                      +types | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/client.AccessTokenResponse.html b/docs/types/client.AccessTokenResponse.html new file mode 100644 index 000000000..6e35d4416 --- /dev/null +++ b/docs/types/client.AccessTokenResponse.html @@ -0,0 +1,15 @@ +AccessTokenResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias AccessTokenResponse

                                                                                                                                                                                                                                                                                                                                                                                                                          Full response from the /auth/access-token endpoint.

                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                          Returned by getAccessToken({ includeFullResponse: true }) and by +mfa.challengeWithPopup(). Contains the access token along with scope +and expiration metadata.

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          type AccessTokenResponse = {
                                                                                                                                                                                                                                                                                                                                                                                                                              expires_at?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                              expires_in?: number;
                                                                                                                                                                                                                                                                                                                                                                                                                              scope?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                              token: string;
                                                                                                                                                                                                                                                                                                                                                                                                                              token_type?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                          expires_at?: number

                                                                                                                                                                                                                                                                                                                                                                                                                          Absolute expiration time in seconds since Unix epoch.

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          expires_in?: number

                                                                                                                                                                                                                                                                                                                                                                                                                          Time-to-live in seconds from the time of issuance.

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          scope?: string

                                                                                                                                                                                                                                                                                                                                                                                                                          Space-separated scopes granted by Auth0.

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          token: string

                                                                                                                                                                                                                                                                                                                                                                                                                          The access token string (JWT or opaque).

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          token_type?: string

                                                                                                                                                                                                                                                                                                                                                                                                                          Token type, typically "Bearer".

                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/types/client.WithPageAuthRequired.html b/docs/types/client.WithPageAuthRequired.html index a7c911f9c..400596730 100644 --- a/docs/types/client.WithPageAuthRequired.html +++ b/docs/types/client.WithPageAuthRequired.html @@ -1,6 +1,6 @@ -WithPageAuthRequired | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                            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.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.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 273698a67..c55fb26a9 100644 --- a/docs/types/server.AppRouterPageRoute.html +++ b/docs/types/server.AppRouterPageRoute.html @@ -1,8 +1,8 @@ -AppRouterPageRoute | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias AppRouterPageRoute<P>

                                                                                                                                                                                                                                                                                                                                                                                                                                AppRouterPageRoute: (obj: P) => Promise<any>

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias AppRouterPageRoute<P>

                                                                                                                                                                                                                                                                                                                                                                                                                                  AppRouterPageRoute: (obj: P) => Promise<any>

                                                                                                                                                                                                                                                                                                                                                                                                                                  An app route that has been augmented with WithPageAuthRequired. Returns any to be compatible with React's return types while avoiding React dependency.

                                                                                                                                                                                                                                                                                                                                                                                                                                  The generic parameter P allows passing Next.js PageProps or LayoutProps types for strongly-typed route parameters:

                                                                                                                                                                                                                                                                                                                                                                                                                                  export default auth0.withPageAuthRequired(
                                                                                                                                                                                                                                                                                                                                                                                                                                  async function Page(props: PageProps<"/customers/[id]/details">) {
                                                                                                                                                                                                                                                                                                                                                                                                                                  const { id } = await props.params;
                                                                                                                                                                                                                                                                                                                                                                                                                                  return <div>{id}</div>;
                                                                                                                                                                                                                                                                                                                                                                                                                                  }
                                                                                                                                                                                                                                                                                                                                                                                                                                  );
                                                                                                                                                                                                                                                                                                                                                                                                                                  -

                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                    • (obj: P): Promise<any>
                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                      • obj: P

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<any>

                                                                                                                                                                                                                                                                                                                                                                                                                                  +

                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                    • (obj: P): Promise<any>
                                                                                                                                                                                                                                                                                                                                                                                                                                    • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                      • obj: P

                                                                                                                                                                                                                                                                                                                                                                                                                                      Returns Promise<any>

                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/types/server.AppRouterPageRouteOpts.html b/docs/types/server.AppRouterPageRouteOpts.html index a01cf2bf7..001d249d5 100644 --- a/docs/types/server.AppRouterPageRouteOpts.html +++ b/docs/types/server.AppRouterPageRouteOpts.html @@ -1,4 +1,4 @@ -AppRouterPageRouteOpts | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.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? +AppRouterPageRouteOpts | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.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 3b204fb28..d9634436b 100644 --- a/docs/types/server.GetServerSidePropsResultWithSession.html +++ b/docs/types/server.GetServerSidePropsResultWithSession.html @@ -1,6 +1,6 @@ -GetServerSidePropsResultWithSession | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.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 +GetServerSidePropsResultWithSession | @auth0/nextjs-auth0 - v4.19.0

                                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.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 4d4c2514b..3a48d6959 100644 --- a/docs/types/server.PageRoute.html +++ b/docs/types/server.PageRoute.html @@ -1,2 +1,2 @@ -PageRoute | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.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

                                                                                                                                                                                                                                                                                                                                                                                                                                            +PageRoute | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.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 9dff22c1a..6cc94a639 100644 --- a/docs/types/server.WithPageAuthRequired.html +++ b/docs/types/server.WithPageAuthRequired.html @@ -1,3 +1,3 @@ -WithPageAuthRequired | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias WithPageAuthRequired

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...
                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/types/server.WithPageAuthRequiredAppRouter.html b/docs/types/server.WithPageAuthRequiredAppRouter.html index 07f97f9c7..3e7ea3277 100644 --- a/docs/types/server.WithPageAuthRequiredAppRouter.html +++ b/docs/types/server.WithPageAuthRequiredAppRouter.html @@ -1,4 +1,4 @@ -WithPageAuthRequiredAppRouter | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias WithPageAuthRequiredAppRouter

                                                                                                                                                                                                                                                                                                                                                                                                                                                    WithPageAuthRequiredAppRouter: <
                                                                                                                                                                                                                                                                                                                                                                                                                                                        P extends AppRouterPageRouteOpts = AppRouterPageRouteOpts,
                                                                                                                                                                                                                                                                                                                                                                                                                                                    >(
                                                                                                                                                                                                                                                                                                                                                                                                                                                        fn: AppRouterPageRoute<P>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                        opts?: WithPageAuthRequiredAppRouterOptions<P>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                    ) => AppRouterPageRoute<P>

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias WithPageAuthRequiredAppRouter

                                                                                                                                                                                                                                                                                                                                                                                                                                                      WithPageAuthRequiredAppRouter: <
                                                                                                                                                                                                                                                                                                                                                                                                                                                          P extends AppRouterPageRouteOpts = AppRouterPageRouteOpts,
                                                                                                                                                                                                                                                                                                                                                                                                                                                      >(
                                                                                                                                                                                                                                                                                                                                                                                                                                                          fn: AppRouterPageRoute<P>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          opts?: WithPageAuthRequiredAppRouterOptions<P>,
                                                                                                                                                                                                                                                                                                                                                                                                                                                      ) => AppRouterPageRoute<P>

                                                                                                                                                                                                                                                                                                                                                                                                                                                      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 5e8149c03..3400452b7 100644 --- a/docs/types/server.WithPageAuthRequiredAppRouterOptions.html +++ b/docs/types/server.WithPageAuthRequiredAppRouterOptions.html @@ -1,13 +1,13 @@ -WithPageAuthRequiredAppRouterOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias WithPageAuthRequiredAppRouterOptions<P>

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

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias WithPageAuthRequiredAppRouterOptions<P>

                                                                                                                                                                                                                                                                                                                                                                                                                                                          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<
                                                                                                                                                                                                                                                                                                                                                                                                                                                              P extends AppRouterPageRouteOpts = AppRouterPageRouteOpts,
                                                                                                                                                                                                                                                                                                                                                                                                                                                          > = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                              returnTo?: string | ((obj: P) => Promise<string> | string);
                                                                                                                                                                                                                                                                                                                                                                                                                                                          }

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                          returnTo?: string | ((obj: P) => Promise<string> | string)

                                                                                                                                                                                                                                                                                                                                                                                                                                                          The URL to redirect the user to after a successful login.

                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Can be a static string or a function that receives the page props. When used as a function, the generic P ensures that params and searchParams match the specific types of your route (e.g., from Next.js PageProps).
                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/types/server.WithPageAuthRequiredPageRouter.html b/docs/types/server.WithPageAuthRequiredPageRouter.html index 84d9f3100..c3a3ae6d0 100644 --- a/docs/types/server.WithPageAuthRequiredPageRouter.html +++ b/docs/types/server.WithPageAuthRequiredPageRouter.html @@ -1,8 +1,8 @@ -WithPageAuthRequiredPageRouter | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.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 +WithPageAuthRequiredPageRouter | @auth0/nextjs-auth0 - v4.19.0

                                                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.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 467413672..f7847e45a 100644 --- a/docs/types/server.WithPageAuthRequiredPageRouterOptions.html +++ b/docs/types/server.WithPageAuthRequiredPageRouterOptions.html @@ -1,10 +1,10 @@ -WithPageAuthRequiredPageRouterOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                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.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.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 c389b128a..5d59e9d84 100644 --- a/docs/types/testing.GenerateSessionCookieConfig.html +++ b/docs/types/testing.GenerateSessionCookieConfig.html @@ -1,4 +1,4 @@ -GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias GenerateSessionCookieConfig

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    type GenerateSessionCookieConfig = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        secret: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                    secret +GenerateSessionCookieConfig | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.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.AuthCompleteMessage.html b/docs/types/types.AuthCompleteMessage.html new file mode 100644 index 000000000..856749c74 --- /dev/null +++ b/docs/types/types.AuthCompleteMessage.html @@ -0,0 +1,11 @@ +AuthCompleteMessage | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias AuthCompleteMessage

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        AuthCompleteMessage:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                success: true;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: "auth_complete";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                user?: { email: string; sub: string };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                error: { code: string; message: string };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                success: false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                type: "auth_complete";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        postMessage payload sent from the popup callback page to the parent window.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Uses a discriminated union on success for type-safe handling:

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • success: true — MFA completed, optional user metadata attached
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • success: false — error occurred, error code and message attached
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Security: Never contains raw access tokens. Only user metadata (sub, email) +is sent via postMessage. Tokens remain server-side in the encrypted session.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • { success: true; type: "auth_complete"; user?: { email: string; sub: string } }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • success: true
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • type: "auth_complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • Optionaluser?: { email: string; sub: string }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            User metadata from the authenticated session (sub and email only).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        • {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              error: { code: string; message: string };
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              success: false;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type: "auth_complete";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • error: { code: string; message: string }

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Error details from the callback (OAuth error code + description).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • success: false
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • type: "auth_complete"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.BeforeSessionSavedHook.html b/docs/types/types.BeforeSessionSavedHook.html index 61f440347..73d64157f 100644 --- a/docs/types/types.BeforeSessionSavedHook.html +++ b/docs/types/types.BeforeSessionSavedHook.html @@ -1 +1 @@ -BeforeSessionSavedHook | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias BeforeSessionSavedHook

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Declaration

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias BeforeSessionSavedHook

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                            diff --git a/docs/types/types.DomainResolver.html b/docs/types/types.DomainResolver.html index ae52cd03f..a8df6365a 100644 --- a/docs/types/types.DomainResolver.html +++ b/docs/types/types.DomainResolver.html @@ -1,4 +1,4 @@ -DomainResolver | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias DomainResolver

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              DomainResolver: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  config: { headers: Headers; url?: URL },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                              ) => Promise<string> | string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Resolves the Auth0 domain from request context. +DomainResolver | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias DomainResolver

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                DomainResolver: (
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    config: { headers: Headers; url?: URL },
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ) => Promise<string> | string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Resolves the Auth0 domain from request context. Called once per SDK operation in resolver mode.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Supports both synchronous and asynchronous resolution patterns.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • (config: { headers: Headers; url?: URL }): Promise<string> | string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  • Parameters

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    • config: { headers: Headers; url?: URL }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      • headers: Headers

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Request headers from the current context. @@ -22,4 +22,4 @@

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Database lookup (B2B SaaS)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const auth0 = new Auth0Client({
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        domain: async ({ headers }) => {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const tenantId = headers.get("x-tenant-id");
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const domain = await db.getAuth0Domain(tenantId);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        if (!domain) throw new Error(`Unknown tenant: ${tenantId}`);
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        return domain;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        });

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @public
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                diff --git a/docs/types/types.EnrollOptions.html b/docs/types/types.EnrollOptions.html index 56bf9faf8..e5152cdd3 100644 --- a/docs/types/types.EnrollOptions.html +++ b/docs/types/types.EnrollOptions.html @@ -1,2 +1,2 @@ -EnrollOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias EnrollOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  MFA enrollment options (discriminated union).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +EnrollOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias EnrollOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    EnrollOptions:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | EnrollFactorTypeOtpOptions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | EnrollFactorTypeOobOptions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | EnrollOtpOptions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | EnrollOobOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    MFA enrollment options (discriminated union).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    diff --git a/docs/types/types.EnrollmentResponse.html b/docs/types/types.EnrollmentResponse.html index 2c19046e5..f8e4bb62b 100644 --- a/docs/types/types.EnrollmentResponse.html +++ b/docs/types/types.EnrollmentResponse.html @@ -1,2 +1,2 @@ -EnrollmentResponse | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias EnrollmentResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      EnrollmentResponse: OtpEnrollmentResponse | OobEnrollmentResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      MFA enrollment response (discriminated union).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +EnrollmentResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias EnrollmentResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        EnrollmentResponse: OtpEnrollmentResponse | OobEnrollmentResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        MFA enrollment response (discriminated union).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        diff --git a/docs/types/types.FactorType.html b/docs/types/types.FactorType.html new file mode 100644 index 000000000..233311e2f --- /dev/null +++ b/docs/types/types.FactorType.html @@ -0,0 +1,2 @@ +FactorType | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias FactorType

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          FactorType: "otp" | "sms" | "voice" | "email" | "push"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Factor types for MFA enrollment.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/types/types.GetAccessTokenOptions.html b/docs/types/types.GetAccessTokenOptions.html index a688cd03f..66c0bda98 100644 --- a/docs/types/types.GetAccessTokenOptions.html +++ b/docs/types/types.GetAccessTokenOptions.html @@ -1,7 +1,12 @@ -GetAccessTokenOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            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.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Type Alias GetAccessTokenOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              type GetAccessTokenOptions = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  audience?: string | null;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  mergeScopes?: boolean;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  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
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              mergeScopes?: boolean

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Control scope merging behavior. +When true (default): merge global scopes for default audience. +When false: use ONLY requested scope (no global merge). +Used by challengeWithPopup() to prevent global scope pollution.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              refresh?: boolean | null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              scope?: string | null
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/types/types.LogoutStrategy.html b/docs/types/types.LogoutStrategy.html index 01b1a5810..8935d9f7b 100644 --- a/docs/types/types.LogoutStrategy.html +++ b/docs/types/types.LogoutStrategy.html @@ -1,2 +1,2 @@ -LogoutStrategy | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias LogoutStrategy

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Logout strategy options for controlling logout endpoint selection.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +LogoutStrategy | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.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 976f7f288..b708fb5da 100644 --- a/docs/types/types.LogoutToken.html +++ b/docs/types/types.LogoutToken.html @@ -1,4 +1,4 @@ -LogoutToken | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias LogoutToken

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    iss? +LogoutToken | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias LogoutToken

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      iss?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      sid?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      sub?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      iss?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      sid?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      sub?: string
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/types/types.OnCallbackContext.html b/docs/types/types.OnCallbackContext.html index 4f85259c1..64045f5b9 100644 --- a/docs/types/types.OnCallbackContext.html +++ b/docs/types/types.OnCallbackContext.html @@ -1,10 +1,17 @@ -OnCallbackContext | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Type Alias OnCallbackContext

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        appBaseUrl? +OnCallbackContext | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Type Alias OnCallbackContext

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          type OnCallbackContext = {
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              appBaseUrl?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              challengeMode?: "redirect" | "popup";
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              connectedAccount?: CompleteConnectAccountResponse;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              responseType?: RESPONSE_TYPES;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              returnTo?: string;
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          }
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Index

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Properties

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          appBaseUrl?: string

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The resolved base URL for the current request, used to build safe redirects.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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. +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          challengeMode?: "redirect" | "popup"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          The return strategy for this callback flow.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • 'redirect' (default): Standard OAuth redirect flow
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • 'postMessage': Popup flow returning via window.postMessage +Hook authors can use this to detect popup flows and adapt behavior.
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          • +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          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. 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 985536195..353232de7 100644 --- a/docs/types/types.OnCallbackHook.html +++ b/docs/types/types.OnCallbackHook.html @@ -1 +1 @@ -OnCallbackHook | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias OnCallbackHook

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Declaration

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +OnCallbackHook | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.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 8c0ce6565..b903d4907 100644 --- a/docs/types/types.PagesRouterRequest.html +++ b/docs/types/types.PagesRouterRequest.html @@ -1 +1 @@ -PagesRouterRequest | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias PagesRouterRequest

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                PagesRouterRequest: IncomingMessage | NextApiRequest
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +PagesRouterRequest | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.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 936a54b65..851ec4e82 100644 --- a/docs/types/types.PagesRouterResponse.html +++ b/docs/types/types.PagesRouterResponse.html @@ -1 +1 @@ -PagesRouterResponse | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias PagesRouterResponse

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    PagesRouterResponse: ServerResponse<IncomingMessage> | NextApiResponse
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +PagesRouterResponse | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.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 38f51ae5f..6f6731e82 100644 --- a/docs/types/types.ProxyOptions.html +++ b/docs/types/types.ProxyOptions.html @@ -1,5 +1,5 @@ -ProxyOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        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.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.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 7ef66c71e..946287b51 100644 --- a/docs/types/types.ReadonlyRequestCookies.html +++ b/docs/types/types.ReadonlyRequestCookies.html @@ -1 +1 @@ -ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Type Alias ReadonlyRequestCookies

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            ReadonlyRequestCookies: Omit<RequestCookies, "set" | "clear" | "delete"> & Pick<
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                ResponseCookies,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                "set"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                | "delete",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            >
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +ReadonlyRequestCookies | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.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 b65b596b0..51927aea0 100644 --- a/docs/types/types.RoutesOptions.html +++ b/docs/types/types.RoutesOptions.html @@ -1 +1 @@ -RoutesOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Type Alias RoutesOptions

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Type Alias RoutesOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  RoutesOptions: Partial<
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Pick<
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Routes,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          "login"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | "callback"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | "logout"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | "backChannelLogout"
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | "connectAccount",
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      >,
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  >
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/types/types.VerifyMfaOptions.html b/docs/types/types.VerifyMfaOptions.html index 20b334955..5fdf1800d 100644 --- a/docs/types/types.VerifyMfaOptions.html +++ b/docs/types/types.VerifyMfaOptions.html @@ -1,2 +1,2 @@ -VerifyMfaOptions | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Type Alias VerifyMfaOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    VerifyMfaOptions:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | VerifyMfaWithOtpOptions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | VerifyMfaWithOobOptions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        | VerifyMfaWithRecoveryCodeOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    MFA verification options (union type).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +VerifyMfaOptions | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Type Alias VerifyMfaOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      VerifyMfaOptions:
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | VerifyMfaWithOtpOptions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | VerifyMfaWithOobOptions
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          | VerifyMfaWithRecoveryCodeOptions

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      MFA verification options (union type).

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/variables/client.mfa.html b/docs/variables/client.mfa.html index 5651ac369..0de0bde8d 100644 --- a/docs/variables/client.mfa.html +++ b/docs/variables/client.mfa.html @@ -1,5 +1,7 @@ -mfa | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Variable mfaConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        mfa: MfaClient = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Client-side MFA API singleton.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        import { mfa } from '@auth0/nextjs-auth0/client';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // List authenticators
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const authenticators = await mfa.getAuthenticators({ mfaToken });

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Initiate challenge
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const challenge = await mfa.challenge({ mfaToken, challengeType: 'oob' });

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        // Verify and complete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        const tokens = await mfa.verify({ mfaToken, otp: '123456' }); +mfa | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Variable mfaConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          mfa: ClientMfaClient = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Client-side MFA API singleton.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Provides methods for MFA authenticator management, challenge/verify flows, +and popup-based step-up authentication via Universal Login.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          import { mfa } from '@auth0/nextjs-auth0/client';

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // List authenticators
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          const authenticators = await mfa.getAuthenticators({ mfaToken });

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // Initiate challenge
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          const challenge = await mfa.challenge({ mfaToken, challengeType: 'oob' });

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // Verify and complete
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          const tokens = await mfa.verify({ mfaToken, otp: '123456' });

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          // Step-up via popup (no redirect)
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          const { token } = await mfa.challengeWithPopup({
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          audience: 'https://api.example.com'
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          });
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          -
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/variables/client.withPageAuthRequired.html b/docs/variables/client.withPageAuthRequired.html index 3655dbf11..e3ca2b22e 100644 --- a/docs/variables/client.withPageAuthRequired.html +++ b/docs/variables/client.withPageAuthRequired.html @@ -1 +1 @@ -withPageAuthRequired | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Variable withPageAuthRequiredConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            withPageAuthRequired: WithPageAuthRequired = ...
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            +withPageAuthRequired | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            @auth0/nextjs-auth0 - v4.19.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 a457f584c..88b58fa6a 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.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                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.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Variable DEFAULT_ID_TOKEN_CLAIMSConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  DEFAULT_ID_TOKEN_CLAIMS: string[] = ...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Default claims for the ID token.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/docs/variables/types.GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE.html b/docs/variables/types.GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE.html index 5486021ae..ce0bff80e 100644 --- a/docs/variables/types.GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE.html +++ b/docs/variables/types.GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE.html @@ -1,3 +1,3 @@ -GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Variable GRANT_TYPE_CUSTOM_TOKEN_EXCHANGEConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE: "urn:ietf:params:oauth:grant-type:token-exchange"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    Grant type for Custom Token Exchange as per RFC 8693.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    +GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Variable GRANT_TYPE_CUSTOM_TOKEN_EXCHANGEConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      GRANT_TYPE_CUSTOM_TOKEN_EXCHANGE: "urn:ietf:params:oauth:grant-type:token-exchange"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      Grant type for Custom Token Exchange as per RFC 8693.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      diff --git a/docs/variables/types.GRANT_TYPE_MFA_OOB.html b/docs/variables/types.GRANT_TYPE_MFA_OOB.html index 6c8c6aa44..4bf66fb94 100644 --- a/docs/variables/types.GRANT_TYPE_MFA_OOB.html +++ b/docs/variables/types.GRANT_TYPE_MFA_OOB.html @@ -1,3 +1,3 @@ -GRANT_TYPE_MFA_OOB | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Variable GRANT_TYPE_MFA_OOBConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        GRANT_TYPE_MFA_OOB: "http://auth0.com/oauth/grant-type/mfa-oob"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        Grant type for MFA OOB (SMS/Email/Push) verification.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        +GRANT_TYPE_MFA_OOB | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Variable GRANT_TYPE_MFA_OOBConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          GRANT_TYPE_MFA_OOB: "http://auth0.com/oauth/grant-type/mfa-oob"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          Grant type for MFA OOB (SMS/Email/Push) verification.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          diff --git a/docs/variables/types.GRANT_TYPE_MFA_OTP.html b/docs/variables/types.GRANT_TYPE_MFA_OTP.html index edf539382..9906fd78d 100644 --- a/docs/variables/types.GRANT_TYPE_MFA_OTP.html +++ b/docs/variables/types.GRANT_TYPE_MFA_OTP.html @@ -1,4 +1,4 @@ -GRANT_TYPE_MFA_OTP | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Variable GRANT_TYPE_MFA_OTPConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            GRANT_TYPE_MFA_OTP: "http://auth0.com/oauth/grant-type/mfa-otp"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            Grant type for MFA token exchange. +GRANT_TYPE_MFA_OTP | @auth0/nextjs-auth0 - v4.19.0

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

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Variable GRANT_TYPE_MFA_OTPConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              GRANT_TYPE_MFA_OTP: "http://auth0.com/oauth/grant-type/mfa-otp"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              Grant type for MFA token exchange. Used in token endpoint requests to exchange an mfa_token for access/refresh tokens.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              diff --git a/docs/variables/types.GRANT_TYPE_MFA_RECOVERY_CODE.html b/docs/variables/types.GRANT_TYPE_MFA_RECOVERY_CODE.html index fd82e6984..cd06f179b 100644 --- a/docs/variables/types.GRANT_TYPE_MFA_RECOVERY_CODE.html +++ b/docs/variables/types.GRANT_TYPE_MFA_RECOVERY_CODE.html @@ -1,3 +1,3 @@ -GRANT_TYPE_MFA_RECOVERY_CODE | @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              @auth0/nextjs-auth0 - v4.18.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Variable GRANT_TYPE_MFA_RECOVERY_CODEConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                GRANT_TYPE_MFA_RECOVERY_CODE: "http://auth0.com/oauth/grant-type/mfa-recovery-code"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                Grant type for MFA recovery code verification.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                +GRANT_TYPE_MFA_RECOVERY_CODE | @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                @auth0/nextjs-auth0 - v4.19.0
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Preparing search index...

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Variable GRANT_TYPE_MFA_RECOVERY_CODEConst

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  GRANT_TYPE_MFA_RECOVERY_CODE: "http://auth0.com/oauth/grant-type/mfa-recovery-code"

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  Grant type for MFA recovery code verification.

                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  +
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  diff --git a/package.json b/package.json index 283b3912f..1d36983b8 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "4.18.0", + "version": "4.19.0", "description": "Auth0 Next.js SDK", "type": "module", "scripts": {