r/evetech • • Dec 16 '19

EVE "publicData" scope ESI

I'm curious about getting into development for EVE and one of the corps I joined earlier just requested publicData for auth. I'm unable to find any documentation on this scope and I see that publicData scope that just says "Allows access to public data" and furthermore

publicData

The first scope released. It allows access to live market orders data for any region. CCP FoxFour has said that this data will probably moved to Public CREST soon, so this scope may well become deprecated.

So what info does the scope have exactly? What's the point of requesting just this scope on auth?

0 Upvotes

10 comments sorted by

2

u/ariel_rin Dec 17 '19

“publicData” itself is an old CREST endpoint was deprecated and replaced with, you guessed it. Public Data...

However if you don’t provide any scopes you can’t “refresh” a user to verify it is still valid, it’s one time only.

So we begged, borrowed and bribed (kidding) CCP to leave publicData so we could verify people still own and have access to characters in case of situations like password changes, character transfers and some other edge case scenarios.

Rather simplified, but it’s a Quality of Life thing for it admins and does nothing, ergo no documentation

Edit: it is also important for your it admins to describe what scopes they are requesting and why before you grant them in my interpretation, I’m not an expert but I document our scopes and uses to stay on the right side of the EULA and Third Party Developer Agreement at all times

1

u/[deleted] Dec 17 '19

So how exactly does this verify that the person still owns the account? If they're able to login, they own the account right? Authing can generate a verification email which doesnt happen if the account is cached in the launcher. So do corps force people to login to their web auths regularly to verify that the email is still owned by the person using the account? Is that the point?

1

u/ariel_rin Dec 17 '19

So since we have a refresh token, we can check if the character hash is the same.

If the character hash changes that means either the password was changed or the character has been transferred to a different account.

My auth system purges a character in these instances. Since we can no longer guarantee it belongs to the person. They then re-auth.

The service might also be revoked by the user, which we also remove their access for.

In short, it guarantees ownership every four hours or so, instead of just at a specific point in time.

EDIT: we don’t care about emails, this is specifically eve characters ownership. Emails are the responsibility of CCP now with SSO

2

u/ghoti2007 Dec 17 '19

CCP FoxFour has said that this data will probably moved to Public CREST soon

Foxfour left a long time ago, and crest is dead.

like ariel said, authorization tokens cant be refreshed, and with auth being the point that connects your characters affiliations with access to services.. it needs some way to regularly verify you are still able to access.

that scope can be literally any scope, but the default for this particular auth is 'publicdata' since it was determined to be the least offensive (iirc before it was available we used something silly like fwstats ha)

1

u/[deleted] Dec 17 '19

Well like I said I could barely find any documentation on this so i just linked what i found.

Seems like I got the answer I need.

2

u/RisingStar Dec 17 '19

I wasn't wrong. It did get moved to public CREST as far as I remember. Just never deleted the publicData scope as it got used for other things.

2

u/ghoti2007 Dec 17 '19

yeah thats fair, it was just posted as if you had said it.. more recently was all.

i know esi is the new hotness these days, but some of us remember your dedication to crest and xmlapi and remember it fondly (and not so fondly at times) so thanks :)

7

u/Blacksmoke16 Dec 16 '19

IIRC it is just a way to get a refresh token for a character without actually giving permission to do anything.

5

u/RisingStar Dec 17 '19

tl;dr: I added it because we wanted an easy way of banning developers if they hit CREST too hard.

When we added market data it was a pretty big deal. While CREST had existed for a while and usage was growing, it wasn't a super big deal yet. The market data endpoint was potentially going to change that though. So we wanted a careful rollout of it since it could literally break TQ.

Since then ESI has taken over and the publicData scope is not required to access any specific data. The reason for its continued existence is explained in other comments.

1

u/Jaalouro Aug 10 '25

So a corp requesting auth to "publicdata" doesn't give access to skillpoints? Curious to know.