-
Notifications
You must be signed in to change notification settings - Fork 66
Replace MyUSA auth with hmac proxy #65
Comments
Well, there's two ideas here. :-) First, and my preference in this case, I'd like to get 18F/hmac_authentication_gem#1 reviewed and merged so that I can release a new The second option is to run an instance of 18F/hmacproxy on the same host (maybe launched by the app process itself), configured for In both cases, there would need to be a seam where the app could get the raw HTTP request object from the standard library, i.e. from |
Moving task from #42 here. When |
Happy to help if needed, and to share the secret key when ready. The |
This sounds fine to me. Can someone explain the benefit of hmac proxy over what we have now? |
It wouldn't be an HMAC proxy (in the sense of running an instance of 18F/hmacproxy), but it would involve integrating the It isn't urgent by any means at this point if MyUSA OAuth2 support is already integrated. But it would allow SSO across participating *.18f.gov properties, if that's desirable in this case. The oauth2_proxy would do the authentication, and then pass a HMAC-signed request to the app. You can configure middleware with the For example, under the current oauth2_proxy configuration, anyone at @gsa.gov can access https://hub.18f.gov/, https://team-api.18f.gov/api/, and https://pages-staging.18f.gov (and pages-internal, pages-releases). If we wanted to broadly change access to these apps, or give specific outside users access to a range of apps, we can do it at the proxy rather than within each app. Within an individual app, you could still do some easy matching against an email address pattern or a whitelist if you wanted to restrict access further. It may not be of benefit if you don't feel the need, but it's an option if you do. |
This is no longer relevant, we moved to GitHub auth. Closing |
Mike Bland has created a gem that will allow us to authenticate by proxying incoming traffic. Because we have auth in place, this isn't essential.
hmac authentication
gemhmac authentication
is added, consolidate live site on to a single host,dolores.18f.gov
The text was updated successfully, but these errors were encountered: