You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This depends on issue #113 and is a follow-up to that issue, which only describes setting up a basic login screen that supports username+password only.
Once a basic username+password login screen is working, we should add SSO login support such that users can login via third-party auth providers like a Google account, Facebook, GitHub, Twitter, Apple, etc.
Fortunately, the Matrix SDK provides many authentication APIs as part of the MatrixAuth type. You can access this type via the client.matrix_auth() function.
Here is the current login flow in the sliding_sync.rs file:
status:format!("Failed to login as {}: {:?}",&cli.username, login_result),
});
bail!("Failed to login as {}: {login_result:?}",&cli.username)
}
Note that the first step is querying which login types are supported by the server, which you can then iterate over and inspect using the LoginType enum.
The text was updated successfully, but these errors were encountered:
This depends on issue #113 and is a follow-up to that issue, which only describes setting up a basic login screen that supports username+password only.
Once a basic username+password login screen is working, we should add SSO login support such that users can login via third-party auth providers like a Google account, Facebook, GitHub, Twitter, Apple, etc.
Fortunately, the Matrix SDK provides many authentication APIs as part of the
MatrixAuth
type. You can access this type via theclient.matrix_auth()
function.Here is the current login flow in the
sliding_sync.rs
file:robrix/src/sliding_sync.rs
Lines 79 to 106 in 106033d
Note that the first step is querying which login types are supported by the server, which you can then iterate over and inspect using the
LoginType
enum.The text was updated successfully, but these errors were encountered: