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 on official instance (EU) does not work. #190

Closed
McBaumwolle opened this issue May 3, 2024 · 7 comments
Closed

Login on official instance (EU) does not work. #190

McBaumwolle opened this issue May 3, 2024 · 7 comments
Assignees
Labels
bug Something isn't working needs testing

Comments

@McBaumwolle
Copy link

After reading some other issues and trying some things, I am out of ideas. As I signed up on vault.bitwarden.eu I used the following link to get the urls:

https://vault.bitwarden.eu/api/config

But setting that up did now work, it returned:

$ flatpak run --command=/app/bin/goldwarden com.quexten.Goldwarden vault login --email mail@mail.net
Login failed: Could not login: could not pre-login: Not Found: 

The normal login (via GUI) opens a popup to enter the password but also does not work, on the first try it gave an error with HTML code, but I can't reproduce this. Login via client id and secret did not work as well.

I'd appreciate any help!

@quexten
Copy link
Owner

quexten commented May 3, 2024

Can you post the output of flatpak run --command=/app/bin/goldwarden com.quexten.Goldwarden config get-environment?

@McBaumwolle
Copy link
Author

McBaumwolle commented May 3, 2024

Of course, hold on.

$ flatpak run --command=/app/bin/goldwarden com.quexten.Goldwarden config get-environment
{"api":"https://vault.bitwarden.com/api","identity":"https://vault.bitwarden.com/identity","notifications":"https://notifications.bitwarden.com","vault":"https://vault.bitwarden.com"}

This was after a clean install, then I got the error message

Could not login via password: Bad Request:
{"message":"Traffic from your network looks unusual.
Connect to a different network or try again later. [Error Code 7]"}

so I tried the id/secret thing again.

$ flatpak run --command=/app/bin/goldwarden com.quexten.Goldwarden config set-api-url https://api.bitwarden.eu/
Done
$ flatpak run --command=/app/bin/goldwarden com.quexten.Goldwarden config set-identity-url https://identity.bitwarden.eu/
Done
8:~$ flatpak run --command=/app/bin/goldwarden com.quexten.Goldwarden config set-notifications-url https://notifications.bitwarden.eu/
Done

Then I got the Could not pre-login: Not Found: again. Trying it with the .com urls just in case gave me

Could not login via password: Bad Request:
{"error":"invalid_grant","error_description":"invalid_username_or_password","ErrorModel":{"Message":"Username or password is incorrect. Try again.","Object":"error"}}

so it is probably (maybe?) an issue with the .eu/ from my point of view. I hope this helps!

@quexten quexten added the bug Something isn't working label May 3, 2024
@quexten quexten self-assigned this May 4, 2024
@quexten
Copy link
Owner

quexten commented May 11, 2024

With vault.bitwarden.eu this worked in the latest main branch version for me. I think the bug is most likely just the client id / client secret, which should be fixed in #212

@quexten
Copy link
Owner

quexten commented May 11, 2024

Oh... my bad. Fix incoming soon, actually it was never updating the url properly when setting from the GUI.

@quexten
Copy link
Owner

quexten commented May 11, 2024

0.3.2 is out now, should be on FlatHub within a few hours. Please try again there.

@McBaumwolle
Copy link
Author

Thank you! Will try asap.

@McBaumwolle
Copy link
Author

Works perfect now, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working needs testing
Projects
None yet
Development

No branches or pull requests

2 participants