-
Notifications
You must be signed in to change notification settings - Fork 0
/
NodeJs Oauth.postman_collection.json
94 lines (94 loc) · 1.69 KB
/
NodeJs Oauth.postman_collection.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
{
"info": {
"_postman_id": "c21856f4-9245-4fa6-a7fd-c196a9a0c21d",
"name": "NodeJs Oauth",
"schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
},
"item": [
{
"name": "Okta OAuth",
"request": {
"auth": {
"type": "basic",
"basic": [
{
"key": "password",
"value": "",
"type": "string"
},
{
"key": "username",
"value": "{client id}",
"type": "string"
}
]
},
"method": "POST",
"header": [
{
"key": "Authorization",
"value": "client_id:0oan8ghs1B7eL6g6i5d6, client_secret:TEfe_9jLgBxH9EPsuWNfEsgqyNl00dAVzWa9UoLG",
"type": "text",
"disabled": true
}
],
"body": {
"mode": "urlencoded",
"urlencoded": [
{
"key": "grant_type",
"value": "client_credentials",
"type": "text"
},
{
"key": "scope",
"value": "{your_scope}",
"type": "text"
}
],
"options": {
"raw": {
"language": "json"
}
}
},
"url": {
"raw": "https://{YOUR_ORG_PATH}/oauth2/default/v1/token",
"protocol": "https",
"host": [
"{YOUR_ORG_PATH}"
],
"path": [
"oauth2",
"default",
"v1",
"token"
],
"query": [
{
"key": "grant_type",
"value": "client_credentials",
"disabled": true
},
{
"key": "scope",
"value": "profile",
"disabled": true
}
]
},
"description": "testing"
},
"response": []
},
{
"name": "New Request",
"request": {
"method": "GET",
"header": [],
"url": null
},
"response": []
}
]
}