
vinayj.22966 (Customer) asked a question.
Hi Team,
I am trying to integrate the OKTA SAML app in aws cognito.
I have created a SAML App in the OKTA and added the redirection urls and updated the cognito user pool information.
and the OKTA details also configured in the aws cognito. Once I try to login from the cognito sso URL, it redirected to OKTA Login page and it redirected to the redirect URL and Provided the access token and Id token. when I decode the ID token to check the claims. it is giving sub and user id only.
I want to get all the fields in profile, or at least department of the user to manage roles in the application.
Any solution to get the scenario fixed will be highly appreciated.
Thanks in advance.

you may need to create custom claims under authz server
refer below :
https://support.okta.com/help/s/article/How-to-add-custom-attributes-of-user-profile-as-claims-in-token
chosse user profile instead app userprofile