Skip to content
This repository has been archived by the owner on Dec 8, 2017. It is now read-only.

Commit

Permalink
Update oauth2_proxy settings for MyUSA
Browse files Browse the repository at this point in the history
Also, keeps the _oauthproxy cookie name, which now defaults to _oauth2_proxy
in the latest release.
  • Loading branch information
Mike Bland committed Jun 16, 2015
1 parent a90950f commit 540e282
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions deploy/usr/local/18f/etc/oauth2_proxy.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -47,5 +47,14 @@ cookie_expire = "168h"
cookie_refresh = "144h"
cookie_https_only = true

## To maintain backward compatibility so users won't have to refresh.
cookie_key = "_oauthproxy"

## MyUSA settings until staging.my.usa.gov change committed
login_url = "https://staging.18f.gov/oauth/authorize"
redeem_url = "https://staging.18f.gov/oauth/token"
profile_url = "https://staging.18f.gov/api/v1/profile"
validate_url = "https://staging.18f.gov/api/v1/tokeninfo"

provider = "myusa"
pass_access_token = true

0 comments on commit 540e282

Please sign in to comment.