Test compose

This commit is contained in:
LeoMortari
2025-09-15 00:50:45 -03:00
parent a9c9675168
commit 8f9deb20e2
5 changed files with 11 additions and 9 deletions

View File

@@ -33,9 +33,7 @@ export interface JwtPayload {
@Injectable()
export class KeycloakJwtStrategy extends PassportStrategy(Strategy, 'jwt') {
constructor() {
const baseUrl = process.env.KEYCLOAK_URL
? process.env.KEYCLOAK_URL
: 'https://auth.clipperia.com.br';
const baseUrl = process.env.KEYCLOAK_URL ?? 'https://auth.clipperia.com.br';
super({
jwtFromRequest: ExtractJwt.fromAuthHeaderAsBearerToken(),