oauth2_proxy icon indicating copy to clipboard operation
oauth2_proxy copied to clipboard

is there a way to whitelist an IP or IP range ?

Open mirkovukadinovic opened this issue 7 years ago • 2 comments

as in the subject, we have a self hosted Jira instance which is secured with oauth2_proxy, we would like to setup Jira-Bugsnag integration which requires whitelisting of Bugsnag IP's....

mirkovukadinovic avatar Jan 26 '18 09:01 mirkovukadinovic

I'm not 100% familiar with this project, but could you apply the IP whitelisting in NGinx, to prevent the users from even getting to the oauth login page?

xtrasimplicity avatar Jan 29 '18 06:01 xtrasimplicity

@mirkovukadinovic , I have done exactly this in the past, but we don't handle this in Oauth2, we handle this in Nginx. Nginx uses a set of whitelist IPs to bypass the Oauth2 requirement. Does that help?

soudaburger avatar May 23 '18 01:05 soudaburger