Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 1 post(s) |
Althaia Xylona
Cavs Rookies
1
|
Posted - 2017.01.05 16:43:17 -
[1] - Quote
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.
37
|
Posted - 2017.01.05 19:30:41 -
[2] - Quote
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
6354
|
Posted - 2017.01.05 23:58:10 -
[3] - Quote
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
Cavs Rookies
1
|
Posted - 2017.01.06 08:47:56 -
[4] - Quote
Thanks guys, then presenting a small thank you page is what I will do! |
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |