Skip to content

Commit

Permalink
Merge pull request #10 from MarcoAigner/sso_fix
Browse files Browse the repository at this point in the history
update the readme to fix sso
  • Loading branch information
kirinnee committed Aug 10, 2024
2 parents 1b98c24 + e47d8a2 commit 92f22c5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,10 @@ This is done using `Firefox` Browser. Other browsers do not have `Copy All` feat

1. Login as usual to [https://learning.oreilly.com/](https://learning.oreilly.com/)
2. Open the developer tools with `F12`
3. Go to `Network` tab in the developer tools
4. Access the profile page in the browser: [https://learning.oreilly.com/profile/](https://learning.oreilly.com/)
5. In the `Network` tab, click on the request to `/profile/`. (should be the first few)
6. Click on the `Cookies` tab in the request information
7. Right-click on any values under `Request Cookies` text and choose `Copy All`
8. Paste this into any file. For this demo, we will assume you paste it into `cookie.json`.
3. Access the profile page in the browser: [https://learning.oreilly.com/profile/](https://learning.oreilly.com/)
4. Enter the command in the console:
`opy(JSON.stringify(document.cookie.split(';').map(c => c.split('=')).map(i => [i[0].trim(), i[1].trim()]).reduce((r, i) => {r[i[0]] = i[1]; return r;}, {})))`
5. Paste this into any file. For this demo, we will assume you paste it into `cookie.json`.

Here is an example of how a `cookie.json` looks like. You do not need every field, this is just to show the syntax:

Expand Down

0 comments on commit 92f22c5

Please sign in to comment.