Closed famedly-bot closed 1 year ago
In GitLab by @agraven on Aug 11, 2022, 06:53
requested review from @jdreichmann
In GitLab by @agraven on Aug 11, 2022, 08:38
cc @nikzen @jdreichmann
In GitLab by @jdreichmann on Aug 11, 2022, 10:50
Commented on src/stagehandler.ts line 224
As the client needs to be able to find the redirect URL out of this, this needs to include the idp ID with a displayName, analog to synapse:
"identity_providers": [
{
"id": "oidc-famedly",
"name": "Famedly IDP"
}
]
In GitLab by @agraven on Aug 11, 2022, 11:30
Commented on src/stagehandler.ts line 224
changed this line in version 2 of the diff
In GitLab by @agraven on Aug 11, 2022, 11:30
added 1 commit
In GitLab by @agraven on Aug 11, 2022, 11:30
Commented on src/stagehandler.ts line 224
It now outputs
{
"flows": [
{
"type": "com.famedly.login.msc2835"
},
{
"type": "m.login.sso",
"identity_providers": [
{
"id": "foo",
"name": "foo"
}
]
}
]
}
Where foo
is the configured ID. I hope that suffices.
In GitLab by @agraven on Aug 11, 2022, 13:00
added 1 commit
In GitLab by @jdreichmann on Aug 11, 2022, 13:59
approved this merge request
In GitLab by @agraven on Aug 11, 2022, 06:53
Merges agraven/get-compat -> main
Advertise m.login.sso in GET /login if it's enabled
Closes #24