Users attempting to generate an access token when selecting Authorize in Portal API encounter an error when attempting to fetch the bearer token.
"Auth Error TyeError: Failed to Fetch" or browser console errors indicating ERR_CERT_AUTHORITY_INVALID.
All supported version of API Developer Portal.
This behavior is expected when a self-signed certificate is in use. Modern web browsers (e.g., Chrome) do not trust self-signed certificates as they lack a signature from a recognized Certificate Authority (CA), classifying them as a security risk. Consequently, the browser blocks the network request required to retrieve the bearer token.
If you are working in a development or testing environment where immediate implementation of a CA-signed certificate is not feasible, you can manually force the browser to trust the self-signed certificate:
ERR_CERT_AUTHORITY_INVALID error or Copy the Token_URL from Available authorizations popup window.