We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d152c2 commit ee6c55aCopy full SHA for ee6c55a
projects/lib/src/oauth-service.ts
@@ -124,11 +124,15 @@ export class OAuthService extends AuthConfig implements OnDestroy {
124
) {
125
super();
126
127
- this.debug('angular-oauth2-oidc v8-beta');
+ this.debug('angular-oauth2-oidc v10');
128
129
// See https://github.com/manfredsteyer/angular-oauth2-oidc/issues/773 for why this is needed
130
this.document = document;
131
132
+ if (!config) {
133
+ config = {};
134
+ }
135
+
136
this.discoveryDocumentLoaded$ = this.discoveryDocumentLoadedSubject.asObservable();
137
this.events = this.eventsSubject.asObservable();
138
0 commit comments