@geexcode/geex-angular 0.0.26 → 0.0.27
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.
- package/dist/index.js +1 -0
- package/dist/index.mjs +1 -0
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -176,6 +176,7 @@ function createAuthModule(injector) {
|
|
|
176
176
|
async loadUserData() {
|
|
177
177
|
const oAuthService = injector.get(import_angular_oauth2_oidc.OAuthService);
|
|
178
178
|
try {
|
|
179
|
+
await oAuthService.loadDiscoveryDocumentAndTryLogin();
|
|
179
180
|
if (!oAuthService.hasValidAccessToken()) {
|
|
180
181
|
return void 0;
|
|
181
182
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -131,6 +131,7 @@ function createAuthModule(injector) {
|
|
|
131
131
|
async loadUserData() {
|
|
132
132
|
const oAuthService = injector.get(OAuthService);
|
|
133
133
|
try {
|
|
134
|
+
await oAuthService.loadDiscoveryDocumentAndTryLogin();
|
|
134
135
|
if (!oAuthService.hasValidAccessToken()) {
|
|
135
136
|
return void 0;
|
|
136
137
|
}
|