Tommie Gannert
618e18f259
Change cookie oidc_nonce to SameSite=None.
...
https://github.com/matrix-org/dendrite/issues/1297#issuecomment-1139357227
2022-05-27 09:58:31 +02:00
Tommie Gannert
46b4abd4cf
golangci-lint fixes.
2022-05-25 19:05:16 +02:00
Tommie Gannert
6de730b2ee
Fixes for SSO.
...
* Verbose logging.
* Cookie needs a path.
* Configurable callback URL.
* Various sanity checks.
2022-05-25 18:33:11 +02:00
Tommie Gannert
58233c790a
Split SSO into OAuth2 and OIDC. Add OIDC discovery.
...
GitHub implements OAuth2, but not OpenID Connect.
This means it needs more magic constants than those that can do OIDC
discovery (and where Userinfo is in OIDC-compatible.)
Fixes the HTTP client to have a timeout.
2022-05-25 01:17:08 +02:00
Tommie Gannert
a6b13a703d
Add automatic registration of SSO accounts.
2022-05-23 18:16:54 +02:00
Tommie Gannert
03cf5a5c08
Replace ThreePID lookups with the new SSO lookups.
2022-05-23 17:55:38 +02:00
Tommie Gannert
43989aa017
Support for m.login.sso.
...
This is forked from @anandv96's #1374 . Closes #1297 .
2022-05-23 16:25:29 +02:00