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.
 

Learning to use SSO for first time

Author
Hybrid Sasen
School of Applied Knowledge
Caldari State
#1 - 2016-04-24 16:01:57 UTC
I know this is an idiot question but as i cant work it out or find an answer I am going to have to just ask.

I am getting the message
{"error":"invalid_client","error_description":"Unknown client"}

So what should the client id actually be as it is not obvious or explained in the Application setup pert of dev site.
Jobe McJoberson
Consolidated Mining Network
#2 - 2016-04-24 19:51:10 UTC
You should check out the recently updated Third-Party Developer Documentation, here is the relevant section to the problem you are having.

And here's a quote from the page:

Quote:
Authorization HTTP header: This is the string “Basic” plus the string {client_id}:{client_secret} Base64 encoded

NOTE: It is very important to make sure there are no spaces or newline characters in the string that is being Base64 encoded. If in doubt, try to Base64 encode these sample values and compare to the one below.

Example values:
client_id = 3rdparty_clientid
client_secret=jkfopwkmif90e0womkepowe9irkjo3p9mkfwe

Concatenated to become: 3rdparty_clientid:jkfopwkmif90e0womkepowe9irkjo3p9mkfwe

Resulting in Base64-encoded Authorization header
Authorization: Basic M3JkcGFydHlfY2xpZW50aWQ6amtmb3B3a21pZjkwZTB3b21rZXBvd2U5aXJram8zcDlta2Z3ZQ==


Your client_id is a series of letters and numbers and can be found on your developer page for the app you're working on. and your client_secret is the secret code they give you on the same page.

Hope this helps!
Hybrid Sasen
School of Applied Knowledge
Caldari State
#3 - 2016-04-24 20:51:32 UTC
Ah realize my mistake now. Much appreciated.