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

How can i get password #4

ewranus opened this issue Dec 2, 2017 · 3 comments


Copy link

commented Dec 2, 2017

curl -X GET --header 'Accept: application/json' --header 'Authorization: Basic cmlvdDpqd2V3bVU4WmNZeGJYeHhlUk9MRWRB' 'https://localhost:50207/lol-login/v1/session'

How can i find "Authorization: Basic ??????" and port number


This comment has been minimized.

Copy link

commented Dec 2, 2017

Take a look at

const header = `Basic ${btoa(`riot:${password}`)}`;


This comment has been minimized.

Copy link

commented Dec 2, 2017

The values are present as process arguments and can also be found in a file in your League of Legends directory called lockfile that gets created when you start the client.

The file has the following format:

  • port: 50236
  • password: Y_L2o7ZRXvBekSDA6c8PEg

@Pupix Pupix closed this Dec 2, 2017

@Pupix Pupix added the question label Dec 2, 2017


This comment has been minimized.

Copy link

commented Jul 7, 2018

afaik the password is no longer a process argument.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
4 participants
You can’t perform that action at this time.