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

The browser provider needs to be prevented from entering the username during auto-fill for authentication. #1363

Open
cvirtucio opened this issue Nov 14, 2024 · 1 comment

Comments

@cvirtucio
Copy link

cvirtucio commented Nov 14, 2024

Some identity providers do not allow you to enter your username on the login page. Okta is one example (it only allows you to enter your password):

okta_example

We would like to have a means of preventing the browser provider from trying to enter the username on the login page when browser_autofill is set to true on "${HOME}/.saml2aws". We're open to ideas, but have created a PR that hopefully gives a rough idea of what we need.

@cvirtucio cvirtucio changed the title The browser provider needs to be prevented from entering the username during authentication. The browser provider needs to be prevented from entering the username during auto-fill for authentication. Nov 14, 2024
@cvirtucio
Copy link
Author

cvirtucio commented Nov 14, 2024

Hmm.. on a related note, we notice a problem with browser_autofill = true. If the user is already authenticated, the <input/> for the password doesn't appear, and the app gets stuck because it waits for the node.

Perhaps instead of disabling the username lookup, the provider can make a best effort attempt to enter each required field. Something like this.

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

No branches or pull requests

1 participant