on 2023 Jul 06 6:47 AM
Hello.
I have Custom IAS tenant activated for my sub account, and I created a user in IAS and synced the same user in sub account.
I am trying to generate access_token to test a service from postman . When I use a normal "Default Identity Provider" user and its password , it successfully generates the token. But when I try with Custom IAS user, it says "invalid_grant" and "User authentication failed" . Any clue ?
I am using sub account 's xsuaa's token url in postman.
Request clarification before answering.
Hi,
Problem has already been resolved?
If not, please check the following note.
https://me.sap.com/notes/2766354
In the case you want to use IAS user with Password credential, you have to use hint parameter when getting the access token from XSUAA token endpoint.
Osamu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
where were you all this time ? 🙂 It works for me.
=> login hint mentioned in the note did not work for me. It gave 400 error. I rather tried the alternatives provided.
=>I changed the default identity provider of the sub account to sap.customer ( SAP note 3042924 , SAP Help document )
=> Then generating token using password grant type worked.
User | Count |
---|---|
87 | |
10 | |
9 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.