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.
 

What to send EVE Online after a successful extraction of SSO tokens

First post
Author
Althaia Xylona
Xylona Technologies
#1 - 2017-01-05 16:43:17 UTC
In EVErsions, a desktop applications I will release for all you pilots out there, I successfully walk through the authentication process for my application for a given character as described in the SSO documentation. I send an application ID and secret key, get an authorization code, and use that to finally receive an access and refresh token which I can now store in the database that my application creates.

After doing this, which takes like 2 seconds, the webpage where the user authorized my application for accessing scopes, is still waiting for a response. My application does not give any and just closes the socket trough which it asked for all the information, resulting in the EVE Online website warning the user that localhost did not respond.

What is the actual response EVE Online is waiting for so that it can report to the user that everything was successful? Should I present a "success" webpage to them or?
Blacksmoke16
Resilience.
#2 - 2017-01-05 19:30:41 UTC
Once you get the user refresh_token and token you can just redirect them to your homepage or something. Nothing else to do once you get that info.
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#3 - 2017-01-05 23:58:10 UTC
Althaia Xylona wrote:
In EVErsions, a desktop applications I will release for all you pilots out there, I successfully walk through the authentication process for my application for a given character as described in the SSO documentation. I send an application ID and secret key, get an authorization code, and use that to finally receive an access and refresh token which I can now store in the database that my application creates.

After doing this, which takes like 2 seconds, the webpage where the user authorized my application for accessing scopes, is still waiting for a response. My application does not give any and just closes the socket trough which it asked for all the information, resulting in the EVE Online website warning the user that localhost did not respond.

What is the actual response EVE Online is waiting for so that it can report to the user that everything was successful? Should I present a "success" webpage to them or?



Yes, present a success page to them. saying something like 'Thanks for auth. you can now close this'.

Maybe also use JS to close the page?

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

Althaia Xylona
Xylona Technologies
#4 - 2017-01-06 08:47:56 UTC
Thanks guys, then presenting a small thank you page is what I will do!