Skip to content
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

Closed
wants to merge 4 commits into from

Conversation

Danieloni1
Copy link

No description provided.

@Danieloni1 Danieloni1 force-pushed the daniel/dev-1065-geodome-type-login branch from f7bfe20 to 3e6876f Compare December 24, 2023 16:19
@Danieloni1 Danieloni1 requested a review from danpe December 24, 2023 16:23
@Danieloni1 Danieloni1 force-pushed the daniel/dev-1065-geodome-type-login branch from 3e6876f to 6595cdb Compare December 24, 2023 16:27
@Danieloni1 Danieloni1 force-pushed the daniel/dev-1065-geodome-type-login branch 3 times, most recently from c847a96 to 017d6a4 Compare December 25, 2023 16:08
@Danieloni1 Danieloni1 force-pushed the daniel/dev-1065-geodome-type-login branch from 017d6a4 to 11ac687 Compare December 26, 2023 15:07
@Danieloni1 Danieloni1 force-pushed the daniel/dev-1065-geodome-type-login branch from a80fb7c to 3e971ff Compare December 27, 2023 11:06
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})
Copy link
Collaborator

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"`
Copy link
Collaborator

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"`
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

external_response

@Danieloni1 Danieloni1 marked this pull request as draft December 27, 2023 12:40
@Danieloni1 Danieloni1 closed this Feb 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants