Skip to content

Latest commit

 

History

History
42 lines (25 loc) · 1.09 KB

README.md

File metadata and controls

42 lines (25 loc) · 1.09 KB

Frontend Nginx Dev Config

Install dependencies

Mac (via Homebrew)

First install Homebrew.

Then:

$ cd nginx
$ brew bundle # install deps from the Brewfile

Other operating systems

You need to install:

Configure Nginx with SSL

  1. Run nginx/setup.sh
  2. To setup Identity follow the Identity README

Access the Site

Visit https://m.thegulocal.com/.

Testing signed in behaviour

  1. Sign in to https://profile.code.dev-theguardian.com/ on a separate tab/window

    • Third party cookies must be enabled in your browser for this to work
  2. Back on frontend under https://m.thegulocal.com set a cookie with the name GU_U with any value on the m.thegulocal.com domain and refresh the page

  3. You should now be signed in!

    • You should see the header change to show My Account instead of Sign in
    • In local storage you should see a key gu.access_token and gu.id_token with the values of the tokens you are signed in with