You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Go to administration tab by clicking on Administration
Click on API clients
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