We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8966bc5 commit b30d112Copy full SHA for b30d112
projects/lib/src/interceptors/default-oauth.interceptor.ts
@@ -44,13 +44,7 @@ export class DefaultOAuthInterceptor implements HttpInterceptor {
44
const url = req.url.toLowerCase();
45
46
47
- if (!this.moduleConfig) {
48
- return next.handle(req);
49
- }
50
- if (!this.moduleConfig.resourceServer) {
51
52
53
- if (!this.checkUrl(url)) {
+ if (!this.moduleConfig || !this.moduleConfig.resourceServer || !this.checkUrl(url)) {
54
return next.handle(req);
55
}
56
0 commit comments