Hello All,
I have a question related to the authentication of the AppServer. I want to use the module 'OAuth'.
This implementation is required for an external application (desktop application) through which I want to make an API request for authentication of AppServer.
The authString -
"authString":"Module=OAuth;Code=<authorizationCode from IdP>;=AppUrl=<URL from QBMWebApplication>;ClientId=<ClientId>;RedirectUri=urn:InstalledApplication"
I am getting an exception. Log says -
ERROR (ObjectLog Global) : [810284] Failed to authenticate user.
[QER.OAuthAuthentifier.OAuth2Exception] invalid_grant. The provided access grant is invalid, expired, or revoked.
VI.Base.ViException: Failed to authenticate user. ---> QER.OAuthAuthentifier.OAuth2Exception: invalid_grant. The provided access grant is invalid, expired, or revoked.
Does anyone have any insight about this topic?
Also, the second case where if I have the access token how should I use it to authenticate the AppServer?
NOte: The OAuth login is working from the AppServer Portal.