How to associate an application to a user in IDCS using REST API
We are setting up SAML federation between AWS cognito and IDCS . In regards to that we have created an external application in IDCS along with its configuration, however when we try to login with existing user from IDCS it was giving us unauthorized error .
After investigating it we found out that we have to associate the user to application that we created. Therefore we would like to ask community is there a way to assign application to the user using REST API's .
Thank you in advance . Any help is appreciated.
Code Snippet (add any code snippets that support your topic, if applicable):