-
Notifications
You must be signed in to change notification settings - Fork 55
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
Revalidate API token #334
Comments
Hey, I have the same issue, was there a solution for this. Seems to be cached somewhere, uninstalling the plugin and reinstalling doesn't fix |
It seems to be cached in the dataset somehow, creating a new one resolved the issue |
This plugin seems half baked. There is no info in the UI explaining the signed url opinion and if checked, you cannot revoke your choice. Then you'll have to try to remove all related code everywhere to try to reset, but then you'll get invalid credentials error. Creating a new dataset is not an option for me so for now, no MUX it is. |
I agree and I am sorry to read this, I do get your frustrations. I was rather lucky for this to happen to me on a small site. I did the usual, deleted npm, and removed package-lock.j.son. To my dismay it is cached in the data set. So I created a new one. Solution:
It allowed me to reset. Draw back is you need to then populate the new data set. |
As I found out here, the trick is to run this CLI command: |
Thank you both @Lehmons and @HumidBrains for the feedback and sorry for the wait and frustrating experience. We're still considering ways of making this flow more robust, but we've made the following improvements:
And to clarify, the cached key is private. The I'm closing this issue, feel free to comment and tag me if there's something else I'm missing - thank you again 🙏 |
I have to revalidate my API token after I have entered it on the initial start up. I have been trying to show the document in the Sanity Studio as it's described here in the readme
I have also tried deleting the studio and setting it up fresh however the keys seem to be stored in cached somewhere and I cannot get that start up screen again. Any information here would be great.
The text was updated successfully, but these errors were encountered: