From 2b30925163c1840f8a46a70df8beb961daacbb06 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Mon, 25 Nov 2019 18:42:51 +0100 Subject: [PATCH] Login screens: doc for sign in --- docs/signin.md | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/docs/signin.md b/docs/signin.md index 93e73ab09b..245ea444f6 100644 --- a/docs/signin.md +++ b/docs/signin.md @@ -132,9 +132,23 @@ We get the credentials (200) Not supported yet in RiotX -### SSO +### Login with SSO -TODO +> curl -X GET 'https://homeserver.with.sso/_matrix/client/r0/login' + +200 + +```json +{ + "flows": [ + { + "type": "m.login.sso" + } + ] +} +``` + +In this case, the user can click on "Sign in with SSO" and the web screen will be displayed on the page `https://homeserver.with.sso/_matrix/static/client/login/` and the credentials will be passed back to the native code through the JS bridge ## Reset password