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

add auto login for Bard and Bing #397

Merged
merged 4 commits into from
May 17, 2023
Merged

add auto login for Bard and Bing #397

merged 4 commits into from
May 17, 2023

Conversation

YungPingXu
Copy link
Contributor

@YungPingXu YungPingXu commented May 12, 2023

The Google Bard authentication and Microsoft Bing authentication need to manually config and paste the cookie into json file, so I use selenium package to add auto login for Google Bard authentication and Microsoft Bing authentication.
Hope this feature will be useful.
The difference between my feature and the original project is that you just need to type your account, password and the chrome browser version into .env.
By doing this, my implementation will automatically get the cookie we need.
Note that your chrome browser need to update to latest version (i.e. 113) or you may get an error.

@Zero6992
Copy link
Owner

Hi, nice wok!

I left some comment, and I noticed that if your account has 2FA enabled, it seems to result in login failure. Maybe you can consider making this feature in optional setting, and keep the option to manually input cookies to .env file

@YungPingXu
Copy link
Contributor Author

Hi, nice wok!

I left some comment, and I noticed that if your account has 2FA enabled, it seems to result in login failure. Maybe you can consider making this feature in optional setting, and keep the option to manually input cookies to .env file

I have put the auto login feature into optional setting.

@Zero6992
Copy link
Owner

thanks

@Zero6992 Zero6992 merged commit a3a12da into Zero6992:main May 17, 2023
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.

None yet

2 participants