Title: stackit auth login fails if something already runs on localhost:8000 · Issue #1250 · stackitcloud/stackit-cli · GitHub
Open Graph Title: stackit auth login fails if something already runs on localhost:8000 · Issue #1250 · stackitcloud/stackit-cli
X Title: stackit auth login fails if something already runs on localhost:8000 · Issue #1250 · stackitcloud/stackit-cli
Description: Description When running something on localhost:8000 the stackit auth login command gets stuck. Steps to reproduce Run something on localhost:8000 Run stackit auth login Browser opens, goes to the app already running on localhost:8000, s...
Open Graph Description: Description When running something on localhost:8000 the stackit auth login command gets stuck. Steps to reproduce Run something on localhost:8000 Run stackit auth login Browser opens, goes to the ...
X Description: Description When running something on localhost:8000 the stackit auth login command gets stuck. Steps to reproduce Run something on localhost:8000 Run stackit auth login Browser opens, goes to the ...
Opengraph URL: https://github.com/stackitcloud/stackit-cli/issues/1250
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"stackit auth login fails if something already runs on localhost:8000","articleBody":"## Description\n\nWhen running something on `localhost:8000` the `stackit auth login` command gets stuck.\n\n## Steps to reproduce\n\u003c!-- Please provide us with the steps to reproduce the behavior. --\u003e\n\n1. Run something on `localhost:8000` \n2. Run `stackit auth login`\n3. Browser opens, goes to the app already running on `localhost:8000`, stackit cli is stuck\n\n## Actual behavior\n\nThe terminal reads the following and nothing happens:\n\n```\nYour browser has been opened to visit:\n\nhttps://accounts.stackit.cloud/oauth/v2/authorize?\u003cloads-of-stuff\u003e\u0026redirect_uri=http%3A%2F%2Flocalhost%3A8000\u0026\u003cmore-stuff\u003e\n\n```\n\nThis doesn't always happen which is curious.\n\nI tried to block the port with a simple python server by running `python3 -m http.server`, but then stackit CLI used another port (`8001`) as I would've expected.\n\nWhen I run a static site generator such as [Zensical](https://zensical.org), the oauth flow gets stuck as described above, and no alternative port is chosen. \n\n## Expected behavior\n\nI expect stackit cli to reliably fallback to a different port if `8000` is occupied.\n\n## Environment\n - OS: MacOS 26\n - Version of STACKIT CLI (see `stackit --version`): `0.51.0`\n\n","author":{"url":"https://github.com/KevinGimbel","@type":"Person","name":"KevinGimbel"},"datePublished":"2026-01-23T07:50:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/1250/stackit-cli/issues/1250"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:72fabef3-848f-8b46-6fa1-7766e3fd35a9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D70E:13FBD:179083:20A6AF:6981B618 |
| html-safe-nonce | 7ed86e505585cd92d7a37dbc346a94f73739f16488b9cf9f2ea2cc44d45e4860 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENzBFOjEzRkJEOjE3OTA4MzoyMEE2QUY6Njk4MUI2MTgiLCJ2aXNpdG9yX2lkIjoiMzMyNDU5NzAzNDQxMzA0NTI3MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a388a175312a5499bc1902a571d109594e43c004d9d5302980e54f3bb587c37f |
| hovercard-subject-tag | issue:3846281858 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/stackitcloud/stackit-cli/1250/issue_layout |
| twitter:image | https://opengraph.githubassets.com/318a369f332d65dc97c8159fff70fe4ef46a5c0e4526a0e507cf95921debf312/stackitcloud/stackit-cli/issues/1250 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/318a369f332d65dc97c8159fff70fe4ef46a5c0e4526a0e507cf95921debf312/stackitcloud/stackit-cli/issues/1250 |
| og:image:alt | Description When running something on localhost:8000 the stackit auth login command gets stuck. Steps to reproduce Run something on localhost:8000 Run stackit auth login Browser opens, goes to the ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | KevinGimbel |
| hostname | github.com |
| expected-hostname | github.com |
| None | e137814e266030874fd2c86863529d0622b13889eeda04148c57654b6ea84ad6 |
| turbo-cache-control | no-preview |
| go-import | github.com/stackitcloud/stackit-cli git https://github.com/stackitcloud/stackit-cli.git |
| octolytics-dimension-user_id | 55577607 |
| octolytics-dimension-user_login | stackitcloud |
| octolytics-dimension-repository_id | 699237555 |
| octolytics-dimension-repository_nwo | stackitcloud/stackit-cli |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 699237555 |
| octolytics-dimension-repository_network_root_nwo | stackitcloud/stackit-cli |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | dd58d68a7813bbec9c91422c8c35f4af33832d70 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width