From a682740796177ee0dbc7e605282be7253e46e79a Mon Sep 17 00:00:00 2001 From: Sebastian Date: Sat, 25 Feb 2017 21:34:06 +0100 Subject: [PATCH] Access token docu fixed --- src/Squidex/Docs/security.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/Squidex/Docs/security.md b/src/Squidex/Docs/security.md index da0eb7b03..e1eb2432d 100644 --- a/src/Squidex/Docs/security.md +++ b/src/Squidex/Docs/security.md @@ -6,7 +6,8 @@ To retrieve an access token, the client id must make a request to the token url. -X POST '' -H 'Content-Type: application/x-www-form-urlencoded' -d 'grant_type=client_credentials& - client_id=[APP_NAME]:[CLIENT_ID]& - client_secret=[CLIENT_SECRET]' + client_id=[APP_NAME]:[CLIENT_ID]& + client_secret=[CLIENT_SECRET]& + scope=squidex-api' [APP_NAME] is the name of your app. You have to create a client to generate an access token. \ No newline at end of file