Hello!
Thanks for your below!
I've tried it and I can see the below useful info the log:
scopes_supported:["openid","profile","offline_access","name","given_name","family_name","nickname","email","email_verified","picture","created_at","identities","phone","address"]
I suppose that the needed value is the "name" one although I've tried the "nickname" and the "given_name" ones but nothing changed.
For example,
exports.onExecutePostLogin = async (event, api) => {
if (event.authorization) {
api.idToken.setCustomClaim("name", "user")
}
};
Note: I have not set up anything at PAM level in case this is related. I expect to overcome this kind of issues in order to have it invovled too.