Skip to content

CitizenLabDotCo/fake_sso

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fake_sso

Setup

To enable the fake SSO method locally, use the following steps:

  1. Add the following line to /etc/hosts:
127.0.0.1 host.docker.internal
  1. In the main repo, enable the fake_sso feature flag:
make feature-toggle feature=fake_sso enabled=true
  1. In this repo, install the dependencies:
npm i
  1. In this repo, create a file called back-secret.env in the env_files folder, and make sure it has the correct FAKE_SSO_JWT_SECRET. It should match the one in env_files/back-secret.env in the main repo.

  2. In both repos, run the docker compose file:

docker compose up

Issues

NOTE: If you have BASE_DEV_URI set for use with localtunnel in back-secrets.env, this can conflict with this implementation. Best to disable.

Other useful resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published