FIX: using only header origin

This commit is contained in:
marcos-silva-rodrigues
2025-07-16 18:36:36 -03:00
parent 4477647613
commit 72554fb27f
@@ -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();