This repository was archived by the owner on Apr 26, 2024. It is now read-only.
Commit 906dfaa
authored
Support non-OpenID compliant user info endpoints (#14753)
OpenID specifies the format of the user info endpoint and some
OAuth 2.0 IdPs do not follow it, e.g. NextCloud and Twitter.
This adds subject_template and picture_template options to the
default mapping provider for more flexibility in matching those user
info responses.1 parent db1cfe9 commit 906dfaa
File tree
3 files changed
+42
-8
lines changed- changelog.d
- docs/usage/configuration
- synapse/handlers
3 files changed
+42
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3098 | 3098 | | |
3099 | 3099 | | |
3100 | 3100 | | |
| 3101 | + | |
| 3102 | + | |
| 3103 | + | |
| 3104 | + | |
| 3105 | + | |
3101 | 3106 | | |
3102 | 3107 | | |
3103 | 3108 | | |
3104 | 3109 | | |
| 3110 | + | |
| 3111 | + | |
| 3112 | + | |
| 3113 | + | |
| 3114 | + | |
| 3115 | + | |
| 3116 | + | |
| 3117 | + | |
| 3118 | + | |
| 3119 | + | |
| 3120 | + | |
3105 | 3121 | | |
3106 | 3122 | | |
3107 | 3123 | | |
3108 | 3124 | | |
3109 | 3125 | | |
3110 | 3126 | | |
3111 | 3127 | | |
| 3128 | + | |
| 3129 | + | |
3112 | 3130 | | |
3113 | 3131 | | |
3114 | 3132 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1520 | 1520 | | |
1521 | 1521 | | |
1522 | 1522 | | |
1523 | | - | |
1524 | | - | |
| 1523 | + | |
| 1524 | + | |
1525 | 1525 | | |
1526 | 1526 | | |
1527 | 1527 | | |
| |||
1540 | 1540 | | |
1541 | 1541 | | |
1542 | 1542 | | |
1543 | | - | |
1544 | | - | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
| 1550 | + | |
| 1551 | + | |
| 1552 | + | |
| 1553 | + | |
| 1554 | + | |
| 1555 | + | |
| 1556 | + | |
| 1557 | + | |
| 1558 | + | |
| 1559 | + | |
1545 | 1560 | | |
1546 | 1561 | | |
1547 | 1562 | | |
| |||
1574 | 1589 | | |
1575 | 1590 | | |
1576 | 1591 | | |
1577 | | - | |
1578 | | - | |
| 1592 | + | |
| 1593 | + | |
1579 | 1594 | | |
1580 | 1595 | | |
1581 | 1596 | | |
| |||
1584 | 1599 | | |
1585 | 1600 | | |
1586 | 1601 | | |
1587 | | - | |
| 1602 | + | |
1588 | 1603 | | |
1589 | 1604 | | |
1590 | 1605 | | |
| |||
1615 | 1630 | | |
1616 | 1631 | | |
1617 | 1632 | | |
1618 | | - | |
| 1633 | + | |
1619 | 1634 | | |
1620 | 1635 | | |
1621 | 1636 | | |
| |||
0 commit comments