-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🏗️ Support external auth provider login. #80
Conversation
f7bfe20
to
3e6876f
Compare
3e6876f
to
6595cdb
Compare
c847a96
to
017d6a4
Compare
017d6a4
to
11ac687
Compare
a80fb7c
to
3e971ff
Compare
loginFlows = append(loginFlows, flow{Type: authtypes.LoginTypeDummy}) | ||
loginFlows = append(loginFlows, flow{Type: authtypes.LoginTypeEmail}) | ||
loginFlows = append(loginFlows, flow{Type: authtypes.LoginTypeJwt}) | ||
loginFlows = append(loginFlows, flow{Type: authtypes.LoginTypeGeodome}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Danieloni1 why appending Geodome twice?
@@ -72,6 +72,8 @@ type Login struct { | |||
// Thus a pointer is needed to differentiate between the two | |||
InitialDisplayName *string `json:"initial_device_display_name"` | |||
DeviceID *string `json:"device_id"` | |||
|
|||
ExternalAuthResp interface{} `json:"external_auth_response"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Danieloni1 do we need this as part of UserInteractive
?
AccessToken string `json:"access_token"` | ||
HomeServer spec.ServerName `json:"home_server"` | ||
DeviceID string `json:"device_id"` | ||
ExternalAuthResp interface{} `json:"external_auth_response,omitempty"` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
external_response
No description provided.