File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
docs/dev-tools/build-plane-app Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ Authorization: Basic base64(client_id:client_secret)
6767
6868grant_type=client_credentials
6969&app_installation_id=APP_INSTALLATION_ID
70+ &scope=scopeA scopeB scopeC
7071```
7172
7273** Response:**
@@ -75,7 +76,8 @@ grant_type=client_credentials
7576{
7677 "access_token" : " pln_bot_xxxxxxxxxxxx" ,
7778 "token_type" : " Bearer" ,
78- "expires_in" : 86400
79+ "expires_in" : 86400 ,
80+ "scope" : " scopeA scopeB scopeC"
7981}
8082```
8183
@@ -116,6 +118,7 @@ Authorization: Basic base64(client_id:client_secret)
116118
117119grant_type=client_credentials
118120&app_installation_id=APP_INSTALLATION_ID
121+ &scope=scopeA scopeB scopeC
119122```
120123
121124---
@@ -148,6 +151,7 @@ GET https://api.plane.so/auth/o/authorize-app/
148151 &response_type=code
149152 &redirect_uri=https://your-app.com/callback
150153 &state=RANDOM_STATE_VALUE
154+ &scope=scopeA scopeB scopeC
151155```
152156
153157::: info
@@ -183,7 +187,8 @@ grant_type=authorization_code
183187 "access_token" : " pln_xxxxxxxxxxxx" ,
184188 "refresh_token" : " pln_refresh_xxxxxxxxxxxx" ,
185189 "token_type" : " Bearer" ,
186- "expires_in" : 86400
190+ "expires_in" : 86400 ,
191+ "scope" : " scopeA scopeB scopeC"
187192}
188193```
189194
You can’t perform that action at this time.
0 commit comments