Skip to content

Get/Set Allowed Login Method for Orgs#871

Merged
Michael Lee (michaellee1019) merged 6 commits into
mainfrom
ml/crud-allowed-login-method
Jun 30, 2026
Merged

Get/Set Allowed Login Method for Orgs#871
Michael Lee (michaellee1019) merged 6 commits into
mainfrom
ml/crud-allowed-login-method

Conversation

@michaellee1019

Copy link
Copy Markdown
Member

No description provided.

@michaellee1019 Michael Lee (michaellee1019) added the ready-for-protos add this when you want protos to compile on every commit label Jun 23, 2026
@github-actions github-actions Bot added the safe to test committer is a member of this org label Jun 23, 2026
@michaellee1019 Michael Lee (michaellee1019) changed the title Update app.proto Get/Set Allowed Login Method for Orgs Jun 23, 2026
@michaellee1019 Michael Lee (michaellee1019) added ready-for-protos add this when you want protos to compile on every commit and removed ready-for-protos add this when you want protos to compile on every commit labels Jun 23, 2026

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM % a code comment nit


message ListOrganizationsRequest {}

// LoginMethod is an interactive login mechanism an organization may allow.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
// LoginMethod is an interactive login mechanism an organization may allow.
// LoginMethod is an interactive login mechanism an organization may allow.
// The options are kept in sync with our list of configured identity providers:
// https://viam-prod.fusionauth.io/admin/identity-provider/

For posterity since there's a possibility we add more in the future (xbox lol):

Image

LOGIN_METHOD_APPLE = 4;
}

message AllowedLoginMethods {

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Oh and could we add a code comment that [] means that all login methods are allowed? To reflect the implementation in https://github.com/viamrobotics/app/pull/12543 and whichever other PRs

@viamrobotics-overwatch

Copy link
Copy Markdown

Hey Michael Lee (@michaellee1019) — this PR has been approved and CI has been green for 5+ business days. Ready to merge?

Auto-comment from overwatch. Will not re-nudge for 7 days.

@michaellee1019 Michael Lee (michaellee1019) merged commit 2295d31 into main Jun 30, 2026
1 check passed
@michaellee1019 Michael Lee (michaellee1019) deleted the ml/crud-allowed-login-method branch June 30, 2026 22:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

protos-compiled ready-for-protos add this when you want protos to compile on every commit safe to test committer is a member of this org

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants