Hi!
Thanks for your reply. I tried creating two OAuth profiles because don’t want all my apps using the same client id.
I set up oauth role as “client” because was not able to do “resource-server” work.
Using this way, all my apps are required to use the same Client ID, only Secret are different.
These are my token header/payload.
“alg”: “RS256”,
“jku”: “https://c580d8f1trial.authentication.us10.hana.ondemand.com/token_keys”,
“kid”: “default-jwt-key–1909570378”,
“typ”: “JWT”,
“jid”: “2NtAiUSRbY6BGYkoBMmPFllnJ3uE1fMVDOTmaB3bHI8=”
}
{
“jti”: “e6bd3d5b42fc4898af1ea9458a9fa88f”,
“ext_attr”: {
“enhancer”: “XSUAA”,
“subaccountid”: “a0291e34-35fb-46fe-92b6-21bcc0f343a0”,
“zdn”: “c580d8f1trial”
},
“sub”: “sb-aem-broker!b185994”,
“authorities”: [
“uaa.resource”
],
“scope”: [
“uaa.resource”
],
“client_id”: “sb-aem-broker!b185994”,
“cid”: “sb-aem-broker!b185994”,
“azp”: “sb-aem-broker!b185994”,
“grant_type”: “client_credentials”,
“rev_sig”: “ccab5504”,
“iat”: 1691768625,
“exp”: 1691811825,
“iss”: “https://c580d8f1trial.authentication.us10.hana.ondemand.com/oauth/token”,
“zid”: “a0291e34-35fb-46fe-92b6-21bcc0f343a0”,
“aud”: [
“uaa”,
“sb-aem-broker!b185994”
]
}
How can I set up OAuth profile to not require my apps using the same username?
Thanks and regards
