Loopback URI Redirection

Overview TODO needs more verification#

Loopback URI Redirection and OAuth 2.0#

Loopback URI Redirection involves setting up: [1] %$%prettify 
/% or http://::1:port

You should query your platform for the relevant loopback IP, and start an HTTP listener on a random available port, Substitute port for the actual port number you are listening on.

Recommended Usage:

  • macOS
  • Linux
  • Windows desktop
    • but not Universal Windows Platform apps.

Client Type:

  • Register with type Other.

To receive the Authorization Code using this URL, your application must be listening on the local web server. This is possible on many, but not all, platforms. If your platform supports it this is the recommended mechanism for obtaining the Authorization Code.

When your application receives the authorization Response, for best usability, it should respond with an HTML page, instructing the user to close the browser tab and return to your application.

Note: It is also possible to use localhost in place of the loopback IP, but this may cause issues with client firewalls. Most firewalls allow loopback communication, though this may not always be the case.

More Information#

There might be more information for this subject on one of the following: