diff --git a/CHANGELOG.md b/CHANGELOG.md
index fc87d482..fb483115 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,15 @@
# Change Log
+## [v2.2.0](https://github.com/auth0/auth0-react/tree/v2.2.0) (2023-07-13)
+[Full Changelog](https://github.com/auth0/auth0-react/compare/v2.1.1...v2.2.0)
+
+**Added**
+- Support Organization Name [\#552](https://github.com/auth0/auth0-react/pull/552) ([frederikprijck](https://github.com/frederikprijck))
+
+**Fixed**
+- Fix incorrect logout jsdocx example [\#551](https://github.com/auth0/auth0-react/pull/551) ([frederikprijck](https://github.com/frederikprijck))
+- Fix inconsistent logout function types [\#548](https://github.com/auth0/auth0-react/pull/548) ([frederikprijck](https://github.com/frederikprijck))
+
## [v2.1.1](https://github.com/auth0/auth0-react/tree/v2.1.1) (2023-06-14)
[Full Changelog](https://github.com/auth0/auth0-react/compare/v2.1.0...v2.1.1)
diff --git a/docs/classes/OAuthError.html b/docs/classes/OAuthError.html
index e0d4a1a3..ad33eca2 100644
--- a/docs/classes/OAuthError.html
+++ b/docs/classes/OAuthError.html
@@ -27,7 +27,7 @@
Hierarchy
+Defined in src/errors.tsx:7
@@ -68,19 +68,19 @@ Optional
error_description: Returns OAuthError
+Defined in src/errors.tsx:8
Optional
error_ description
error_ description?: string
+Defined in src/errors.tsx:8
message
message: string
diff --git a/docs/classes/User.html b/docs/classes/User.html
index 88731acf..513b83fb 100644
--- a/docs/classes/User.html
+++ b/docs/classes/User.html
@@ -23,7 +23,7 @@ Hierarchy
Indexable
[ key: string ]: any
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:542
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:546
@@ -70,102 +70,102 @@ Properties
Optional
address
address?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:560
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:564
Optional
birthdate
birthdate?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:555
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:559
Optional
email
email?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:552
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:556
Optional
email_ verified
email_ verified?: boolean
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:553
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:557
Optional
family_ name
family_ name?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:545
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:549
Optional
gender
gender?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:554
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:558
Optional
given_ name
given_ name?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:544
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:548
Optional
locale
locale?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:557
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:561
Optional
middle_ name
middle_ name?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:546
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:550
Optional
name
name?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:543
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:547
Optional
nickname
nickname?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:547
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:551
Optional
phone_ number
phone_ number?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:558
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:562
Optional
phone_ number_ verified
phone_ number_ verified?: boolean
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:559
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:563
Optional
picture
picture?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:550
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:554
Optional
preferred_ username
preferred_ username?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:548
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:552
Optional
profile
profile?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:549
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:553
Optional
sub
sub?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:562
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:566
Optional
updated_ at
updated_ at?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:561
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:565
Optional
website
website?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:551
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:555
Optional
zoneinfo
zoneinfo?: string
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:556
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:560
+Defined in src/auth0-provider.tsx:135
+Defined in src/use-auth0.tsx:27
+Defined in src/with-auth0.tsx:29
+Defined in src/with-authentication-required.tsx:97
Returns Promise < string | GetTokenSilentlyVerboseResponse >
+Defined in src/auth0-context.tsx:52
get Access Token With Popup
@@ -170,7 +170,7 @@
Returns Promise < undefined | string >
+Defined in src/auth0-context.tsx:74
get Id Token Claims
get
Id
Token
Claims
: ( ( ) => Promise < undefined | IdToken > )
@@ -187,7 +187,7 @@ Type declaration
Returns Promise < undefined | IdToken >
+Defined in src/auth0-context.tsx:86
handle Redirect Callback
handle Redirect Callback: ( ( url?: string ) => Promise < RedirectLoginResult < any > > )
@@ -212,19 +212,19 @@ Optional
url: Returns Promise < RedirectLoginResult < any > >
+Defined in src/auth0-context.tsx:140
is Authenticated
is Authenticated: boolean
+Defined in src/auth-state.tsx:8
is Loading
is Loading: boolean
+Defined in src/auth-state.tsx:9
login With Popup
@@ -254,7 +254,7 @@
Returns Promise < void >
+Defined in src/auth0-context.tsx:115
login With Redirect
@@ -278,18 +278,18 @@ Parameters
Returns Promise < void >
+Defined in src/auth0-context.tsx:97
+Defined in src/auth0-context.tsx:130
Optional
user
user?: TUser
+Defined in src/auth-state.tsx:10
+Defined in src/auth0-provider.tsx:86
Optional
cookie Domain
cookie Domain?: string
@@ -160,7 +160,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:220
domain
domain: string
@@ -170,7 +170,7 @@
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:109
Optional
http Timeout In Seconds
http Timeout In Seconds?: number
@@ -178,7 +178,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:171
Optional
issuer
issuer?: string
@@ -186,7 +186,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:113
Optional
leeway
leeway?: number
@@ -196,7 +196,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:123
Optional
legacy Same Site Cookie
legacy Same Site Cookie?: boolean
@@ -209,7 +209,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:191
Optional
now Provider
now Provider?: ( ( ) => number | Promise < number > )
@@ -226,7 +226,7 @@ Type declaration
Returns number | Promise < number >
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:233
Optional
on Redirect Callback
on
Redirect
Callback
?: ( ( appState
?: AppState , user
?: User ) => void )
@@ -250,7 +250,7 @@
Returns void
+Defined in src/auth0-provider.tsx:54
Optional
session Check Expiry Days
session Check Expiry Days?: number
@@ -259,7 +259,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:208
Optional
skip Redirect Callback
skip Redirect Callback?: boolean
@@ -270,7 +270,7 @@
+Defined in src/auth0-provider.tsx:68
Optional
use Cookies For Transactions
use Cookies For Transactions?: boolean
@@ -283,7 +283,7 @@ Notes You might want to enable this if you rely on your users being a
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:203
Optional
use Form Data
use Form Data?: boolean
@@ -293,7 +293,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:227
Optional
use Refresh Tokens
use Refresh Tokens?: boolean
@@ -303,7 +303,7 @@ Optional
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:141
Optional
use Refresh Tokens Fallback
use Refresh Tokens Fallback?: boolean
@@ -319,7 +319,7 @@ Example let
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:162
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:323
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:326
Optional
cache Mode
cache Mode?: "on" | "off" | "cache-only"
@@ -73,7 +73,7 @@ Optional
on, where it both reads from the cache and sends a request to Auth0 as needed.
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:319
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:322
Optional
detailed Response
detailed Response?: boolean
@@ -82,7 +82,7 @@ Optional
The default is false
.
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:357
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:360
Optional
timeout In Seconds
timeout In Seconds?: number
@@ -90,7 +90,7 @@ Optional
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:350
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:353
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:368
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:446
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:382
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:385
-Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:304
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:307
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:292
+Defined in src/with-authentication-required.tsx:80
Optional
on Before Authentication
on Before Authentication?: ( ( ) => Promise < void > )
@@ -74,7 +74,7 @@ Type declaration
Returns Promise < void >
+Defined in src/with-authentication-required.tsx:65
Optional
on Redirecting
on Redirecting?: ( ( ) => Element )
@@ -91,7 +91,7 @@ Type declaration
Returns Element
+Defined in src/with-authentication-required.tsx:55
Optional
return To
return To?: string | ( ( ) => string )
@@ -103,7 +103,7 @@ Optional
Add a path for the onRedirectCallback
handler to return the user to after login.
+Defined in src/with-authentication-required.tsx:45
+Defined in src/auth0-provider.tsx:36
+Defined in node_modules/@auth0/auth0-spa-js/dist/typings/global.d.ts:238