# \[SOLVED\] How to mirror website with SSO/Oauth only (github/facebook/google login)?

**URL:** <https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470>\
**Category:** Discussion & Solutions\
**Tags:** solved\
**Created:** [October 31, 2019, 7:34pm UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470 "2019-10-31T19:34:12Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dedsec98](https://onehack.st/user_avatar/onehack.st/dedsec98/32/16528_2.png) [@Dedsec98](https://onehack.st/u/Dedsec98)\
**Post date:** [October 31, 2019, 7:34pm UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470/1 "2019-10-31T19:34:12Z")

</div>

Created a trial account for [https://www.interviewcake.com](https://www.interviewcake.com) and I want to copy content for offline view and for future use, tried using HTTrack and WebCopy but these tools just copy the entire site without login information.  
How to copy websites which have SSO(single sign-on) implementation only?  
Which configuration should I do to solve this issue?  
Please help me with this.  
Thank you in advance! 😁

---

<div class="post-metadata">

**Author:** ![Lavi\_Gupta](https://onehack.st/user_avatar/onehack.st/lavi_gupta/32/17705_2.png) [@Lavi\_Gupta](https://onehack.st/u/Lavi_Gupta)\
**Post date:** [October 31, 2019, 7:58pm UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470/2 "2019-10-31T19:58:38Z")

</div>

I don’t have solution but share with us if you are able to 🙂

---

<div class="post-metadata">

**Author:** ![Dedsec98](https://onehack.st/user_avatar/onehack.st/dedsec98/32/16528_2.png) [@Dedsec98](https://onehack.st/u/Dedsec98)\
**Post date:** [October 31, 2019, 8:10pm UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470/3 "2019-10-31T20:10:48Z")

</div>

Lets see, I’m also searching!

as of now, I got this information from HTTrack but it’s outdated and it is not SSO login

**Subject: Re: How to copy site with login?**  
**Author: Daniel**  
**Date: 01/19/2016 06:13**

I don’t know if you have figured this out or not. I spent several hours  
investigating this issue today and I was finally able to download my phpBB  
site login as the administrator. Here is what I did:

1. Using capture URL and filled in user name and password.
2. Login to the phpBB site and use “Export Cookies” extension in Firefox to  
export the cookies
3. Copy cookies.txt to the root directory
4. Copy and paste Browser ID from the “hts-post0” file in the root directory  
to the Set Options–\>Browser ID
5. Exclude log out address in the Set Options. If you are using phpBB, the  
rule should look like this

- [http://foobar.com/forum/ucp.php?mode=logout](http://foobar.com/forum/ucp.php?mode=logout)

1. Because I don’t intend to download the control panel, I also exclude the  
link to the control panel.
2. Finally, keep your Firefox open to the site you want to download

That’s it. Good luck to you!

---

<div class="post-metadata">

**Author:** ![Lihkin\_Captain](https://onehack.st/user_avatar/onehack.st/lihkin_captain/32/19270_2.png) [@Lihkin\_Captain](https://onehack.st/u/Lihkin_Captain)\
**Post date:** [November 1, 2019, 7:49am UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470/4 "2019-11-01T07:49:21Z")

</div>

If you are able to please share here too. I guess you can manually scrap page by page ( will take time but still … ) or make some script to do so. The udacity courses were scrapped in similar fashion so you can look into how they did it

---

<div class="post-metadata">

**Author:** ![Dedsec98](https://onehack.st/user_avatar/onehack.st/dedsec98/32/16528_2.png) [@Dedsec98](https://onehack.st/u/Dedsec98)\
**Post date:** [November 1, 2019, 8:36am UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470/5 "2019-11-01T08:36:38Z")

</div>

Do you have any references for scraping?  
after a google search, I found octoparse software.

---

<div class="post-metadata">

**Author:** ![TheJoker](https://onehack.st/user_avatar/onehack.st/thejoker/32/22660_2.png) [@TheJoker](https://onehack.st/u/TheJoker)\
**Post date:** [November 3, 2019, 7:13am UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470/7 "2019-11-03T07:13:54Z")

</div>

> <https://stackoverflow.com/questions/48285971/scraping-data-from-website-with-a-login-page>

> <https://stackoverflow.com/questions/4997147/scraping-from-a-website-that-requires-a-login>

> <https://stackoverflow.com/questions/49199712/scraping-a-website-that-may-require-login-jsoup>

[https://stackoverflow.com/questions/34461633/scraping-a-web-page-with-java-script-using-r](https://stackoverflow.com/questions/34461633/scraping-a-web-page-with-java-script-using-r)

> <https://stackoverflow.com/questions/44751542/exposing-a-web-site-through-web-services>

> <https://stackoverflow.com/questions/1955180/retrieving-html-pages-from-a-3rd-party-log-in-website-with-asp-net/1955262#1955262>

---

<div class="post-metadata">

**Author:** ![Dedsec98](https://onehack.st/user_avatar/onehack.st/dedsec98/32/16528_2.png) [@Dedsec98](https://onehack.st/u/Dedsec98)\
**Post date:** [November 4, 2019, 3:20pm UTC](https://onehack.st/t/solved-how-to-mirror-website-with-sso-oauth-only-github-facebook-google-login/61470/8 "2019-11-04T15:20:47Z")

</div>

Thank you @TheJoker!😁
