Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

💡option for cloudflared access login to only output jwt #1249

Open
rjgpacheco opened this issue May 20, 2024 · 0 comments
Open

💡option for cloudflared access login to only output jwt #1249

rjgpacheco opened this issue May 20, 2024 · 0 comments
Labels
Priority: Normal Minor issue impacting one or more users Type: Feature Request A big idea that would be split into smaller pieces

Comments

@rjgpacheco
Copy link

Describe the feature you'd like
Add -no-pretty flag to cloudflared access login making it only output jwt token:

$ cloudflared access login -no-pretty $url
<TOKEN>

Describe alternatives you've considered
Are there any alternatives to solving this problem? If so, what was your experience with them?

Additional context
Add any other context or screenshots about the feature request here.

@rjgpacheco rjgpacheco added Priority: Normal Minor issue impacting one or more users Type: Feature Request A big idea that would be split into smaller pieces labels May 20, 2024
@rjgpacheco rjgpacheco changed the title 💡option for cloudflared access login to only ouput jwt 💡option for cloudflared access login to only output jwt May 20, 2024
rjgpacheco added a commit to rjgpacheco/cloudflared that referenced this issue May 20, 2024
…are#1249)

Adds a -no-pretty flag to cloudflared access login:

```shell
$ cloudflared access login -no-pretty $url
<TOKEN>
```

This removes the need to parse the token from the output message, making it
easier for external applications.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Priority: Normal Minor issue impacting one or more users Type: Feature Request A big idea that would be split into smaller pieces
Projects
None yet
Development

No branches or pull requests

1 participant