I've rechecked and followed those logs as advised and found out the RetrieveUserInfo request was being denied with 403 due to lack of scopes.
Analysing the token provided I got to the conclusion that the problem was in lack of scopes for the starting app register on ConsoleApp.
After fixing that I got the following set variables:
OIDC_ID=3.0
OIDC_FAMILY_NAME=Trindade
OIDC_SUB=3
OIDC_GIVEN_NAME=Luis
FGL_WEBSERVER_HTTP_X_FOURJS_ENVIRONMENT_OIDC_USER_ID=3.0
FGL_WEBSERVER_HTTP_X_FOURJS_ENVIRONMENT_OIDC_GIVEN_NAME=Luis
FGL_WEBSERVER_HTTP_X_FOURJS_ENVIRONMENT_OIDC_EMAIL=lt@audaxys.com
FGL_WEBSERVER_HTTP_X_FOURJS_ENVIRONMENT_OIDC_ID=3.0
OIDC_EMAIL=lt@audaxys.com
in accordance to the JSON response:
[
{
"id": 3,
"user_id": 3,
"given_name": "Luis",
"family_name": "Trindade",
"email": "
lt@audaxys.com"
}
]
So I still not get the username which should be on OIDC_USER_NAME