SFDC OAuth2 and SAML2 Notes
Token endpoint: POST: https://login|test.salesforce.com/services/oauth2/token
grant_type=urnparams
grant-type:saml2-bearer
assertion=The SAML Bearer Assertion, encoded using base64url.
response: access_token
Token endpoint: POST: https://login|test.salesforce.com/services/oauth2/token
POST: JWT
response: access_token
Verification endpoint: GET :https://login|test.salesforce.com/services/oauth2/authorize
response_type=code (Validation Code)
Exchange Validation Code for access_token:
Token endpoint: POST: https://login|test.salesforce.com/services/oauth2/token
grant_type=authorization_code
response: access_token
Authorize endpoint: https://login|test.salesforce.com/services/oauth2/authorize
response_type=token
Do not have to create a connected app to use this assertion flow
Token endpoint: https://login|test.salesforce.com/services/oauth2/token
grant_type=assertion
assertion_type=urnnames
SAML:2.0
SSO:browser
assertion=The SAML Assertion, encoded using base64
Token endpoint: https://login|test.salesforce.com/services/oauth2/token
grant_type=password
username=username
password=user_password
Reference: