I’m trying to create my personal VPS Control panel to manage my digitalocean account (create, delete, manage, etc). And i’m using Personal Access Tokens (Generated by DO Control Panel) rather than create Developer Application (With Client ID & Secret to get token).
The Question is :
Thanks for answer
NB: I’m sorry if my english is bad :D
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Hi!
You only need to refresh tokens generated through the OAuth flow. The personal access token generated in the control panel doesn’t expire unless you revoke it.
If you’re just building something for personal use, using the personal access token is fine. In fact that’s what it’s there for. There’s no need to go through the OAuth dance if it’s just for you. Though if you are building something that others will be using, I’d encourage you to create a Developer Application. It will be a much better experience for your users when authenticating and it allows them finer grained control.
This comment has been deleted