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.
 

Creating a new application

First post First post
Author
Jon Dekker
Dekker Corporation
#1 - 2015-03-23 02:56:21 UTC
Just a few beginner questions:

I'm just starting my first application and started filling out the info for creating a new application, but the process was just a little confusing. For the Callback URL, is this a redirect URL that users will go back to after logging in? How is it used? Can I put in a domain wildcard, or is it restricted to a specifically defined URL? For instance, if a user was on a specific page, logged in, and after authentication it takes them back to where they were?

If I add an application, will it be listed anywhere or can I keep it private while in development?

What are the details about throttling? I've delt with many ajax services, if I'm testing my app or people are constantly refreshing their data, do I need to worry about having my app banned? I'll just be using Crest, I don't see the need for xml api.

Do you allow us to cache CREST results on our own server?

Is there an IRC or Slack channel where developers hang out?

Thanks!
CCP FoxFour
C C P
C C P Alliance
#2 - 2015-03-23 14:33:48 UTC
Jon Dekker wrote:
Just a few beginner questions:

I'm just starting my first application and started filling out the info for creating a new application, but the process was just a little confusing. For the Callback URL, is this a redirect URL that users will go back to after logging in? How is it used? Can I put in a domain wildcard, or is it restricted to a specifically defined URL? For instance, if a user was on a specific page, logged in, and after authentication it takes them back to where they were?

If I add an application, will it be listed anywhere or can I keep it private while in development?

What are the details about throttling? I've delt with many ajax services, if I'm testing my app or people are constantly refreshing their data, do I need to worry about having my app banned? I'll just be using Crest, I don't see the need for xml api.

Do you allow us to cache CREST results on our own server?

Is there an IRC or Slack channel where developers hang out?

Thanks!


Replied to your EVE Mail with details for the Slack channel. :)

The callback URL is used to verify where we redirect the user. When you link someone to our SSO you have to supply a full redirect URL as to where the user will be redirected. That could be example.com/callback and if you supplied example.com for your application we will verify that example.com is the root domain of the callback. Pretty sure anyways. :)

It will only be listed to you.

Yes you can cache CREST calls. Please do cache. We supply a max-age information in the header, cache for that length of time. :)

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Jon Dekker
Dekker Corporation
#3 - 2015-03-23 18:05:38 UTC
Very cool, thanks for the quick response too!
Steve Ronuken
Fuzzwork Enterprises
Vote Steve Ronuken for CSM
#4 - 2015-03-23 19:54:09 UTC
I /think/ the callback url has to be an exact match.

(Mostly because I half remember it not working when it doesn't match)

What you can do, however, is use the state to work out where to send them back to. Set the state when you redirect them to the login site, and use that to set where to send them back to. (mime64 encoding, or similar)

Woo! CSM XI!

Fuzzwork Enterprises

Twitter: @fuzzysteve on Twitter

CCP FoxFour
C C P
C C P Alliance
#5 - 2015-03-23 20:32:02 UTC
Steve Ronuken wrote:
I /think/ the callback url has to be an exact match.

(Mostly because I half remember it not working when it doesn't match)

What you can do, however, is use the state to work out where to send them back to. Set the state when you redirect them to the login site, and use that to set where to send them back to. (mime64 encoding, or similar)


Ah yes, I think the URL has to but query parameters will get passes through as well. Or something like that. I was using it to differentiate Sisi/TQ at one point.

@CCP_FoxFour // Technical Designer // Team Tech Co

Third-party developer? Check out the official developers site for dev blogs, resources, and more.

Jon Dekker
Dekker Corporation
#6 - 2015-03-24 18:29:18 UTC
Ahh, yes that makes sense. Cool!! Thanks FoxFour & Steve!