@@ -136,22 +136,19 @@ export class AuthenticationHelper<T> {
136136 } ) ;
137137 }
138138
139+ const endpointKeys : typeof OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints =
140+ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints ;
141+ const endpointPaths : typeof OIDCDiscoveryConstants . Endpoints = OIDCDiscoveryConstants . Endpoints ;
142+
139143 const defaultEndpoints : OIDCDiscoveryApiResponse = {
140- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints
141- . AUTHORIZATION ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . AUTHORIZATION } ` ,
142- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints
143- . END_SESSION ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . END_SESSION } ` ,
144- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints
145- . ISSUER ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . ISSUER } ` ,
146- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints . JWKS ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . JWKS } ` ,
147- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints
148- . SESSION_IFRAME ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . SESSION_IFRAME } ` ,
149- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints
150- . REVOCATION ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . REVOCATION } ` ,
151- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints
152- . TOKEN ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . TOKEN } ` ,
153- [ OIDCDiscoveryConstants . Storage . StorageKeys . Endpoints
154- . USERINFO ] : `${ baseUrl } ${ OIDCDiscoveryConstants . Endpoints . USERINFO } ` ,
144+ [ endpointKeys . AUTHORIZATION ] : `${ baseUrl } ${ endpointPaths . AUTHORIZATION } ` ,
145+ [ endpointKeys . END_SESSION ] : `${ baseUrl } ${ endpointPaths . END_SESSION } ` ,
146+ [ endpointKeys . ISSUER ] : `${ baseUrl } ${ endpointPaths . ISSUER } ` ,
147+ [ endpointKeys . JWKS ] : `${ baseUrl } ${ endpointPaths . JWKS } ` ,
148+ [ endpointKeys . SESSION_IFRAME ] : `${ baseUrl } ${ endpointPaths . SESSION_IFRAME } ` ,
149+ [ endpointKeys . REVOCATION ] : `${ baseUrl } ${ endpointPaths . REVOCATION } ` ,
150+ [ endpointKeys . TOKEN ] : `${ baseUrl } ${ endpointPaths . TOKEN } ` ,
151+ [ endpointKeys . USERINFO ] : `${ baseUrl } ${ endpointPaths . USERINFO } ` ,
155152 } ;
156153
157154 // For AsgardeoV2 (Thunder), the issuer must be the base URL (e.g., https://localhost:8090)
0 commit comments