Do you have any question about this error?
Message type: E = Error
Message class: SOAUTH2 - OAuth2 Messages
Message number: 042
Message text: No authorization for some OAuth 2.0 tokens (analyze with ST01).
The system performs authorization checks when starting the token
revocation and before display and deletion of OAuth 2.0 Token Contexts.
When starting the token revocation in administrator mode (transaction:
SOAUTH2_REVOKE_ADM) the system checks if the user has the authorization
S_OA2_OBJ with the object <ZH>REVOCATION</>. (If the user does not have
this authorization, the system will change to the standard behaviour of
transaction SOAUTH2_REVOCATION. I.e. the user will only see their own
tokens.)
Before <ZH>display </>of a token context, the system checks if the
logged on user has the authorization to <ZH>display </>the user class
and the OAuth 2.0 client assigned to this token context. In detail the
following authorization objects will be checked:
S_USR_GRP (with the class of the assigned user and activity <ZH>03</>)
for the user group
S_OA2_CL (with the assigned OAuth 2.0 client and activity <ZH>03</>) for
the OAuth client
The system issues an error message and will not allow you to continue with this transaction until the error is resolved.
Before <ZH>deletion </>of a token context, the system will check if theIf the authorization check for at least one token context failed the
system will raise this message.
If the authorization check for either client or user group display
failed, the particular token context won't be displayed.
If the authorization check for either client or user group change
failed, the particular token context won't be revoked.
Turn on the authorization trace in transaction SE01 and repeat your
action. You will then see in the trace, which authorization checks
failed in detail, i.e. which token contexts were filtered from display
resp. were not revoked.
Error message extract from SAP system. Copyright SAP SE.
SOAUTH2042
- No authorization for some OAuth 2.0 tokens (analyze with ST01). ?Get instant SAP help. Start your 7-day free trial now.
SOAUTH2041
Authorization code was issued to another client.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SOAUTH2040
Different redirection URIs sent to authorization and token endpoint.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
SOAUTH2043
Password existence check (Auth. S_USER_GRP/03). See SOAUTH2043 longtext.
What causes this issue? Only password based logon should be allowed for the OAuth 2.0 Client user. Therefore the system checks if the OAuth 2.0 Clien...
SOAUTH2050
OAuth 2.0 Scope ID &1 does not exist.
Self-Explanatory Message Since SAP believes that this specific error message is 'self-explanatory,' no more information has been given.The majority of...
Click on this link to search all SAP messages.