diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 21196aa..f9b7076 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -85,25 +85,28 @@ development with the following: For Url: - `http://localhost:5000/` + `http://localhost:5000/auth/myusa/callback` For Redirect uri: `http://localhost:5000/auth/myusa/callback` -2. Generate a set of keys, `MYUSA_KEY` and `MYUSA_SECRET`, and reference them in +2. Under `Select the API Scopes that your Application will use`: select `Email + Address`. + +3. Generate a set of keys, `MYUSA_KEY` and `MYUSA_SECRET`, and reference them in `.env` -3. Edit the method `is_gsa` and its invocation in +4. Edit the method `is_gsa` and its invocation in `/app/controllers/auth_controller` to accomodate non-`gsa.gov` email addresses locally. ```ruby # Invocation - if is_gsa?(auth_email) + if is_permitted?(auth_email) # Method - def is_gsa?(auth_email) + def is_permitted?(auth_email) /gsa.gov/.match(auth_email) end ```