# DigitalOcean Authorization Code Grant Ref [OAuth API Reference Documentation](https://docs.digitalocean.com/reference/api/oauth-api/) Ref [How To Use OAuth Authentication with DigitalOcean as a User or Developer](https://www.digitalocean.com/community/tutorials/how-to-use-oauth-authentication-with-digitalocean-as-a-user-or-developer) ## Prerequisites 1. Register OAuth Application ``` Name: oauth2-rs-demo Homepage URL: http://oauth2-rs.lvh.me/ Description: oauth2-rs-demo Callback URL: http://oauth2-rs.lvh.me/auth/digitalocean/callback ``` ``` Client ID: "x*64" Client Secret: "x*64" ```