rivernews / appl-tracky-spa

An Application Tracking System to help job finders ease their out-of-control spreadsheet use tracking every job application record.
https://appl-tracky.shaungc.com
1 stars 0 forks source link

Register github page website to subdomain #40

Closed rivernews closed 4 years ago

rivernews commented 4 years ago

Had to do the following. Perhaps not all of them are necessary, but if we do all these, it works, so. The github page doc on setting up github page for subdomain is pretty lack of detail or it's outdated. They didn't even mention the CNAME file.

rivernews commented 4 years ago

Also have to update Google Oath callback url: https://console.developers.google.com/apis/credentials/oauthclient/732988498848-vuhd6g61bnlqe372i3l5pbpnerteu6na.apps.googleusercontent.com?project=732988498848.

Frontend got error when trying to do social auth: "Not a valid origin for the client: https://appl-tracky.shaungc.com has not been whitelisted for client ID 732988498848-vuhd6g61bnlqe372i3l5pbpnerteu6na.apps.googleusercontent.com. Please go to https://console.developers.google.com/ and whitelist this origin for your project's client ID."

rivernews commented 4 years ago

After adding the new subdomain to backend django CORS whitelist, the error is gone now.