This repository was archived by the owner on Oct 10, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Expand file tree Collapse file tree 1 file changed +5
-13
lines changed Original file line number Diff line number Diff line change @@ -452,16 +452,16 @@ <h4>Client Credential Grant Type</h4>
452
452
</ div >
453
453
< div class ="row ">
454
454
< div class ="col-6 ">
455
- < h5 > Request Attributes </ h5 >
456
- < p > < code > POST https://api.workpath.co/oauth/authorize </ code > </ p >
455
+ < h5 > Request Parameters </ h5 >
456
+ < p > < code > POST https://api.workpath.co/oauth/token </ code > </ p >
457
457
< table class ="table table-sm table-borderless ">
458
458
< tbody >
459
459
< tr >
460
460
< td >
461
461
< p class ="cell "> < code class ="attribute "> grant_type</ code > < code > string</ code > </ p >
462
462
< p class ="small "> required</ p >
463
463
</ td >
464
- < td > OAuth grant type. Value should be < code > authorization_code </ code > .</ td >
464
+ < td > OAuth grant type. Value should be < code > client_credentials </ code > .</ td >
465
465
</ tr >
466
466
< tr >
467
467
< td >
@@ -479,16 +479,8 @@ <h5>Request Attributes</h5>
479
479
</ table >
480
480
</ div >
481
481
< div class ="col-6 ">
482
- < h5 > Example Request JSON</ h5 >
483
- < pre >
484
- < code >
485
- {
486
- "grant_type": "client_credentials",
487
- "client_id": "4ab41347-e24f-475d-b1da-bce37ae31af3",
488
- "client_secret": "SX0LGy6z!Pa~,V-!A:az"
489
- }
490
- </ code >
491
- </ pre >
482
+ < h5 > Example URL-Encoded String</ h5 >
483
+ < p > < code > grant_type=client_credentials&client_id=4ab41347-e24f-475d-b1da-bce37ae31af3&client_secret=SX0LGy6z!Pa~%2CV-!A%3Aaz</ code > </ p >
492
484
</ div >
493
485
</ div >
494
486
< div class ="row ">
You can’t perform that action at this time.
0 commit comments