FIX: using only header origin

This commit is contained in:
marcos-silva-rodrigues
2025-07-18 15:55:56 -03:00
parent 3eba3f414f
commit e81cfdcce1
@@ -186,7 +186,7 @@ export class IdentityProviderController {
this.logger.info('GET /identity-providers/:id');
const origin = req.headers['origin'] as string || req.headers['referer'] as string;
const origin = req.headers['origin'] as string;
console.log('Origin:', origin);
const lang = language.substring(0, 2) + language.substring(2).toUpperCase();