Use 127.0.0.1 everywhere _except_ as a redirect_uri for the client registration

This commit is contained in:
Glen Maddern 2025-05-06 09:00:58 +10:00
parent 5c71b26869
commit 05fa1e1245

View file

@ -37,7 +37,7 @@ export class NodeOAuthClientProvider implements OAuthClientProvider {
} }
get redirectUrl(): string { get redirectUrl(): string {
return `http://127.0.0.1:${this.options.callbackPort}${this.callbackPath}` return `http://localhost:${this.options.callbackPort}${this.callbackPath}`
} }
get clientMetadata() { get clientMetadata() {