Skip to content

Commit

Permalink
fix: Add empty bearer token by default for JS LIB (#1406)
Browse files Browse the repository at this point in the history
  • Loading branch information
derschnee68 committed Jan 30, 2024
1 parent 79f6bd8 commit f424623
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions libs/vre/shared/app-session/src/lib/auto-login.service.ts
Expand Up @@ -21,6 +21,8 @@ export class AutoLoginService {
) {}

setup() {
this._dspApiConnection.v2.jsonWebToken = ''; // needed for JS-LIB to run

const encodedJWT = this._accessTokenService.getTokenUser();
if (!encodedJWT) {
this.hasCheckedCredentials$.next(true);
Expand Down

0 comments on commit f424623

Please sign in to comment.