Skip to content

Commit 8966bc5

Browse files
Removed duplicated condition
This way user can define `allowedUrls` or `customUrlValidation` during module import
1 parent a1652dc commit 8966bc5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/lib/src/interceptors/default-oauth.interceptor.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ export class DefaultOAuthInterceptor implements HttpInterceptor {
5050
if (!this.moduleConfig.resourceServer) {
5151
return next.handle(req);
5252
}
53-
if (this.moduleConfig.resourceServer.allowedUrls && !this.checkUrl(url)) {
53+
if (!this.checkUrl(url)) {
5454
return next.handle(req);
5555
}
5656

0 commit comments

Comments
 (0)