Skip to content

Commit 1d35a2a

Browse files
committed
docs: new SSO flow 2
2 parents c048119 + 357b4de commit 1d35a2a

File tree

2 files changed

+4
-22
lines changed

2 files changed

+4
-22
lines changed

.github/openai-file-map.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
"hash": "db14b672ffed31d1a92a3bd29f74daefb7ebb44c734a72cd11417868f6deb2c0"
99
},
1010
"docs/API.md": {
11-
"file_id": "file-3ALFqypGXjfS3MsyZke1ca",
12-
"hash": "77b4633187816433d92bbd833277aee26e0ade2fc3b992655259a3ed0c2b5336"
11+
"file_id": "file-82mcMuu4vbXnztYRB2Dzra",
12+
"hash": "26397219d801ad2001b19763359824a0de1b9a312ef3b81a672f25bc9f309105"
1313
},
1414
"docs/apps.md": {
1515
"file_id": "file-NivELeCPkvDSNFSEf9CtvU",
@@ -40,8 +40,8 @@
4040
"hash": "db77d9a74df99a7c4c757a58ab7e22f93b6b4a6dba65d1575e1af585551bc3bd"
4141
},
4242
"docs/liquid.md": {
43-
"file_id": "file-KvBc6d8MWAWfi65y5xx6ZU",
44-
"hash": "ee962e1870d1b7998314a69a0ed29d7d3b93a70ebd48c4b56d7e52f4c66fa9f0"
43+
"file_id": "file-A7hfwXyE2N6VozYuyqa68G",
44+
"hash": "b5868f083235727c34cf25d15395f8522d7129b3ea4ac1fbaa94028e1f92f6b9"
4545
},
4646
"docs/organizations.md": {
4747
"file_id": "file-VVKqtp2vMBfLbp1XBzX4ad",

docs/API.md

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1068,24 +1068,6 @@ curl -XPOST https://shuffler.io/api/v1/orgs/{CURRENT_ORG_ID}/change -H "Authoriz
10681068
```
10691069

10701070
### Generate SSO login link
1071-
If you're using SSO, you can use the above API to also generate login link for your users who aren't already logged in. Please make **sure** to include the "mode" parameter as "login" in the request body.
1072-
1073-
```bash
1074-
curl -XPOST https://shuffler.io/api/v1/orgs/{CURRENT_ORG_ID}/generate_sso_login_link -H "Authorization: Bearer APIKEY" -d '{"org_id": "ORG TO CHANGE TO", "sso":true, "mode": "login"}'
1075-
```
1076-
1077-
Similarly, you can generate a link to allow your user to be connected to your organization as well by using the same request body but removing the "mode" parameter.
1078-
1079-
```bash
1080-
curl -XPOST https://shuffler.io/api/v1/orgs/{CURRENT_ORG_ID}/generate_sso_login_link -H "Authorization: Bearer APIKEY" -d '{"org_id": "ORG TO CHANGE TO", "sso":true}'
1081-
```
1082-
1083-
**Success response**
1084-
```json
1085-
{"success": true, "reason": "SSO_REDIRECT", "url": ""}
1086-
```
1087-
1088-
### Generate SSO Provision URL
10891071
Generate an SSO provision URL for user provisioning in partner organizations (For now. Please contact [email protected] if you would like to use this API). This endpoint allows admin users in partner organizations to provision new users or generate login URLs for existing users.
10901072

10911073
**Requirements:**

0 commit comments

Comments
 (0)