Retrieve IDP tokens with specific parameters

Hello,

I was wondering if there is a way to retrieve an identity provider token with specific parameters. I noticed here that we can don a GET request to retrieve an identity provider token: Retrieving External IDP Tokens | keycloak-documentation but is there a way to do a POST request in which we can retrieve an identity provider token for a specifc scope for example?

Thank you!

This is the token that is fetched from the remote IdP during a brokered login. If you need a token with a specific scope, you need to specify that scope when you set up the IdP in the admin UI.