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 revision Previous revision
Last revision Both sides next revision
v:2.0:sso [2019/05/01 02:03]
adam [The Details]
v:2.0:sso [2019/05/01 02:04]
adam [Example 2: Automatically logging the user in on YOUR website]
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'​s ​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'​s ​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