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

change login placeholders for remote authenticator #8519

Merged
merged 5 commits into from
Jan 23, 2025

Conversation

guy-har
Copy link
Contributor

@guy-har guy-har commented Jan 20, 2025

No description provided.

@guy-har guy-har requested a review from Isan-Rivkin January 20, 2025 11:29
Copy link

github-actions bot commented Jan 20, 2025

♻️ PR Preview 52c5a61 has been successfully destroyed since this PR has been closed.

🤖 By surge-preview

Copy link

E2E Test Results - Quickstart

11 passed

Copy link

E2E Test Results - DynamoDB Local - Local Block Adapter

13 passed

@guy-har guy-har force-pushed the feature/login-placeholders branch from cd05dd1 to c75dc57 Compare January 20, 2025 12:16
@guy-har guy-har linked an issue Jan 20, 2025 that may be closed by this pull request
@guy-har guy-har added the include-changelog PR description should be included in next release changelog label Jan 20, 2025
Copy link
Contributor

@nadavsteindler nadavsteindler left a comment

Choose a reason for hiding this comment

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

There is no clear description what this is meant to do, neither in this PR or in the linked issue #8520

Please provide some documentation what this change is and why we want to make this change

@guy-har
Copy link
Contributor Author

guy-har commented Jan 20, 2025

@nadavsteindler the information is in the duplicate issue, I'll add it to this issue as well

@nadavsteindler
Copy link
Contributor

@nadavsteindler the information is in the duplicate issue, I'll add it to this issue as well

No as long as one of the issues has the details- thanks

RBAC: &c.Auth.UIConfig.RBAC,
loginConfig := &apigen.LoginConfig{
RBAC: &c.Auth.UIConfig.RBAC,
// TODO(Guys): should we consider the authentication api configuration as well
Copy link
Contributor

@nadavsteindler nadavsteindler Jan 20, 2025

Choose a reason for hiding this comment

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

Open an issue for this TODO?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Leftovers, sorry, removing

api/swagger.yml Outdated
description: |
Placeholder text to display in the username field of the login form.
type: string
password_placeholder:
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: (none-blocker!)

Suggested change
password_placeholder:
password_placeholder_label:

Copy link
Contributor Author

Choose a reason for hiding this comment

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

changed to password_ui_placeholder

api/swagger.yml Outdated
@@ -923,6 +923,14 @@ components:
with an external auth service.
type: string
enum: [none, simplified, external]
username_placeholder:
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: (none-blocker!)

Suggested change
username_placeholder:
username_placeholder_label:

Comment on lines 27 to 28
const usernamePlaceholder = loginConfig.username_placeholder ? "Username" : "Access Key ID";
const passwordPlaceholder = loginConfig.password_placeholder ? "Password" : "Secret Access Key";
Copy link
Contributor

Choose a reason for hiding this comment

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

fix?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

embarrassing 😞
Thanks!

@guy-har guy-har requested a review from Isan-Rivkin January 21, 2025 10:12

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@guy-har guy-har force-pushed the feature/login-placeholders branch from c305eb1 to 375730a Compare January 22, 2025 10:21
@guy-har guy-har enabled auto-merge (squash) January 22, 2025 10:22
@guy-har guy-har force-pushed the feature/login-placeholders branch from 375730a to 52c5a61 Compare January 22, 2025 14:25
@guy-har guy-har merged commit f0ee280 into master Jan 23, 2025
41 checks passed
@guy-har guy-har deleted the feature/login-placeholders branch January 23, 2025 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include-changelog PR description should be included in next release changelog
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Change login field with SSO/LDAP configured
3 participants