question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OAUTH scope does not include option for Object Storage

See original GitHub issue

I’m beta testing the Object Storage system and I’m trying to use the CLI to create a bucket, but the CLI is responding that my OAUTH token doesn’t have the required scope permissions.

I’m using the following, linode-cli obj mb some.bucket.name and am getting the following response…

Request failed: 401
lerrorsqwqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
x field x reason                                                   x
tqqqqqqqnqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
x       x Your OAuth token is not authorized to use this endpoint. x
mqqqqqqqvqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

When I go to the console to generate a new Personal Access Token, I’m only given the following options:

  • Account
  • Domains
  • Events
  • Images
  • IPs
  • Linodes
  • Longview
  • NodeBalancers
  • StackScripts
  • Volumes

There is no option to enable the object storage endpoint.

Is this an error in the CLI, an issue with the Token manager, or something else? I’m stuck.

Thanks, Kevin.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
oucilcommented, Oct 16, 2019

@Dorthu That’s great, thanks! As we’re only beta testing at the moment the “All” scope isn’t an issue, and I wasn’t aware I could generate the new profile tokens from the CLI like that, so even better. Thanks for your help.

1reaction
Dorthucommented, Nov 7, 2019

This OAuth Scope has been added as an option in cloud.linode.com as well. Closing this issue.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Working with OAuth2 scopes | Apigee X - Google Cloud
OAuth 2.0 scopes provide a way to limit the amount of access that is granted to an access token. For example, an access...
Read more >
OAuth 2.0 Scopes for Google APIs | Authorization
This document lists the OAuth 2.0 scopes that you might need to request to access Google APIs, depending on the level of access...
Read more >
OAuth Scopes Best Practices | Curity
Best practices for designing OAuth scopes in real world systems and managing them at scale. Discover how to perform API Authorization using Scopes....
Read more >
Permissions, Privileges, and Scopes - Auth0
However, setting up access control is not just a matter of writing code ... authorization comes into the picture, such as when using...
Read more >
How to manage OAuth 2.0 scopes - Connect2id
In RFC 6749 the OAuth 2.0 authorisation framework defines the scope syntax as simple opaque space-delimited strings. This means that OAuth deployments can...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found