Skip to content

Commit

Permalink
Supress error message for missing jwt in SB
Browse files Browse the repository at this point in the history
  • Loading branch information
FossPrime committed Jun 3, 2023
1 parent 3742028 commit 6c78883
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/authentication/src/service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ export class AuthenticationService
// connection and event (login, logout) hooks
const { secret, service, entity, entityId } = this.configuration

if (typeof secret !== 'string') {
if (typeof secret !== 'string' && globalThis.process?.versions?.webcontainer === undefined) {
throw new Error("A 'secret' must be provided in your authentication configuration")
}

Expand Down

0 comments on commit 6c78883

Please sign in to comment.