Skip to content

Conversation

evantahler
Copy link
Contributor

@evantahler evantahler commented Jul 10, 2025

Say you are @shubcodes and running arcade on replit or vs codespaces. Today, arcade login assumes that the browser you've opened for the auth flow's "localhost" is the same that is running the arcade login command. If you are running on one of these remote code execution environments, that won't be true.

Usage:

arcade login --callback-host "https://replit.com:9999/path/to/my/codespace"

Copy link

codecov bot commented Jul 10, 2025

Codecov Report

Attention: Patch coverage is 77.77778% with 2 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
libs/arcade-cli/arcade_cli/main.py 0.00% 1 Missing ⚠️
libs/arcade-cli/arcade_cli/utils.py 87.50% 1 Missing ⚠️

📢 Thoughts on this report? Let us know!

@EricGustin EricGustin marked this pull request as ready for review July 12, 2025 01:07
@evantahler
Copy link
Contributor Author

@shubcodes - were you able to try this out... did it help?

@shubcodes
Copy link
Contributor

Need to retest and maybe also put in logic for device code auth for headless ssh sessions that don't support callback to localhost

@evantahler evantahler merged commit e715ae9 into main Jul 14, 2025
96 checks passed
@evantahler evantahler deleted the custom-login-hostname branch July 14, 2025 17:53
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.

3 participants