Skip to content
Jake edited this page Jul 5, 2016 · 2 revisions

Here at sunshine, we completely understand why you don't want to share your email and password, but still want to use the service. So, we have made a tutorial on how to get your own auth token without going through anybody.

  1. Go to http://oc.tc/login, and enter your email and password. However, do NOT click log in.
  2. Now you are going to navigate to the developer tools section of your browser.
    On most browsers you can hit F12, but this tutorial will be done via chrome.
  3. Once you are at a page that looks somewhat like this: this go to the bottom of your screen where it has the little magnifier glass. Directly to the right of it should be a tab called Resources. Click that.
  4. Next, you will see something like this: enter image description here Drag the little thing above console down, so you cant see the console part. It should now look like this : enter image description here
  5. Now you are finally going to login. Keep this bottom part up, though, you will be needing it shortly.
  6. After logging in, navigate to the bottom where, on the left part, it should say cookies. Click that, then click oc.tc. You should now see something similar to this:enter image description here (I have blurred out my tokens because they are private).
  7. In the table, there should be a cookie named _ProjectAres_sess. The value of this cookie is the auth token that you can use in the API. Make sure to write or copy it down, because that's how you are going to be making API calls from now on!

Clone this wiki locally