<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AH9qZQCQZOkta Classic EngineSingle Sign-OnAnswered2025-12-16T09:00:18.000Z2024-11-14T06:14:58.000Z2024-11-29T16:37:19.000Z
How can we automatically fetch configured claims from Okta for SAML setup?

I’m setting up SAML authentication for our product using Okta as the IDP, but the metadata XML generated by Okta doesn’t include the configured claims. I found that Okta requires these to be added manually - https://support.okta.com/help/s/question/0D50Z00008G7V4uSAF/should-meta-data-include-attributes?language=en_US, but I’d like to avoid that if possible. Is there a way, like an API or script, to automatically fetch and display the configured claims from Okta so we don’t have to manually copy them?


  • paul.stiniguta (Okta, Inc.)

    Hello @gqrz4 (gqrz4)​ Thank you for posting on our Community page!

     

    Please see below our IDP API collection where you should be able to find the API you are looking for:

    https://developer.okta.com/docs/reference/api/idps/

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
  • paul.stiniguta (Okta, Inc.)

    Hello @gqrz4 (gqrz4)​ Thank you for posting on our Community page!

     

    Please see below our IDP API collection where you should be able to find the API you are looking for:

    https://developer.okta.com/docs/reference/api/idps/

     

    Thank you for reaching out to our Community and have a great day!

    --

    Help others in the community by liking or hitting Select as Best if this response helped you.

    Expand Post
    Selected as Best
This question is closed.
Loading
How can we automatically fetch configured claims from Okta for SAML setup?