I have an Angular app and i want to get token i have properly received authorization code but during getting token below error received can anybody help me regarding below issue?
error:"invalid_grant"
error_description: "Grant not configured for client"
I have pass below payload to API
const body = new HttpParams()
.set(`grant_type`, "AUTHORIZATION_CODE")
.set(`redirect_uri`, OAMConfig.redirectUri)
.set('code',value)
.set('code_verifier','XXXXX')
same API properly get token in postman but in app not getting token can anybody help me on above issue?
From your description, seems like you are missing client_id parameter,
Here is the guide for authorization code with pkce (which you would use, if you have selected application type as single page application in Okta). For example