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

[login screen] unable to login with regular account credentials #85

Closed
dignifiedquire opened this issue May 29, 2019 · 13 comments
Closed
Labels

Comments

@dignifiedquire
Copy link
Member

I have a test account (alice@librechat.net) which works fine in all other settings, but I am not able to login with it anymore on the latest master

11:39:49.303 ❤️ ERROR events.callbackSwift():104 - network: Cannot login as alice@librechat.net.

Response from w017f238.kasserver.com: Unsupported authentication mechanism.

Is the error I get

@dignifiedquire
Copy link
Member Author

I have a build with the new rust-core, exact some issue, also tried different accounts

@r10s
Copy link
Member

r10s commented May 29, 2019

@nayooti so, as it happens with the c-core as well as with the rust-core, maybe some credentials are not passed correctly to the core?

@nayooti
Copy link
Contributor

nayooti commented May 30, 2019

@r10s I will check this out by tomorrow.

@dignifiedquire
Copy link
Member Author

looking at the logs I suspect it is trying oauth, even though it shouldn't, but not sure

@nayooti
Copy link
Contributor

nayooti commented Jun 1, 2019

I found potential source of bug and it kinda seem to work now.

Currently I can login at

  • gmail
  • outlook
    accounts without using oAuth2.

But it's hanging for a couple minutes at 92%:
Generating keypair with 2048 bits, e=65537

And Web.de-accounts seem to fail. Any idea why? @r10s
Other Email-providers I should try?

@dignifiedquire
Copy link
Member Author

  • the hanging is likely due to a debug build of the crypto libs being triggered (need to enforce release builds always)
  • can you push what you have, then I can test with the accounts that I have here

@nayooti
Copy link
Contributor

nayooti commented Jun 2, 2019

Apparently fixing regular login caused oAuth not working anymore. I will look into this.

Also canceling an ongoing login does not work properly at the current state.

@nayooti
Copy link
Contributor

nayooti commented Jun 2, 2019

@dignifiedquire Any chance that Rust-core affects oAuth2 login?

I cloned pre-Rust as seperated project - oAuth2-login worked fine.
I copied that pre-Rust AccountSetupController into current project (that uses Rust-Core) - oAuth2 fails.

[edit]:
I took the latest AccountSetupController where I fixed regular login and copied into the pre-Rest-Project.
Both oAuth2-login and regular-login work!
Also regular login is super-quick (5 seconds) while on the Rust-Build it takes over a minute.

@dignifiedquire
Copy link
Member Author

dignifiedquire commented Jun 2, 2019 via email

@dignifiedquire
Copy link
Member Author

if you can push the fix I can work on fixing it

@nayooti
Copy link
Contributor

nayooti commented Jun 2, 2019

@dignifiedquire I blew my built today unfortunately right before I had to leave. Will recover tomorrow morning and push at around 10am.

@nayooti
Copy link
Contributor

nayooti commented Jun 3, 2019

You can checkout Branch
regularLoginFix

Here oAuth-login and regular login both work under non-rust-core.
Both login types take about 5 seconds to complete.

@nayooti
Copy link
Contributor

nayooti commented Jun 3, 2019

I hope you don't mind, if I close this issue and create new Issue for this.

@nayooti nayooti closed this as completed Jun 3, 2019
@r10s r10s added bug and removed bug (critical) labels Oct 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants