Where to get Client Secret?

Hello, I am trying out examples in samples-golang. My Single Page Application client authentication is using PKCE. All the golang samples for .okta/okta.yaml requires client secret application. Where do I get that ? if it is not available, what value should I put ? putting “” crashes the sample program in embedded-auto-with-sdk.

@rzulkarn
If you chose "Web" on "Add Application" , you can see on the the "General" tab, Client Credentials section with Client ID and Client Secret

But if you choose the Single page App there’s no client secret, just client ID.

In your case, I guess you chose Single Page App option.

Here is more reference:

  1. Where do i find Client Secret - #2 by ajaxsoap
  2. OKTA SPA -- why choose this over web application?

Thanks for the pointers. Yes, my application is a SPA. Looks like samples-golang repository is not a good example to use for SPA.