Documentation You are here: start » v » 2.0 » sso

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
v:2.0:sso [2019/05/01 02:03] – [The Details] adamv:2.0:sso [2019/05/01 02:04] – [Example 2: Automatically logging the user in on YOUR website] adam
Line 246: Line 246:
  
 Important things to note: Important things to note:
-  * The API token at the start of the script will need to be set to your store'API key, and similarly the URL to redirect to at the bottom of the script will also need to be updated.+  * The API token at the start of the script will need to be set to your [[v:2.0:store_secret|store'secret key]], and similarly the URL to redirect to at the bottom of the script will also need to be updated.
   * The check for the auth token and the timestamp act as the validation that this request is legitimately from the receipt - it's important that these checks are completed   * The check for the auth token and the timestamp act as the validation that this request is legitimately from the receipt - it's important that these checks are completed
   * Not included above is the actual code to log the user in on your website. This will be different depending on the authentication system you're using. Consult the documentation for your system for how to approach that.   * Not included above is the actual code to log the user in on your website. This will be different depending on the authentication system you're using. Consult the documentation for your system for how to approach that.

Site Tools