I have created custom attributes in my B2C instance and have added them to my Sign In or Up policy but I noticed that they are only returned in the token if they are part of the Signup Attributes. If I remove them from Signup and only have them as part of the Application Claims, they do not return with the token. I can however query them with Graph API but the goal is to set Roles and other information that I do not want to be part of the signup experience but would like back with the token so I can save the extra calls to Graph API.
What is the best way to achieve this or is this a bug?