Skip to content

Latest commit

 

History

History
41 lines (22 loc) · 1.23 KB

README.md

File metadata and controls

41 lines (22 loc) · 1.23 KB

oauth-consumer-server

This project will help you retrieve tokens to use the Clever Cloud API.

How to retrieve your API Tokens?

If you wish to use Clever Cloud's API, you will need to create an oauth consumer in the console and to deploy an Application.

Deploy

With the Cli

Make sure you have installed Clever Tools.

  • Create our application: clever create --type maven yourOauthApp
  • Add a domain name: clever domain add yourdomain.cleverapps.io
  • Configure the URL of this application: clever env set APP_URL https://yourdomain.cleverapps.io/
  • Deploy the app clever deploy

Create your Consumer

To create a consumer, go in the console and click on Create an Oauth consume or just click here.

You will have to fill in some fields. The most important are the URLs that link the application previously deployed.

alt text

alt text

alt text

alt text

alt text

alt text

alt text

Now you should have your tokens and be ready to use our API.