Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Bug: API key always expires, even on the host #1269

Closed
Assignees
Emyrk
Labels
apiArea: HTTP API
@bpmct

Description

@bpmct

OS Information

  • OS: Debian 11 (production VM running Coder)

  • Architecture:

  • coder --version:

    root@coder-v2:~/coder# coder --versionCoder v0.0.0-devel+1df943e Mon Apr 18 23:01:49 UTC 2022https:/github.com/coder/coder/commit/1df943e010cdf576fb169293db02daf93f3f268e

Steps to Reproduce

  1. Set up a Coder deployment somewhere and keep it running (or maybe this happens if you are logged in to dev.coder.com)
  2. Log in to that deployment (coder login <url>)
  3. Wait 3 days (unsure of interval), or simulate expiration somehow in the code
  4. Runcoder ws ls

Expected

I can use a long-lived API token or session on the Coder host, or even my developer laptop.

Actual

My key expires every 1-3 days. I'm not quite sure the interval.

$ coder ws lsstatus code 401: api key expired at"2022-04-29 18:52:01.463991 +0000 UTC"

Metadata

Metadata

Assignees

Labels

apiArea: HTTP API

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp