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

Logging in via the browser does not log in #700

Closed
fkeet opened this issue Jul 31, 2021 · 10 comments
Closed

Logging in via the browser does not log in #700

fkeet opened this issue Jul 31, 2021 · 10 comments

Comments

@fkeet
Copy link

fkeet commented Jul 31, 2021

Describe the bug
From the main Excilence window the login with pathofexile.com button opens a browser window, but authorizing in the browser window does not authorize the app.

To Reproduce
1 Open Exilence Next
2 Click 'Log in with pathofexile.com' button with 'PC' selected
3 In browser window click 'Authorize'
4 Nothing happens

Expected behavior
I expect Exilence Next to now continue with authorization

Version
v0.5.0

Additional context
Using Firefox 90.0.2

@sbsrnt
Copy link
Collaborator

sbsrnt commented Aug 1, 2021

What is your OS? Linux & MacOS are not supported yet

Edit: make sure you have popouts enabled on poe website

Edit 2: To those that still have an issue - see #700 (comment)

@fkeet
Copy link
Author

fkeet commented Aug 2, 2021 via email

@sbsrnt
Copy link
Collaborator

sbsrnt commented Aug 3, 2021

Seems like this is affecting few users and another thing that comes to my mind is maybe your OS / browser / antivirus are blocking custom protocols (in our case it's exilence)

The last thing that comes to my mind is that we probably didn't register custom protocols properly for windows users which may be covered in #692

@fkeet
Copy link
Author

fkeet commented Aug 3, 2021 via email

@oplosthee
Copy link

What is your OS? Linux & MacOS are not supported yet

Edit: make sure you have popouts enabled on poe website

Is Linux support something that is planned for the future? I remember having used Exilence during the previous league locally, which seemed to work fine, but like you mentioned the API authentication doesn't work at the moment.

Or if there are instructions available on how to set this up on Linux, that would be great too! Thanks for your work!

@elmo667
Copy link

elmo667 commented Aug 8, 2021

Happens on Linux too, used to work fine in previous versions (will have to revert for now).

The problem is that Exilence Next does not register the next.exilence.app protocol with the OS/Firefox so the redirect to the local exilence fails. If we can find out where that is done in the code for windows, it might be possible to self-add the protocol handler to the MIME types. Just registering the binary as the handler doesnt seem to work. Firefox is not cooperating.

Alternatively: would it be possible to re-add the old manual POESESSIONID process as a fallback until unix support is sorted out?

@sbsrnt
Copy link
Collaborator

sbsrnt commented Aug 8, 2021

#692

@elmo667
Copy link

elmo667 commented Aug 9, 2021

thanks for this! I pulled the master repo after the PR got merged. I figured out the manual steps required at the moment to make it work:

Create ~/.local/share/applications/ExilenceNext.desktop with:

[Desktop Entry]
Name=Exilence Next
Exec=<ABSOLUTE PATH TO ExilenceNext>/ExilenceNextApp/dist/appimage %u
Icon=<ABSOLUTE PATH TO ExilenceNext>/ExilenceNextApp/public/icon.ico
Terminal=false
Type=Application
MimeType=x-scheme-handler/exilence;

Run:
update-mime-database ~/.local/share/mime
update-desktop-database ~/.local/share/applications

@sbsrnt
Copy link
Collaborator

sbsrnt commented Aug 13, 2021

Issue should be fixed with 0.5.4 but feel free to get the latest here https://github.com/viktorgullmark/exilence-next/releases

For those that want to have the issue fixed before release that may potentially fix the issue and are on windows

  1. Type in windows search regedit
    image

  2. Navigate to this path Computer\HKEY_CLASSES_ROOT\exilence
    image

  3. Select exilence
    image

  4. Double click on
    image

  5. add value URL:exilence and click OK
    image

  6. right click anywhere in the empty space and create a new string
    image

  7. type URL Protocol
    image

  8. If you try to authorize and get 401 - relaunch Exilence

@sbsrnt
Copy link
Collaborator

sbsrnt commented Aug 13, 2021

Most likely fixed in 0.5.4

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

4 participants