
ChrisP.66196 (Customer) asked a question.
I'm trying to manage IDPs using Terraform via an API Service app that I created and granted the "okta.idps.manage" scope. I've even assigned the app the "Super administrator" role, but I keep getting the below error whenever I run Terraform plan:
Error: failed to get SAML identity provider profile mapping: the API returned an error: The access token provided does not contain the required scopes., Status: 403 Forbidden
What other scope can I use here if it's not "okta.idps.manage" or "okta.idps.read?" I use Terraform to manage every other part of Okta successfully, so I'm not sure why IDPs isn't working. I've granted almost every scope there is so far and nothing works. I am specifying the scopes in the Okta provider registration in Terraform code too.

Seems like at least one of the following scopes are also required:
Once I added these 3, I got passed the error and could import my object.
Hi @ChrisP.66196 (Customer) , Thank you for reaching out to the Okta Community!
This question is more appropriate for our dedicated Okta Developer Forum.
My advice would be to reach out devforum.okta.com to take advantage of their expertise.
While we'll do our best to answer all of your questions here, this medium is more inclined towards Okta core products and features (non-developer work).
That being said, I ran this by my Dev colleagues and they referenced the following issue that you might want to look into:
https://github.com/okta/terraform-provider-okta/issues/984
I could be that it's feature flag related.
If my answer helped, remember to mark it as best to increase its visibility for other members of the Okta Community who might have the same questions as you.
Hope my answer helps!
--------------------------------
What you missed: new product releases and other announcements