Skip to content

Creating Authorized Client

przemyslawlis edited this page Aug 29, 2018 · 3 revisions

Concerto Platform uses FOSOAuthServerBundle for client authorization and authentication.

To start using API you need to have authorized client that will be able to request access token.
You need to note down both your client public id and client secret, as you will later need it to obtain API access token.

Method #1

  1. Go to administration tab by clicking on Administration
  2. Click on API clients
  3. Click Add new

Method #2

You can use Symfony command to create a client:

php app/console oauth-server:client:create --redirect-uri=[enter your domain here] --grant-type=token --grant-type=client_credentials

When entered you should see output similar to below:

Added a new client with public id 1_66nqduu15n8cwg8404oskkoogw0o8kww84w0osokc000sg0k48, secret 3fyy0juf8t8gkwg0880gooswcc00cwkww8ck8w4040sow08occ
Clone this wiki locally