This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
Hi gurus, we would like to connect SAP to Concur via OAUTH 2.0 Client to access Concur APIs in Production. We are unable to use Username and Password to generate Refresh Token for the OAUTH2 connection due to the Single Sign On authentication enforced with Concur Production.
We already have a Concur Support case open but didn't get us anywhere.
We are hoping this can be resolved without us making the SSO optional to minimize the impact for the end user experience. Do you have any suggestion?
Thanks
Marion
This content from the SAP Concur Community was machine translated for your convenience. SAP does not provide any guarantee regarding the correctness or completeness of this machine translated text. View original text custom.banner_survey_translated_text
Hi @marionyang ,
Note - I have very limited/basic knowledge on Concur API.
While looking for solution online I found below information. Can you please try adding below grant and check if your issue gets resolved.
When SSO is enforced, the classic OAuth flow that uses username + password to obtain a refresh token is intentionally blocked in SAP Concur. That’s by design—SSO removes direct credential handling, so that flow simply won’t work in Production.
What’s actually happening?
The flow you’re trying to use is essentially:
That depends on direct username/password, which conflicts with SSO (SAML/OIDC). So Concur disables it.
The correct way to do this with SSO enabled
You need to switch to a supported OAuth pattern that works with SSO:
Authorization Code Grant (recommended)
Note - With this you will be able to generate refresh token but only if you use the full Authorization Code flow in SAP Concur. With SSO enforced, you must authenticate via browser, get an authorization code, and exchange it to receive a refresh token.
Just enabling authorization_code alone won’t work—you cannot generate a refresh token using username/password anymore.
Sample screenshot: You need to add below grant/scope in OAuth section.
If this answers your query, then please mark solution as accepted.