From b1f9a031aa6673edc01b093e49585ef86e47f59c Mon Sep 17 00:00:00 2001 From: Leonardo Cardoso de Almeida Date: Thu, 29 Sep 2022 12:13:26 -0300 Subject: [PATCH] style: prettify auth0 provider codestyle Signed-off-by: Leonardo Cardoso de Almeida --- plugins/auth-backend/src/providers/auth0/provider.ts | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/plugins/auth-backend/src/providers/auth0/provider.ts b/plugins/auth-backend/src/providers/auth0/provider.ts index fe45b63b98..95e83d2cce 100644 --- a/plugins/auth-backend/src/providers/auth0/provider.ts +++ b/plugins/auth-backend/src/providers/auth0/provider.ts @@ -134,7 +134,9 @@ export class Auth0AuthProvider implements OAuthHandlers { state: encodeState(req.state), ...(this.audience ? { audience: this.audience } : {}), ...(this.connection ? { connection: this.connection } : {}), - ...(this.connectionScope ? { connection_scope: this.connectionScope } : {}), + ...(this.connectionScope + ? { connection_scope: this.connectionScope } + : {}), }); } @@ -145,7 +147,9 @@ export class Auth0AuthProvider implements OAuthHandlers { >(req, this._strategy, { ...(this.audience ? { audience: this.audience } : {}), ...(this.connection ? { connection: this.connection } : {}), - ...(this.connectionScope ? { connection_scope: this.connectionScope } : {}), + ...(this.connectionScope + ? { connection_scope: this.connectionScope } + : {}), }); return {