OAuth2.0 ERP : Generate Bearer Token Behavior Control
We are using a Confidential Application configured for the JWT User Assertion grant type.
In our implementation, a shell script generates a JWT assertion and requests an access token. The script accepts a username as an input parameter, which is then used as the user principal (prn) in the JWT payload before exchanging the assertion for an access token.
For example:
- generate_token.sh test1_user → Access token issued for test1_user
Our concern is around the security model and user impersonation controls.
Consider the following scenario:
- Multiple client applications integrate with our Confidential Application.
- A client that is authorized to generate JWT User Assertions could potentially provide a different username in the assertion.
Tagged:
0