Hi,

I am using the REST API /api/management/v1/principals to create a new principal 
with user attributes (for example: region=northamerica). The API call completes 
successfully, and the response correctly includes the specified user attributes.

However, when I use the returned client-id and client-secret to obtain an OAuth 
token from /api/catalog/v1/oauth/tokens, and then use that token to perform 
other API operations (such as listing catalogs via 
/api/management/v1/catalogs), the server-side Polaris principal does not appear 
to include the user attributes.

Specifically, the user attributes defined during principal creation do not seem 
to be available during subsequent API calls authenticated using the generated 
OAuth token.

Could you please confirm:

1. Whether this is the expected behavior, or
2. If there is an additional step required to propagate or include principal 
attributes when generating or using OAuth tokens, or
3. If this might be a bug.

Thanks in advance for your guidance.

Best regards,
Selva

Reply via email to