on 03-20-2024 9:26 AM
hi,
on cpi I configured an OAuth2 Authorization Code (Generic) user in the security material
but when I click on the "authorize" button I receive this error The Provider 'Generic' did not return a refresh token for the OAuth2 Authorization Code Credential
can someone help me?
Hi @mark_fryu,
Probably it happens if you use OAuth2 a 'Refresh Token' which expires. Check out SAP KBA 3361116 - Expired Refresh Token for OAuth2 Client Authorization Code
"Cause This error occurs when you attempt to use an OAuth2 Authorization Code Credentials artifact in Cloud Foundry, which uses a 'Refresh Token' which expires. In Cloud Foundry, it is only supported to use OAuth2 Client Authorization Code credentials whose refresh token does not expire. This is also mentioned in the SAP Help Documentation for Deploying an OAuth2 Client Authorization Code with Generic Provider - "
"There are several options available to avoid this issue from occurring -
Regards,
Tuncay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.