style: prettify auth0 provider codestyle

Signed-off-by: Leonardo Cardoso de Almeida <leozzito@Leonardos-MacBook-Pro.local>
This commit is contained in:
Leonardo Cardoso de Almeida
2022-09-29 12:13:26 -03:00
parent b5c126010c
commit b1f9a031aa
@@ -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 {