diff --git a/CHANGELOG.md b/CHANGELOG.md
index 5621fd78f..dca1949b4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# Change Log
+## [v2.1.2](https://github.com/auth0/auth0-spa-js/tree/v2.1.2) (2023-08-21)
+[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v2.1.1...v2.1.2)
+
+**Fixed**
+- Ensure organization cookie is set when no organization was set [\#1123](https://github.com/auth0/auth0-spa-js/pull/1123) ([frederikprijck](https://github.com/frederikprijck))
+
## [v2.1.1](https://github.com/auth0/auth0-spa-js/tree/v2.1.1) (2023-07-18)
[Full Changelog](https://github.com/auth0/auth0-spa-js/compare/v2.1.0...v2.1.1)
diff --git a/docs/classes/Auth0Client.html b/docs/classes/Auth0Client.html
index ed349937a..491ea14da 100644
--- a/docs/classes/Auth0Client.html
+++ b/docs/classes/Auth0Client.html
@@ -23,7 +23,7 @@
Hierarchy
+Defined in Auth0Client.ts:114
@@ -60,7 +60,7 @@ Parameters
+Defined in Auth0Client.ts:141
+Defined in Auth0Client.ts:429
+Defined in Auth0Client.ts:599
get Token With Popup
Returns Promise < undefined | string >
+Defined in Auth0Client.ts:744
get User
@@ -173,7 +173,7 @@ Type Parameters
TUser extends User < TUser >
Returns Promise < undefined | TUser >
+Defined in Auth0Client.ts:416
handle Redirect Callback
@@ -196,7 +196,7 @@ Parameters
url: string = window.location.href
Returns Promise < RedirectLoginResult < TAppState > >
+Defined in Auth0Client.ts:481
+Defined in Auth0Client.ts:784
login With Popup
Returns Promise < void >
+Defined in Auth0Client.ts:349
login With Redirect
Returns Promise < void >
+Defined in Auth0Client.ts:446
logout
Returns Promise < void >
+Defined in Auth0Client.ts:829
Returns string
+Defined in cache/shared.ts:31
Static
from Cache Entry
@@ -122,7 +122,7 @@ entry:
Returns CacheKey
+Defined in cache/shared.ts:53
Static
from Key
@@ -141,7 +141,7 @@ key: string
Returns CacheKey
+Defined in cache/shared.ts:42
+Defined in errors.ts:10
Returns void
+Defined in cache/cache-localstorage.ts:22
set
@@ -113,7 +113,7 @@ entry: TReturns void
+Defined in cache/cache-localstorage.ts:4
+Defined in errors.ts:10
+Defined in errors.ts:10
+Defined in errors.ts:5
error_ description
error_ description: string
+Defined in errors.ts:5
+Defined in errors.ts:62
+Defined in errors.ts:10
+Defined in errors.ts:5
error_ description
error_ description: string
+Defined in errors.ts:5
+Defined in errors.ts:54
+Defined in errors.ts:10
+Defined in errors.ts:10
+Defined in global.ts:189
+Defined in global.ts:153
+Defined in global.ts:148
client Id
client Id: string
+Defined in global.ts:134
Optional
cookie Domain
cookie Domain?: string
@@ -121,7 +121,7 @@ Optional
. (eg: .example.com
).
+Defined in global.ts:246
+Defined in global.ts:126
Optional
http Timeout In Seconds
http Timeout In Seconds?: number
+Defined in global.ts:194
Optional
issuer
issuer?: string
+Defined in global.ts:130
Optional
leeway
leeway?: number
@@ -153,7 +153,7 @@ Optional
+Defined in global.ts:140
Optional
legacy Same Site Cookie
legacy Same Site Cookie?: boolean
@@ -165,7 +165,7 @@ Optional
+Defined in global.ts:214
Optional
now Provider
now Provider?: ( ( ) => number | Promise < number > )
@@ -181,7 +181,7 @@ Type declaration
Returns number | Promise < number >
+Defined in global.ts:261
Optional
session Check Expiry Days
session Check Expiry Days?: number
@@ -189,7 +189,7 @@ Optional
+Defined in global.ts:233
Optional
use Cookies For Transactions
use Cookies For Transactions?: boolean
@@ -201,7 +201,7 @@ Notes You might want to enable this if you rely on your users being a
may end up spanning across multiple tabs (e.g. magic links) or you cannot otherwise rely on session storage being available.
+Defined in global.ts:227
Optional
use Form Data
use Form Data?: boolean
@@ -210,7 +210,7 @@ Optional
+Defined in global.ts:254
Optional
use Refresh Tokens
use Refresh Tokens?: boolean
@@ -219,7 +219,7 @@ Optional
Note : Use of refresh tokens must be enabled by an administrator on your Auth0 client application.
+Defined in global.ts:161
Optional
use Refresh Tokens Fallback
use Refresh Tokens Fallback?: boolean
@@ -234,7 +234,7 @@ Example let
+Defined in global.ts:183
+Defined in global.ts:10
Optional
id_ token_ hint
id_ token_ hint?: string
+Defined in global.ts:36
Optional
invitation
invitation?: string
+Defined in global.ts:94
Optional
login_ hint
login_ hint?: string
@@ -104,7 +104,7 @@ Optional
This currently only affects the classic Lock experience.
+Defined in global.ts:54
Optional
max_ age
max_ age?: string | number
@@ -113,7 +113,7 @@ Optional
+Defined in global.ts:25
Optional
organization
organization?: string
@@ -125,7 +125,7 @@ Optional
+Defined in global.ts:89
Optional
prompt
prompt?: "none" | "login" | "consent" | "select_account"
@@ -137,7 +137,7 @@ Optional
+Defined in global.ts:18
Optional
redirect_ uri
redirect_ uri?: string
@@ -148,7 +148,7 @@ Optional
+Defined in global.ts:103
Optional
scope
scope?: string
@@ -158,7 +158,7 @@ Optional
Note: The openid
scope is always applied regardless of this setting.
+Defined in global.ts:66
Optional
screen_ hint
screen_ hint?: string
@@ -168,7 +168,7 @@ Optional
This only affects the New Universal Login Experience.
+Defined in global.ts:45
Optional
ui_ locales
ui_ locales?: string
@@ -176,7 +176,7 @@ Optional
'fr-CA fr en'.
+Defined in global.ts:31
+Defined in global.ts:364
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 global.ts:359
Optional
detailed Response
detailed Response?: boolean
@@ -82,7 +82,7 @@ Optional
The default is false
.
+Defined in global.ts:403
Optional
timeout In Seconds
timeout In Seconds?: number
@@ -90,7 +90,7 @@ Optional
+Defined in global.ts:395
+Defined in global.ts:412
Returns MaybePromise < void >
+Defined in cache/shared.ts:102
set
@@ -97,7 +97,7 @@ key: string
entry: T
Returns MaybePromise < void >
+Defined in cache/shared.ts:100
Returns Promise < void >
+Defined in global.ts:472
Optional
open Url
open Url?: false | ( ( url: string ) => void | Promise < void > )
@@ -118,7 +118,7 @@ Example import <
+Defined in global.ts:495
+Defined in global.ts:431
+Defined in global.ts:342
Returns Promise < void >
+Defined in global.ts:304
Optional
open Url
open Url?: ( ( url: string ) => void | Promise < void > )
@@ -116,7 +116,7 @@ Parameters
url: string
Returns void | Promise < void >
+Defined in global.ts:325
+Defined in global.ts:332
+Defined in cache/shared.ts:74
+Defined in cache/shared.ts:6
+Defined in global.ts:267
+Defined in cache/shared.ts:95
+Defined in global.ts:638
+Defined in cache/shared.ts:91
+Defined in global.ts:521
+Defined in cache/shared.ts:86
Fetches a new access token and returns it.
@@ -131,7 +131,7 @@Parameters
Optional
options: GetTokenSilentlyOptions