<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z0000AH9iLOCQZOkta Classic EngineAuthenticationAnswered2024-11-18T15:42:01.000Z2024-11-13T11:49:49.000Z2024-11-18T15:42:01.000Z
Not able to Authenticate the User via token API

hi team, trying to get idToken with username and password of the octa user, below are the Sample request payload. Could you please help me on this, what mistake I am doing.

 

Endpoint : /oauth2/default/v1/token

Method : POST:

Payload Structure: {

                grant_type: 'password',

                username: username,

                password: password,

                client_id: clientId,

                client_secret: clientSecret,

                scope: 'openid profile email'

            }

 

Response from the API :

 

{

 error: 'invalid_grant',

 error_description: 'Resource owner password credentials authentication denied by sign on policy.'

}


This question is closed.
Loading
Not able to Authenticate the User via token API