Previously, the customer was able to authorise and retrieve a bearer token via PAPI in an API Portal 5.3.x.
However, recently they have been experiencing an authentication issue that leads to the error Failed to Fetch
API Portal 5.3.x
Further troubleshooting shows that the browser (Chrome in this case) generates a network error when using a self-signed certificate.
This can be verified within Chrome's DevTools under the Console tab
This is an expected behaviour and not an issue with our product.
A browser considers a self-signed certificate a security risk since no known CA Authority was used to sign the certificate.
The recommended solution is to use a signed certificate with Portal (this is a must in production).
Create and Sign Certificates for Production
However, if that is not an option or the Portal is not a production system, the customer can use a workaround, forcing Chrome to trust the self-signed certificate by accepting the risks of using a self-signed certificate.
To do so: