Skip to content

fix(oauth): route DCR reconnect through registration flow - #1559

Open
Adityakk9031 wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
Adityakk9031:fix/dcr-reconnect
Open

fix(oauth): route DCR reconnect through registration flow#1559
Adityakk9031 wants to merge 1 commit into
UsefulSoftwareCo:mainfrom
Adityakk9031:fix/dcr-reconnect

Conversation

@Adityakk9031

Copy link
Copy Markdown

Fixes #1542

A dynamically registered (DCR) OAuth client is tied to a specific redirect URI. When the app's callback origin changes (e.g. 127.0.0.1 to localhost), reconnecting a DCR-capable client using the stored redirect URI fails the authorization flow. This routes Reconnect through the same probe -> register-dynamic -> start flow as initial Connect, so the registration gateway handles replacing stranded clients when the redirect URI shifts.

@Adityakk9031

Copy link
Copy Markdown
Author

@RhysSullivan have a look

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reconnect cannot recover a DCR OAuth connection after the callback origin changes

1 participant