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:
Thanks for the pointers. Yes, my application is a SPA. Looks like samples-golang repository is not a good example to use for SPA.