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

Can't get the steps described working to generate a deviceId #1

Closed
james-bw opened this issue Mar 24, 2020 · 4 comments
Closed

Can't get the steps described working to generate a deviceId #1

james-bw opened this issue Mar 24, 2020 · 4 comments

Comments

@james-bw
Copy link

First thanks for putting this research together!

I've been trying all day to work out the generation of the deviceId, via Postman. Your instructions are:

Authenticate yourself with an fortniteIOSGameClient token with your preferred method of authentication.

Call https://account-public-service-prod.ol.epicgames.com/account/api/public/account/{accountId}/deviceAuth with method POST. Your response should look something like:

{
  "deviceId": "...",
  "accountId": "...",
  "secret": "...",
  "userAgent": "Any HTTP Client/0.1",
}

So "Authenticate yourself with an fortniteIOSGameClient" - I go to the table later in the document and pull out:

Client Name	Client ID	Secret
fortniteIOSGameClient	3446cd72694c4a4485d81b77adbb2141	9209d4a5e25a457fb9b07489d313b41a

Using these I login via OAuth:
image

I then reuse the client ID in the URL for the deviceAuth (X below), and use the generated OAuth token as a bearer token in the authentication of the second request:

image

The result is:

Sorry your login does not posses the permissions 'account:public:account:deviceAuths CREATE' needed to perform the requested operation

What am I doing wrong?

@MixV2
Copy link
Owner

MixV2 commented Mar 26, 2020 via email

@james-bw
Copy link
Author

It didn't help, but thanks for the response.

I'm going to work through the example code in the fortnite-basic-api, as that's now working. I'll post an update here when I can.

@MixV2
Copy link
Owner

MixV2 commented Mar 27, 2020

Alright, let me know how it goes

@MixV2
Copy link
Owner

MixV2 commented Mar 29, 2020

Going to assume this is closed now, let me know if you still need any help with this

@MixV2 MixV2 closed this as completed Mar 29, 2020
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

2 participants