No permissions for GLOBAL_WRITE to upgrade a user on Dexie Cloud from eval to prod #2130
Unanswered
felixangell
asked this question in
Q&A
Replies: 1 comment 2 replies
-
How did you retrieve your client ID and secret? Was the database owner authorizing you with limited scopes? If so, request new authorization from the one that created the database. When creating a brand new database, you receive a clientID and secret into your dexie-cloud.key file that has all the scopes including GLOBAL_WRITE but it is possible to create new clients using |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey folks,
I don't seem to have 'GLOBAL_WRITE' on my scopes for my Dexie Cloud user. I've come to this conclusion from trying to make a new client with this scope specified:
If I remove
GLOBAL_WRITE
this works. Though I can't verify all the scopes as they are truncated when I list clients on the command for my primary client/user.This appears to be a blocker for me as my webhook to upgrade the account type is being rejected with the following error message:
Not authorized to add or update users [object Object]
I'm generating a token as follows:
client_id and client_secret are the same as the one I'm using on the CLI. This is the code I use to upgrade the customer:
Anyone have any ideas what I am doing wrong here? Thank you!
Beta Was this translation helpful? Give feedback.
All reactions