These forums have been archived and are now read-only.

The new forums are live and can be found at https://forums.eveonline.com/

EVE Technology Lab

 
  • Topic is locked indefinitely.
 

Crest Authentication

Author
Kaljack Joh'neeh
Airfoil Delivery
#1 - 2016-03-04 22:36:55 UTC  |  Edited by: Kaljack Joh'neeh
Hello,

I have some coding experience, but very little experience with anything dealing with authentication. I was wondering if anyone has a clear solution for accessing the authenticated CREST api on a local program (as in, a python terminal script/application rather than a website). I've looked around but I still have no idea how to do this - the "make your own app" page on the developer resources webpage prompts for a callback url, which is sort of irrelevant with a local program.

Any suggestions?
NUBIARN
Brutal Ballerinas
#2 - 2016-03-05 11:19:58 UTC  |  Edited by: NUBIARN
I have just done this in c#, run once webautheticationbroker which will return a unique string for your app, this callback uri is required for the eve register page. when calling the initial web call to eve sso you can replace https://3rdpartysite.com/callback with the returned webauthenticationbroker uri.


https://login.eveonline.com/oauth/authorize/?response_type=code&redirect_uri=https://3rdpartysite.com/callback&client_id=3rdpartyClientId&scope=&state=uniquestate123




     public string CreateCallBackURL()
        {
            // Create a callback URL for posting on the eve app website when registering app
           return WebAuthenticationBroker.GetCurrentApplicationCallbackUri().ToString();       
        }