@asgardeo/javascript 0.23.0 → 0.23.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1456,7 +1456,11 @@ var _AsgardeoAuthClient = class _AsgardeoAuthClient {
1456
1456
  * @preserve
1457
1457
  */
1458
1458
  async getSignOutUrl(userId) {
1459
- const logoutEndpoint = (await this.oidcProviderMetaDataProvider())?.end_session_endpoint;
1459
+ let logoutEndpoint = (await this.oidcProviderMetaDataProvider())?.end_session_endpoint;
1460
+ if (!logoutEndpoint) {
1461
+ await this.loadOpenIDProviderConfiguration(false);
1462
+ logoutEndpoint = (await this.oidcProviderMetaDataProvider())?.end_session_endpoint;
1463
+ }
1460
1464
  const configData = await this.configProvider();
1461
1465
  if (!logoutEndpoint || logoutEndpoint.trim().length === 0) {
1462
1466
  throw new AsgardeoAuthException(