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

Version 0.1.11 crashes on HTTP basic auth login #36

Closed
vossim opened this issue Dec 18, 2018 · 8 comments
Closed

Version 0.1.11 crashes on HTTP basic auth login #36

vossim opened this issue Dec 18, 2018 · 8 comments
Labels
bug Something isn't working

Comments

@vossim
Copy link

vossim commented Dec 18, 2018

I've just tried the 0.1.11 version, and wasn't able to login. The application kept starting and crashing, starting, crashing, and so on.

I then removed .config/teams-for-linux, after this, the application started. After filling in my username, it just crashed again.

This is probably related to the login method our AD uses, in a normal browser an HTTP basic auth is used, so the issue could be related to this?

@IsmaelMartinez
Copy link
Owner

Hi @vossim, could you try 0.1.9? There was quite a lot of moving code around at 0.1.11 so I might have broke something... Ignore version 0.1.10, it was a half release.

The app restarts if you don't put the right username/password so we don't persist the username and password login screen. Try with the full email as username.

@vossim
Copy link
Author

vossim commented Dec 18, 2018

Hi @IsmaelMartinez, version 0.1.9 worked like a charm (was running it before I upgraded today)

@IsmaelMartinez
Copy link
Owner

I will see if I can have a look at it Friday, otherwise it might need to wait after the drinking and eating days are over (in my case mid January). Apologies about that. Feel free to have a look at the code and try to fix it if you have the time. It's probably the login event callback not been in the context (this, that, self JavaScript stuff)

@vossim
Copy link
Author

vossim commented Dec 18, 2018

No worries, I I'll just revert back to 0.1.9 in the meantime. I might have some spare time on Thursday or Friday, haven't looked into electron yet and my JavaScript-fu is not up to snuff, but if it's something simple I might find it.

@IsmaelMartinez IsmaelMartinez added the bug Something isn't working label Dec 19, 2018
@IsmaelMartinez
Copy link
Owner

I think I found what it is... I might not be able to thoroughly test it test it until the end of the week or early January (due holidays). The solution should be in branch 0.1.12 but I haven't been able to fully test it.

@vossim
Copy link
Author

vossim commented Dec 19, 2018

I was able to resolve it by setting the initial value of this parameter to true: https://github.com/IsmaelMartinez/teams-for-linux/blob/v0.1.11/app/index.js#L16. Haven't gotten around to creating a PR though.

@IsmaelMartinez
Copy link
Owner

yep, I did move the code around a bit in the 0.1.12. I will try to release it at some point today.

@IsmaelMartinez
Copy link
Owner

merged into master and release 0.1.12 created.

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

No branches or pull requests

2 participants