Connect native apps with loopback OAuth redirects
Desktop and command-line OAuth clients can use a local HTTP callback on localhost, 127.0.0.1, or [::1]. Register the client as a native application; the callback port can vary during authorization, so the app can use an available local port.
See the Account Chief developer documentation for OAuth setup.