Hi @DisplayName-3010 • Thank you for reaching out.
Unfortunately, as of now, you cannot configure how it should be returned as a response to calling the UserInfo endpoint. So, it is not a bug but a non-implemented feature. You can post an idea regarding this at the Azure Feedback portal.
The UserInfo endpoint is designed to return the boolean attributes as either true
or false
, depending on the default value configured for the attribute in the custom policy.
For example, if the value of the boolean attribute (extension_boolval in this case) in the token is false
but the RP (signup/sign-in) file is configured with the DefaultValue for this attribute as true
, the UserInfo endpoint will return the value as True
.
- Value of the boolean attribute in the Token:
- Configuration in the signup/signin xml file:
- Response from UserInfo endpoint:
-----------------------------------------------------------------------------------------------------------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.