
150ud (150ud) asked a question.
I'd like to get a SAML Assertion for a user using their Okta OIDC token, in an on-behalf-of flow, as Azure AD supports here:
https://docs.microsoft.com/en-us/azure/active-directory/develop/v2-oauth2-on-behalf-of-flow
Is this possible? if I'm using Azure AD as one of my Okta OIDC providers could I use that flow?
Thanks

Did you find any response to it ? I have similar use case.
Onelogin supports such functionality -
https://developers.onelogin.com/api-docs/1/saml-assertions/generate-saml-assertion
Hello @150ud (150ud) Thank you for reacting out to our Community!
Please take a look at the below documentation that should provide the answer your are looking for:
https://developer.okta.com/docs/guides/implement-grant-type/saml2assert/main/
If this does not answers your inquiry my advice would be to leverage the Okta Developer forums for this type of questions and take advantage of their expertise.
https://devforum.okta.com/
Hope this helps and if this answered your question, please mark this as Best Answer!
What I am looking to do is the reverse, if you look on that microsoft link its under this header:
SAML assertions obtained with an OAuth2.0 OBO flow
I have a OIDC/OAuth token from Okta and want to use it to get a SAML assertion (for a registered app with okta)
Is that something Okta supports today or on the roadmap?
Thanks
I am looking for same capability.
Hello Paul,
Thank you for your help but somehow I am not able to find following option for SAML Assertion in our OKTA instance -
Hello Rishi,
There is a feature for this, named OAUTH2 SAML BEARER GRANT. As far as I can see with this enabled I can see SAML 2.0 Assertion on the general tab only for Native app when selecting OIDC, however I was able to spot this setting in the Security->API-> Authorization Server->Access Policy.
Hope this helps!
But we have a requirement where will saml assetion from access token. do you think that is possible with OKTA ? I know Ben is asking for same thing.