Commit bd5670c
committed
fix(docs): group the app reference by client id, not by provider
One OAuth app is one client id, and more than one connector can register
against it. `manageengine-sdp` reads `ZOHO_CLIENT_ID`
(`lib/auth/connectors/providers.ts:1267`) while being its own provider
entry, so grouping by provider left it off the Zoho section entirely: a
self-hoster following that page registered one redirect URI, missed
`/api/auth/oauth2/callback/manageengine-sdp`, and that connector's connect
flow then failed redirect-URI validation. Same class as the Salesforce
sandbox URI, from the same wrong assumption that a capability id maps to
exactly one provider.
Connectors sharing an app's client id are now read from the registrations
themselves, which is where the runtime decides which credentials a
connector uses, and attached to that app. Additive rather than a
replacement: Instagram, Salesforce, Shopify and Trello run custom flows
that declare no `clientId: env.X` line, so a pure registration scrape would
have dropped four apps off the page.
Also generalized the admin-consent warning, which named only `microsoft-ad`
while Teams and Planner both request `Group.ReadWrite.All`. It now points at
Microsoft's reference rather than implying every `.All` permission needs an
admin, since `Sites.Read.All` does not.1 parent 644f965 commit bd5670c
3 files changed
Lines changed: 77 additions & 6 deletions
File tree
- apps/docs/content/docs/platform/self-hosting
- scripts
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
57 | 57 | | |
58 | 58 | | |
59 | 59 | | |
60 | | - | |
| 60 | + | |
61 | 61 | | |
62 | 62 | | |
63 | 63 | | |
| |||
386 | 386 | | |
387 | 387 | | |
388 | 388 | | |
| 389 | + | |
| 390 | + | |
389 | 391 | | |
390 | 392 | | |
391 | | - | |
| 393 | + | |
| 394 | + | |
392 | 395 | | |
393 | 396 | | |
394 | 397 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
1081 | 1082 | | |
1082 | 1083 | | |
1083 | 1084 | | |
| 1085 | + | |
| 1086 | + | |
| 1087 | + | |
| 1088 | + | |
| 1089 | + | |
| 1090 | + | |
| 1091 | + | |
| 1092 | + | |
| 1093 | + | |
| 1094 | + | |
| 1095 | + | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
1084 | 1099 | | |
1085 | 1100 | | |
1086 | 1101 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
55 | 56 | | |
56 | 57 | | |
57 | 58 | | |
| |||
1536 | 1537 | | |
1537 | 1538 | | |
1538 | 1539 | | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
| 1573 | + | |
| 1574 | + | |
| 1575 | + | |
1539 | 1576 | | |
1540 | 1577 | | |
1541 | 1578 | | |
| |||
1604 | 1641 | | |
1605 | 1642 | | |
1606 | 1643 | | |
1607 | | - | |
| 1644 | + | |
1608 | 1645 | | |
| 1646 | + | |
1609 | 1647 | | |
1610 | 1648 | | |
1611 | 1649 | | |
| |||
1615 | 1653 | | |
1616 | 1654 | | |
1617 | 1655 | | |
1618 | | - | |
| 1656 | + | |
| 1657 | + | |
| 1658 | + | |
| 1659 | + | |
| 1660 | + | |
| 1661 | + | |
| 1662 | + | |
| 1663 | + | |
| 1664 | + | |
| 1665 | + | |
| 1666 | + | |
| 1667 | + | |
| 1668 | + | |
| 1669 | + | |
| 1670 | + | |
| 1671 | + | |
1619 | 1672 | | |
1620 | 1673 | | |
1621 | 1674 | | |
1622 | | - | |
| 1675 | + | |
1623 | 1676 | | |
1624 | 1677 | | |
1625 | 1678 | | |
1626 | 1679 | | |
1627 | 1680 | | |
1628 | 1681 | | |
1629 | | - | |
| 1682 | + | |
1630 | 1683 | | |
1631 | 1684 | | |
1632 | 1685 | | |
| |||
0 commit comments