Skip to content

Commit

Permalink
Forgot to update README
Browse files Browse the repository at this point in the history
  • Loading branch information
kirklholub committed Dec 29, 2023
1 parent 4e03775 commit 3546ee9
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 34 deletions.
18 changes: 13 additions & 5 deletions README
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@ Welcome to ssop, a Single Sign On Portal which uses login.gov as an Identity Ver

1) Clone ssop repo
2) Change directory ssop
3) Create a virtual environment named venv: python3.8 -m venv venv
NOTE: Python 3.6 not being supported WRT crypto -- no point in staring at 3.7
3) Create a virtual environment named venv: python3.9 -m venv venv
NOTE: Python 3.6 not being supported WRT crypto
4) Upgrade pip to latest and then pip install -r requirements.txt

5) If needed, use https://developers.login.gov to establish a sandbox environment, create a team (yourself and collaborators if desired), then create and app.
6) Update LOGINDOTGOV_ related parameters in ssop/settings.py with results from 5 or from a configuration management system (CMS).
7) Update JWT_ related parameters as needed or from a CMS.
7) Update JWT_ related parameters in ssop/settings.py as needed or from a CMS.
8) Update account management parameters in ssop/settings.py as desired
9) Update SSO, AUTH_SAML_*, EMAIL, LOGGING, SSOP_DEPLOY*, DATABASE, possibly other variables in ssop/settings.py as required and/or desired.
9) Deploy AWS resources as needed

See the images in the screenshot folder to aid with LOGINDOTGOV settings. Also, a final user attributes screen can be seen.

Expand All @@ -19,19 +22,23 @@ Files in etc/nginx and etc/systemd/system demonstrate a full webserver with back
Once configured enable the services:
sudo systemctl enable ssop_gunicorn.socket
sudo systemctl enable ssop_gunicorn.service
sudo systemclt enable ssop_account_review.service

And start them:
sudo systemctl start ssop_gunicorn.socket
sudo systemctl start ssop_gunicorn.service

sudo systemclt start ssop_account_review.service

After any python code changes
sudo systemctl restart ssop_gunicorn.service

The SELinux section is very applicable during this phase

It works best to use an incognito window. Otherwise the only way to truly logout is close the browser. Using an incognito windows allows for a fresh session for each login test.

Only tested with Chrome.
Tested mostly with Chrome.
Also appears to Firefox.
Safari and CAC stil do not play well together

-------------------------------------------

Expand Down Expand Up @@ -90,3 +97,4 @@ SELINUX content and user types:

Kirk Holub
kirk.l.holub@noaa.gov
29 Dec 2023
30 changes: 1 addition & 29 deletions blmcontacts.txt
Original file line number Diff line number Diff line change
@@ -1,29 +1 @@
david.tomalak@noaa.gov,David,Tomalak
woody.roberts@noaa.gov,Woody,Roberts
nnauslar@blm.gov,Nnauslar,Nnauslar
chaskell@blm.gov,Chaskell,Chaskell
cfdierking@alaska.edu,Cfdierking,Cfdierking
basil.newmerzhycky@usda.gov,Basil,Newmerzhycky
dborsum@blm.gov,Dborsum,Dborsum
rkrohn@blm.gov,Rkrohn,Rkrohn
eugene.berger@noaa.gov,Eugene,Berger
dan.nietfeld@noaa.gov,Dan,Nietfeld
kirk.l.holub@noaa.gov,Kirk,Holub
jebb.q.stewart@noaa.gov,Jebb,Stewart
scott.nahman@noaa.gov,Scott,Nahman
curtis.alexader@noaa.gov,Curtis,Alexader
bunnypfau@gmail.com,Bunnypfau,Bunnypfau
mvrencur@gmail.com,Mvrencur,Mvrencur
bernadette.pfau@noaa.gov,Bernadette,Pfau
michael.vrencur@noaa.gov,Michael,Vrencur
none@domain.tld,#None,None
tomalakd@msn.com,tomalakd,tomalakd
first.last@domain.tld,newFirst,Last
linus.kamb@noaa.gov,Linus,Kamb
jamie.r.rhome@noaa.gov,Jamie,Rhome
wallace.hogsett@noaa.gov,Wallace,Hogsett
taylor.trogdon@noaa.gov,Taylor,Trogdon
michael.j.brennan@noaa.gov,Michael,Brennan
pablo.santos@noaa.gov,Pablo,Santos
nathan.hardin@noaa.gov,Nathan,Hardin
nreimer@blm.gov,Nreimer,Nreimer

0 comments on commit 3546ee9

Please sign in to comment.