-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathlocal.http
50 lines (39 loc) · 981 Bytes
/
local.http
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
@host = https://system-v1-fpms4l.zitadel.cloud
@TOKEN =
###
PUT {{host}}/admin/v1/settings/oidc
Authorization: Bearer {{TOKEN}}
{
"accessTokenLifetime": "604800s",
"idTokenLifetime": "604800s",
"refreshTokenIdleExpiration": "7776000s",
"refreshTokenExpiration": "2592000s"
}
###
POST {{host}}/v2beta/idp_intents
Authorization: Bearer {{TOKEN}}
x-zitadel-orgid: 233613364822053113
{
"idpId": "269237939718875401",
"urls": {
"successUrl": "https://zitadel-login-ui-v2.vercel.app/login/externalidp/success",
"failureUrl": "https://zitadel-login-ui-v2.vercel.app/login/externalidp/fail"
}
}
###
POST {{host}}/management/v1/policies/login/idps/_search
Authorization: Bearer {{TOKEN}}
x-zitadel-orgid: 269082740639402406
{
}
###
POST {{host}}/management/v1/policies/login/idps
Authorization: Bearer {{TOKEN}}
x-zitadel-orgid: 269082740639402406
{
"idpId": "269091189930592678",
"ownerType": "IDP_OWNER_TYPE_ORG"
}
###
GET {{host}}/idps/callback
###