Thanks @dan.woda, In the original post I shared code where I set up my namespace as const namespace = 'abcnamespace';
still not showing up in the access token. I also followed this guide: How to add Roles and Permissions to the ID Token using Actions? and also this Create Custom Claims
Note that neither https://abcnamespace
nor abcnamespace
would show up in the access token or userinfo endpoint