Grant Type for SAML

Not applicable

Hi All , someone knows what is the grant_type that should be used for SAML validation?

In input i have into the request grant_type=urn:ietf:params:oauth:grant-type:saml2-bearer

Many THanks

Cosimo

1 2 645
2 REPLIES 2

Former Community Member
Not applicable

Hi @Cosimo we support the following OAuth grant types OOTB:

  • Client Credentials
  • Authorization Code (or Web Server Flow)
  • Implicit
  • Resource Owner Password

The SAML Bearer Assertion flow is currently not implemented. @Subrak

Hi Cosimo,

Adding to Prithpal's answer -

your value to the 'grant_type' is correct, along with it you also need to add an 'assertion' parameter with the value of the saml assertion.

In apigee proxy, you can create a conditional flow for saml assertion flow like,

request.formparam.grant_type='urn:ietf:params:oauth:grant-type:saml2-bearer' and within that flow you can verify the saml assertion and return a access token

Thanks,

Mukundha