cds-snc / url-shortener

An API written in Python that shortens URLs
MIT License
4 stars 1 forks source link

API: safe-list allowed GC email address suffixes #346

Closed patheard closed 1 year ago

patheard commented 1 year ago

Summary

Currently we allow the following email address suffixes:

canada.ca,gc.ca,cds-snc.ca

As a result, only the following emails can login:

somebody@canada.ca
somebody@gc.ca
somebody@cds-snc.ca

We will need to expand this out to support departmental email addresses like @tbs-sct.gc.ca.