OAuth2 (Okta) token generation fails with 401 unauthorized response – client_credentials grant type – Jquery ajax
I ran into a problem where my AJAX request fails with error code 401 - Unauthorized, while trying to get an OAuth2 (Okta) Token. The preview tab shows an error as follows: Browser requests to the token endpoint must use…