Getting this error:- OKTA SAML

“username”: “Username”,
“password”: “Password”,
“audience”: “App Id”,
“options”: {
“multiOptionalFactorEnroll”: false,
“warnBeforePasswordExpired”: true

“Accept” : “application/json”,
“Content-Type” : “application/json”,
“Authorization” : “SSWS{{$TOKEN}}”
“errorSummary”: “The request was not valid: api.authn.error.AUDIENCE_NOT_SUPPORTED”,

What’s missing?

Do we have any other api that can provide me “stateToken” to I can login using in Okta

Hi @Anonymous

What is the App Id that you are passing in the request body? Can you please provide also the X-Okta-Request-Id header response value in order to further check the cause of the error?


I was able to login without that. Could u tell me I am using register api with out password…I just want to knw that how can I enable the checkbox by default on registration for the application that I want to access (By default open the app when user logged in)