diff --git a/.circleci/config.yml b/.circleci/config.yml index f2c715633..233d569bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -43,7 +43,7 @@ workflows: context: - browserstack-env - ship/node-publish: - publish-command: npm publish --tag v1 + publish-command: npm publish --tag nextjs-auth0-1 requires: - build context: diff --git a/CHANGELOG.md b/CHANGELOG.md index 9a005e206..0f31be81c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,31 +1,48 @@ # Change Log +## [v1.9.3](https://github.com/auth0/nextjs-auth0/tree/v1.9.3) (2023-03-13) + +[Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.2...v1.9.3) + +**Fixed** + +- [SDK-3887] Always honor auth0Logout config for v1 [\#1105](https://github.com/auth0/nextjs-auth0/pull/1105) ([adamjmcgrath](https://github.com/adamjmcgrath)) + ## [v1.9.2](https://github.com/auth0/nextjs-auth0/tree/v1.9.2) (2022-10-07) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.1...v1.9.2) **Added** + - Fix updates to session not reflected in async `getServerSideProps` [\#843](https://github.com/auth0/nextjs-auth0/pull/843) ([adamjmcgrath](https://github.com/adamjmcgrath)) ## [v1.9.1](https://github.com/auth0/nextjs-auth0/tree/v1.9.1) (2022-06-16) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.9.0...v1.9.1) **Fixed** + - Add Props and Query to GetServerSidePropsWrapper type [\#731](https://github.com/auth0/nextjs-auth0/pull/731) ([adamjmcgrath](https://github.com/adamjmcgrath)) ## [v1.9.0](https://github.com/auth0/nextjs-auth0/tree/v1.9.0) (2022-05-20) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.8.0...v1.9.0) **Added** + - [SDK-3332] Constrain session lifecycle to `withPageAuthrequired` to avoid Next warning [\#664](https://github.com/auth0/nextjs-auth0/pull/664) ([adamjmcgrath](https://github.com/adamjmcgrath)) ## [v1.8.0](https://github.com/auth0/nextjs-auth0/tree/v1.8.0) (2022-05-04) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.7.0...v1.8.0) **Added** + - Add some useful props to the callback error [\#625](https://github.com/auth0/nextjs-auth0/pull/625) ([adamjmcgrath](https://github.com/adamjmcgrath)) - Update to next 12 [\#612](https://github.com/auth0/nextjs-auth0/pull/612) ([adamjmcgrath](https://github.com/adamjmcgrath)) **Fixed** + - Fix Fast Refresh for WithPageAuthRequired [\#653](https://github.com/auth0/nextjs-auth0/pull/653) ([adamjmcgrath](https://github.com/adamjmcgrath)) - Handle request errors on `useUser` hook [SDK-3227] [\#639](https://github.com/auth0/nextjs-auth0/pull/639) ([Widcket](https://github.com/Widcket)) - Add default to PageRoute type parameter [\#632](https://github.com/auth0/nextjs-auth0/pull/632) ([grantbdev](https://github.com/grantbdev)) @@ -34,40 +51,51 @@ - Fix types in client-side `withPageAuthRequired` [\#574](https://github.com/auth0/nextjs-auth0/pull/574) ([slaypni](https://github.com/slaypni)) ## [v1.7.0](https://github.com/auth0/nextjs-auth0/tree/v1.7.0) (2022-01-06) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.2...v1.7.0) **Added** + - Include message body in 302 responses [\#564](https://github.com/auth0/nextjs-auth0/pull/564) ([michielvangendt](https://github.com/michielvangendt)) **Fixed** + - Honor configured sameSite in transient cookies so you can login to iframe using 'none' [\#571](https://github.com/auth0/nextjs-auth0/pull/571) ([adamjmcgrath](https://github.com/adamjmcgrath)) - Cookies with samesite=none must have the secure attr set [\#570](https://github.com/auth0/nextjs-auth0/pull/570) ([adamjmcgrath](https://github.com/adamjmcgrath)) - Improve types in server-side withPageAuthRequired [\#554](https://github.com/auth0/nextjs-auth0/pull/554) ([misoton665](https://github.com/misoton665)) ## [v1.6.2](https://github.com/auth0/nextjs-auth0/tree/v1.6.2) (2021-12-16) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.1...v1.6.2) **Fixed** + - Fix issue where error reporting wrong instanceof [\#543](https://github.com/auth0/nextjs-auth0/pull/543) ([adamjmcgrath](https://github.com/adamjmcgrath)) **Security** + - Enforce configured host on user supplied returnTo [\#557](https://github.com/auth0/nextjs-auth0/pull/557) ([adamjmcgrath](https://github.com/adamjmcgrath)) ## [v1.6.1](https://github.com/auth0/nextjs-auth0/tree/v1.6.1) (2021-10-13) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.6.0...v1.6.1) **Fixed** + - [Snyk] Upgrade openid-client from 4.8.0 to 4.9.0 [\#518](https://github.com/auth0/nextjs-auth0/pull/518) ([snyk-bot](https://github.com/snyk-bot)) ## [v1.6.0](https://github.com/auth0/nextjs-auth0/tree/v1.6.0) (2021-10-11) + [Full Changelog](https://github.com/auth0/nextjs-auth0/compare/v1.5.0...v1.6.0) **Added** + - [SDK-2818] Export error classes [\#508](https://github.com/auth0/nextjs-auth0/pull/508) ([adamjmcgrath](https://github.com/adamjmcgrath)) - [SDK-2529] Add ability to pass custom params to refresh grant and code exchange [\#507](https://github.com/auth0/nextjs-auth0/pull/507) ([adamjmcgrath](https://github.com/adamjmcgrath)) - [SDK-2813] Add afterRefresh hook [\#506](https://github.com/auth0/nextjs-auth0/pull/506) ([adamjmcgrath](https://github.com/adamjmcgrath)) **Fixed** + - Fix types in server-side `withPageAuthRequired` [\#512](https://github.com/auth0/nextjs-auth0/pull/512) ([Widcket](https://github.com/Widcket)) ## [1.5.0](https://github.com/auth0/nextjs-auth0/tree/v1.5.0) (2021-07-14) diff --git a/docs/classes/frontend_use_user.requesterror.html b/docs/classes/frontend_use_user.requesterror.html index 4343e5860..ffc04e1fd 100644 --- a/docs/classes/frontend_use_user.requesterror.html +++ b/docs/classes/frontend_use_user.requesterror.html @@ -122,7 +122,7 @@
Optional accessToken
accessTokenExpiresAt: number
@@ -178,7 +178,7 @@
Optional accessToken
accessTokenScope: string
@@ -193,7 +193,7 @@ idToken: string
@@ -208,7 +208,7 @@ Token: string
@@ -223,7 +223,7 @@ user: Claims
diff --git a/docs/classes/utils_errors.accesstokenerror.html b/docs/classes/utils_errors.accesstokenerror.html
index 007dd7ddb..908b3a0fd 100644
--- a/docs/classes/utils_errors.accesstokenerror.html
+++ b/docs/classes/utils_errors.accesstokenerror.html
@@ -118,7 +118,7 @@ code: string
diff --git a/docs/classes/utils_errors.handlererror.html b/docs/classes/utils_errors.handlererror.html
index 775097b03..b45a32c53 100644
--- a/docs/classes/utils_errors.handlererror.html
+++ b/docs/classes/utils_errors.handlererror.html
@@ -123,7 +123,7 @@ code: undefined | string
@@ -155,7 +155,7 @@ status: undefined | number
diff --git a/docs/interfaces/config.authorizationparameters.html b/docs/interfaces/config.authorizationparameters.html
index 650d0f512..f7b62ab3e 100644
--- a/docs/interfaces/config.authorizationparameters.html
+++ b/docs/interfaces/config.authorizationparameters.html
@@ -111,7 +111,7 @@
- auth0Logout: boolean
@@ -127,7 +127,7 @@ authorizationParams: AuthorizationParameters
@@ -160,7 +160,7 @@ baseURL: string
@@ -178,7 +178,7 @@ clientID: string
@@ -194,7 +194,7 @@ Secret: string
@@ -211,7 +211,7 @@ clockTolerance: number
@@ -228,7 +228,7 @@ enableTelemetry: boolean
@@ -245,7 +245,7 @@ getLoginState: (req: IncomingMessage, options: LoginOptions) => Record<string, any>
@@ -297,7 +297,7 @@ httpTimeout: number
@@ -314,7 +314,7 @@ idTokenSigningAlg: string
@@ -330,7 +330,7 @@ identityClaimFilter: string[]
@@ -347,7 +347,7 @@ idpLogout: boolean
@@ -363,7 +363,7 @@ issuerBaseURL: string
@@ -380,7 +380,7 @@ legacySameSiteCookie: boolean
@@ -397,7 +397,7 @@ routes: { callback: string; postLogoutRedirect: string }
@@ -438,7 +438,7 @@ secret: string | string[]
@@ -456,7 +456,7 @@ session: SessionConfig
diff --git a/docs/interfaces/config.cookieconfig.html b/docs/interfaces/config.cookieconfig.html
index 32e403721..5b6138108 100644
--- a/docs/interfaces/config.cookieconfig.html
+++ b/docs/interfaces/config.cookieconfig.html
@@ -107,7 +107,7 @@ domain: string
@@ -123,7 +123,7 @@ httpOnly: boolean
@@ -140,7 +140,7 @@ path: string
@@ -158,7 +158,7 @@ sameSite: "lax" | "strict" | "none"
@@ -175,7 +175,7 @@ secure: boolean
@@ -192,7 +192,7 @@ transient: boolean
diff --git a/docs/interfaces/config.nextconfig.html b/docs/interfaces/config.nextconfig.html
index 241e27300..a926209c6 100644
--- a/docs/interfaces/config.nextconfig.html
+++ b/docs/interfaces/config.nextconfig.html
@@ -103,7 +103,7 @@
@@ -120,7 +120,7 @@ organization: string
@@ -138,7 +138,7 @@ routes: { login: string }
diff --git a/docs/interfaces/config.sessionconfig.html b/docs/interfaces/config.sessionconfig.html
index 1db742918..79c5a8836 100644
--- a/docs/interfaces/config.sessionconfig.html
+++ b/docs/interfaces/config.sessionconfig.html
@@ -106,7 +106,7 @@ absoluteDuration: number | boolean
@@ -125,7 +125,7 @@ cookie: CookieConfig
@@ -135,7 +135,7 @@ name: string
@@ -153,7 +153,7 @@ rolling: boolean
@@ -173,7 +173,7 @@ rollingDuration: number | false
diff --git a/docs/interfaces/frontend_use_user.userprofile.html b/docs/interfaces/frontend_use_user.userprofile.html
index a67143004..30c3bc49d 100644
--- a/docs/interfaces/frontend_use_user.userprofile.html
+++ b/docs/interfaces/frontend_use_user.userprofile.html
@@ -118,7 +118,7 @@ email: null | string
@@ -128,7 +128,7 @@
Optional idToken
Optional refreshToken
refreshuser
constructor
Parameters
@@ -143,7 +143,7 @@code
constructor
Parameters
@@ -145,7 +145,7 @@code
status
response_mode
@@ -122,7 +122,7 @@response_type
@@ -133,7 +133,7 @@scope
diff --git a/docs/interfaces/config.baseconfig.html b/docs/interfaces/config.baseconfig.html index 70c7a7692..56d861558 100644 --- a/docs/interfaces/config.baseconfig.html +++ b/docs/interfaces/config.baseconfig.html @@ -107,11 +107,11 @@Properties
Properties
auth0Logout
+Optional auth0Logout
authorizationParams
baseURL
clientID
Optional clientSecret
clientclockTolerance
enableTelemetry
getLoginState
httpTimeout
idTokenSigningAlg
identityClaimFilter
idpLogout
issuerBaseURL
legacySameSiteCookie
routes
secret
session
Optional domain
httpOnly
Optional path
sameSite
Optional secure
transient
identityClaimFilter
Optional organization
routes
absoluteDuration
cookie
name
rolling
rollingDuration
Optional email
Optional email_verified
email_verified: null | boolean
@@ -138,7 +138,7 @@ name: null | string
@@ -148,7 +148,7 @@ nickname: null | string
@@ -158,7 +158,7 @@ org_id: null | string
@@ -168,7 +168,7 @@ picture: null | string
@@ -178,7 +178,7 @@ sub: null | string
@@ -188,7 +188,7 @@ updated_at: null | string
diff --git a/docs/interfaces/frontend_with_page_auth_required.userprops.html b/docs/interfaces/frontend_with_page_auth_required.userprops.html
index 78d0d4ccd..6b779bac0 100644
--- a/docs/interfaces/frontend_with_page_auth_required.userprops.html
+++ b/docs/interfaces/frontend_with_page_auth_required.userprops.html
@@ -95,7 +95,7 @@ user: UserProfile
diff --git a/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html b/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html
index 4b90e17f8..921faf991 100644
--- a/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html
+++ b/docs/interfaces/frontend_with_page_auth_required.withpageauthrequiredoptions.html
@@ -104,7 +104,7 @@ onError: (error: Error) => Element
@@ -144,7 +144,7 @@
@@ -178,7 +178,7 @@ returnTo: string
diff --git a/docs/interfaces/handlers_auth.handlers.html b/docs/interfaces/handlers_auth.handlers.html
index 5522ea6f1..6bc82126f 100644
--- a/docs/interfaces/handlers_auth.handlers.html
+++ b/docs/interfaces/handlers_auth.handlers.html
@@ -125,7 +125,7 @@ callback: HandleCallback
@@ -135,7 +135,7 @@ login: HandleLogin
@@ -145,7 +145,7 @@ logout: HandleLogout
@@ -155,7 +155,7 @@ profile: HandleProfile
diff --git a/docs/interfaces/handlers_callback.callbackoptions.html b/docs/interfaces/handlers_callback.callbackoptions.html
index fa87aa51a..42c60ac28 100644
--- a/docs/interfaces/handlers_callback.callbackoptions.html
+++ b/docs/interfaces/handlers_callback.callbackoptions.html
@@ -105,7 +105,7 @@
@@ -115,7 +115,7 @@
Optional name
Optional nickname
Optional org_id
Optional picture
Optional sub
Optional updated_at
user
Optional onError
Optional onRedirectingonRedirecting: () => Element
Optional returnTo
callback
login
logout
profile
Optional afterCallbackafterCallback: AfterCallback
Optional authorizationPar
authorizationParams: Partial<AuthorizationParameters>
@@ -130,7 +130,7 @@ organization: string
@@ -146,7 +146,7 @@ redirectUri: string
diff --git a/docs/interfaces/handlers_login.authorizationparams.html b/docs/interfaces/handlers_login.authorizationparams.html
index 55d5aa4f7..f4ec7d7f3 100644
--- a/docs/interfaces/handlers_login.authorizationparams.html
+++ b/docs/interfaces/handlers_login.authorizationparams.html
@@ -112,7 +112,7 @@ invitation: string
@@ -151,7 +151,7 @@ organization: string
@@ -168,7 +168,7 @@
Optional organization
Optional redirectUri
Optional invitation
Optional organization
Optional response_mode
Inherited from Partial.response_mode
-- Defined in src/auth0-session/config.ts:248
+ - Defined in src/auth0-session/config.ts:248
@@ -179,7 +179,7 @@Optional response_type
screen_hint: string
diff --git a/docs/interfaces/handlers_login.loginoptions.html b/docs/interfaces/handlers_login.loginoptions.html
index cc37ce1fc..78dd4d48a 100644
--- a/docs/interfaces/handlers_login.loginoptions.html
+++ b/docs/interfaces/handlers_login.loginoptions.html
@@ -104,7 +104,7 @@
Inherited from Partial.response_type
-- Defined in src/auth0-session/config.ts:249
+ - Defined in src/auth0-session/config.ts:249
@@ -190,7 +190,7 @@Optional scope
@@ -200,7 +200,7 @@Optional screen_hint
Optional authorizationPar
authorizationParams: AuthorizationParams
@@ -119,7 +119,7 @@
Optional getLoginSta
getLoginState: GetLoginState
@@ -134,7 +134,7 @@ returnTo: string
diff --git a/docs/interfaces/handlers_logout.logoutoptions.html b/docs/interfaces/handlers_logout.logoutoptions.html
index 84ace101a..5d91db898 100644
--- a/docs/interfaces/handlers_logout.logoutoptions.html
+++ b/docs/interfaces/handlers_logout.logoutoptions.html
@@ -102,7 +102,7 @@ returnTo: string
diff --git a/docs/interfaces/instance.signinwithauth0.html b/docs/interfaces/instance.signinwithauth0.html
index 5056f5e5c..2a3b8d88e 100644
--- a/docs/interfaces/instance.signinwithauth0.html
+++ b/docs/interfaces/instance.signinwithauth0.html
@@ -113,7 +113,7 @@ getAccessToken: GetAccessToken
@@ -128,7 +128,7 @@ getServerSidePropsWrapper: GetServerSidePropsWrapper<any, ParsedUrlQuery>
@@ -144,7 +144,7 @@ getSession: GetSession
@@ -159,7 +159,7 @@ handleAuth: HandleAuth
@@ -174,7 +174,7 @@ handleCallback: HandleCallback
@@ -189,7 +189,7 @@ handleLogin: HandleLogin
@@ -204,7 +204,7 @@ handleLogout: HandleLogout
@@ -219,7 +219,7 @@ handleProfile: HandleProfile
@@ -234,7 +234,7 @@ withApiAuthRequired: WithApiAuthRequired
@@ -249,7 +249,7 @@ withPageAuthRequired: WithPageAuthRequired
diff --git a/docs/interfaces/session_get_access_token.accesstokenrequest.html b/docs/interfaces/session_get_access_token.accesstokenrequest.html
index 6f7ecedfd..886aa9d13 100644
--- a/docs/interfaces/session_get_access_token.accesstokenrequest.html
+++ b/docs/interfaces/session_get_access_token.accesstokenrequest.html
@@ -105,7 +105,7 @@ Refresh: AfterRefresh
@@ -142,7 +142,7 @@
Optional returnTo
Optional returnTo
getAccessToken
getServerSidePropsWrapper
getSession
handleAuth
handleCallback
handleLogin
handleLogout
handleProfile
withApiAuthRequired
withPageAuthRequired
Optional afterRefresh
afterOptional authorizationPar
authorizationParams: Partial<AuthorizationParameters>
@@ -157,7 +157,7 @@ refresh: boolean
@@ -173,7 +173,7 @@ scopes: string[]
diff --git a/docs/interfaces/session_get_access_token.getaccesstokenresult.html b/docs/interfaces/session_get_access_token.getaccesstokenresult.html
index a2cc753ef..031dfce60 100644
--- a/docs/interfaces/session_get_access_token.getaccesstokenresult.html
+++ b/docs/interfaces/session_get_access_token.getaccesstokenresult.html
@@ -102,7 +102,7 @@ accessToken: string
diff --git a/docs/modules/config.html b/docs/modules/config.html
index 07f506a76..b97ab53de 100644
--- a/docs/modules/config.html
+++ b/docs/modules/config.html
@@ -97,7 +97,7 @@ ConfigParameters: DeepPartial<BaseConfig & NextConfig>
diff --git a/docs/modules/frontend.html b/docs/modules/frontend.html
index c272f1bf9..194e10374 100644
--- a/docs/modules/frontend.html
+++ b/docs/modules/frontend.html
@@ -140,7 +140,7 @@ ConfigProviderProps: React.PropsWithChildren<ConfigContext>
@@ -188,7 +188,7 @@
UseUser: () => UserContext
@@ -149,7 +149,7 @@ UserContext: { checkSession: () => Promise<void>; error?: Error; isLoading: boolean; user?: UserProfile }
@@ -193,7 +193,7 @@ UserProvider: (props: UserProviderProps) => ReactElement<UserContext>
@@ -229,7 +229,7 @@ UserProviderProps: React.PropsWithChildren<{ fetcher?: UserFetcher; profileUrl?: string; user?: UserProfile } & ConfigContext>
diff --git a/docs/modules/frontend_with_page_auth_required.html b/docs/modules/frontend_with_page_auth_required.html
index 461a89594..0bd9c97eb 100644
--- a/docs/modules/frontend_with_page_auth_required.html
+++ b/docs/modules/frontend_with_page_auth_required.html
@@ -94,7 +94,7 @@ WithPageAuthRequired: <P>(Component: ComponentType<P & UserProps>, options?: WithPageAuthRequiredOptions) => React.FC<P>
diff --git a/docs/modules/handlers_auth.html b/docs/modules/handlers_auth.html
index 825181d6f..ccabc95e3 100644
--- a/docs/modules/handlers_auth.html
+++ b/docs/modules/handlers_auth.html
@@ -90,7 +90,7 @@ HandleAuth: (userHandlers?: Partial<Handlers>) => NextApiHandler
diff --git a/docs/modules/handlers_callback.html b/docs/modules/handlers_callback.html
index 957aec23f..5ccba8c96 100644
--- a/docs/modules/handlers_callback.html
+++ b/docs/modules/handlers_callback.html
@@ -91,7 +91,7 @@ AfterCallback: (req: NextApiRequest, res: NextApiResponse, session: default, state?: {}) => Promise<default> | default
@@ -192,7 +192,7 @@ HandleCallback: (req: NextApiRequest, res: NextApiResponse, options?: CallbackOptions) => Promise<void>
diff --git a/docs/modules/handlers_login.html b/docs/modules/handlers_login.html
index 8e53f7da6..c0f88d9f4 100644
--- a/docs/modules/handlers_login.html
+++ b/docs/modules/handlers_login.html
@@ -92,7 +92,7 @@ GetLoginState: (req: NextApiRequest, options: LoginOptions) => {}
@@ -153,7 +153,7 @@ HandleLogin: (req: NextApiRequest, res: NextApiResponse, options?: LoginOptions) => Promise<void>
diff --git a/docs/modules/handlers_logout.html b/docs/modules/handlers_logout.html
index 9470029b5..bbcf375fc 100644
--- a/docs/modules/handlers_logout.html
+++ b/docs/modules/handlers_logout.html
@@ -90,7 +90,7 @@ HandleLogout: (req: NextApiRequest, res: NextApiResponse, options?: LogoutOptions) => Promise<void>
diff --git a/docs/modules/handlers_profile.html b/docs/modules/handlers_profile.html
index 84654f24a..bbe3d8801 100644
--- a/docs/modules/handlers_profile.html
+++ b/docs/modules/handlers_profile.html
@@ -89,7 +89,7 @@ AfterRefetch: (req: NextApiRequest, res: NextApiResponse, session: default) => Promise<default> | default
@@ -129,7 +129,7 @@ HandleProfile: (req: NextApiRequest, res: NextApiResponse, options?: ProfileOptions) => Promise<void>
@@ -176,7 +176,7 @@ ProfileOptions: { afterRefetch?: AfterRefetch; refetch?: boolean }
diff --git a/docs/modules/helpers_get_server_side_props_wrapper.html b/docs/modules/helpers_get_server_side_props_wrapper.html
index 0761c2ac1..a41fdad69 100644
--- a/docs/modules/helpers_get_server_side_props_wrapper.html
+++ b/docs/modules/helpers_get_server_side_props_wrapper.html
@@ -84,7 +84,7 @@ GetServerSidePropsWrapper<P, Q>: (getServerSideProps: GetServerSideProps<P, Q>) => GetServerSideProps<P, Q>
diff --git a/docs/modules/helpers_with_api_auth_required.html b/docs/modules/helpers_with_api_auth_required.html
index dd6fe6b44..c7daa2384 100644
--- a/docs/modules/helpers_with_api_auth_required.html
+++ b/docs/modules/helpers_with_api_auth_required.html
@@ -84,7 +84,7 @@ WithApiAuthRequired: (apiRoute: NextApiHandler) => NextApiHandler
diff --git a/docs/modules/helpers_with_page_auth_required.html b/docs/modules/helpers_with_page_auth_required.html
index f9437b997..a0ea81ad0 100644
--- a/docs/modules/helpers_with_page_auth_required.html
+++ b/docs/modules/helpers_with_page_auth_required.html
@@ -87,7 +87,7 @@ GetServerSidePropsResultWithSession<P>: GetServerSidePropsResult<P & { user?: Claims | null }>
@@ -118,7 +118,7 @@ PageRoute<P, Q>: (cts: GetServerSidePropsContext<Q>) => Promise<GetServerSidePropsResultWithSession<P>>
@@ -163,7 +163,7 @@ WithPageAuthRequired: { <P>(Component: ComponentType<P & UserProps>, options?: WithPageAuthRequiredOptions): FC<P>; <P, Q>(opts?: WithPageAuthRequiredOptions<P, Q>): PageRoute<P, Q> }
@@ -238,7 +238,7 @@ WithPageAuthRequiredOptions<P, Q>: { getServerSideProps?: GetServerSideProps<P, Q>; returnTo?: string }
diff --git a/docs/modules/instance.html b/docs/modules/instance.html
index 788348fd2..32b89381b 100644
--- a/docs/modules/instance.html
+++ b/docs/modules/instance.html
@@ -90,7 +90,7 @@ InitAuth0: (params?: ConfigParameters) => SignInWithAuth0
diff --git a/docs/modules/session_get_access_token.html b/docs/modules/session_get_access_token.html
index c7fab2dfa..42f9abe5e 100644
--- a/docs/modules/session_get_access_token.html
+++ b/docs/modules/session_get_access_token.html
@@ -95,7 +95,7 @@ AfterRefresh: (req: NextApiRequest, res: NextApiResponse, session: default) => Promise<default> | default
@@ -135,7 +135,7 @@ GetAccessToken: (req: IncomingMessage | NextApiRequest, res: ServerResponse | NextApiResponse, accessTokenRequest?: AccessTokenRequest) => Promise<GetAccessTokenResult>
diff --git a/docs/modules/session_get_session.html b/docs/modules/session_get_session.html
index e109febfd..00a99098e 100644
--- a/docs/modules/session_get_session.html
+++ b/docs/modules/session_get_session.html
@@ -84,7 +84,7 @@ GetSession: (req: IncomingMessage | NextApiRequest, res: ServerResponse | NextApiResponse) => default | null | undefined
diff --git a/docs/modules/utils_errors.html b/docs/modules/utils_errors.html
index 5940613dc..cc5ee7e27 100644
--- a/docs/modules/utils_errors.html
+++ b/docs/modules/utils_errors.html
@@ -95,7 +95,7 @@
Optional refresh
Optional scopes
Optional accessToken
ConfigParameters
ConfigProviderProps
Const useConfig
Returns ConfigContext
diff --git a/docs/modules/frontend_use_user.html b/docs/modules/frontend_use_user.html index 55847df44..48b8b7503 100644 --- a/docs/modules/frontend_use_user.html +++ b/docs/modules/frontend_use_user.html @@ -105,7 +105,7 @@UseUser
UserContext
UserProvider
UserProviderProps
WithPageAuthRequired
HandleAuth
AfterCallback
HandleCallback
GetLoginState
HandleLogin
HandleLogout
AfterRefetch
HandleProfile
ProfileOptions
GetServerSidePropsWrapper
WithApiAuthRequired
GetServerSidePropsResultWithSession
PageRoute
WithPageAuthRequired
WithPageAuthRequiredOptions
InitAuth0
AfterRefresh
GetAccessToken
GetSession
htmlSafe
Parameters
diff --git a/package-lock.json b/package-lock.json index 2eec214c2..400ad1709 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@auth0/nextjs-auth0", - "version": "1.9.2", + "version": "1.9.3", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@auth0/nextjs-auth0", - "version": "1.9.2", + "version": "1.9.3", "license": "MIT", "dependencies": { "base64url": "^3.0.1", diff --git a/package.json b/package.json index aacd67772..1e06a0e3b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@auth0/nextjs-auth0", - "version": "1.9.2", + "version": "1.9.3", "description": "Next.js SDK for signing in with Auth0", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/version.ts b/src/version.ts index 4bc622075..ca07624e1 100644 --- a/src/version.ts +++ b/src/version.ts @@ -1 +1 @@ -export default '1.9.2'; +export default '1.9.3';