Skip to content

Allow to set expiry of the oauth token or set higher defaults #1312

Description

@Haehnchen

The Basic oauth process should be longer then the provided 4 weeks, basically the cli is designed for agents and i dont want the configured agent to run into issues after every 4 weeks.

Current Default

sentry auth login
ℹ Starting authentication...
[...]
✔ Authentication successful!
Token expires in: 4 weeks and 1 day

Workaround

Use api token, with more expire time.

sentry auth login --token=*

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions