Angular 11 app after i give OKTA web app details i am getting "error":"invalid_client"

Hi, In Angular 11 app after i give OKTA web app details i am getting {“error”:“invalid_client”,“error_description”:“Client authentication failed. Either the client or the client credentials are invalid.”}. Can someone please help.

Thanks!

Based on your other posts, it sounds like you’re using a web client instead of a SPA, which would result in the error you’re seeing. From our Angular guide (see step 6):

If you choose an inappropriate application type, it can break the sign-in or sign-out flows by requiring the verification of a client secret, which is something that public clients don’t have.

TLDR: You’ll need to create a SPA client to use with this sdk, instead of a web client.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.