I built an app, which authenticates users via oauth2. I have a simple server that can accept requests.
After authentication, the user is redirected to https://127.0.0.1:1234/token=<token>
and the app listens on this port.
How can I make a certificate to accept a callback from the host? Self-signed certificates are restricted on many browsers.
Let's Encrypt and many other certificates are for domains, not local hosts.