Skip to content

Commit 73e8a17

Browse files
Remove mandatory basic or bearer auth credentials (#57) (#101)
1 parent c529f2e commit 73e8a17

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

schemaregistry/rest-service.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,6 @@ export class RestService {
6363

6464
this.handleBasicAuth(basicAuthCredentials);
6565
this.handleBearerAuth(bearerAuthCredentials);
66-
67-
if (!basicAuthCredentials && !bearerAuthCredentials) {
68-
throw new Error('No auth credentials provided');
69-
}
7066
}
7167

7268
handleBasicAuth(basicAuthCredentials?: BasicAuthCredentials): void {

0 commit comments

Comments
 (0)