Skip to content

Conversation

@EhabY
Copy link
Collaborator

@EhabY EhabY commented Dec 19, 2025

When opening a workspace via URI without a token, ensure we prompt for login and set the deployment before attempting to open. Extract URI handler into dedicated module with route-based dispatch.

Closes #680

@EhabY EhabY requested a review from code-asher December 19, 2025 21:22
Copy link
Member

@code-asher code-asher left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, verified the token prompt shows up when the token is invalid or missing.

When opening a workspace via URI without a token, ensure we prompt for
login and set the deployment before attempting to open. Extract URI
handler into dedicated module with route-based dispatch.
* Always return User if the login is successful
@EhabY EhabY force-pushed the ensure-login-before-opening-workspace-from-uri branch from c059503 to a825dd1 Compare December 23, 2025 11:20
@EhabY EhabY merged commit 1e7a030 into coder:main Dec 23, 2025
5 of 6 checks passed
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.

Missing login prompt if URI handler is missing the token

2 participants