Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Outline

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

$ cd nginx
$ ./setup.sh

Identity

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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.