# Prometheus authentication with oauth2\_proxy

DevFeed: [Prometheus authentication with oauth2\_proxy](<https://devfeed.tech/articles/prometheus-authentication-with-oauth2-proxy-37829.md>)

Original publisher: [Read original article](<https://carlosbecker.com/posts/prometheus-authentication-with-oauth2_proxy/>)

Author: Carlos Alexandro Becker

Published: 2018-05-28T00:00:00Z

Content type: tutorial

Language: en

Sources: [Carlos Becker](<https://devfeed.tech/sources/carlos-becker.md>)

Topics: [Prometheus](<https://devfeed.tech/topics/prometheus.md>), [OAuth 2.0](<https://devfeed.tech/topics/oauth2.md>), [proxy](<https://devfeed.tech/topics/proxy.md>), [nginx](<https://devfeed.tech/topics/nginx.md>), [Grafana](<https://devfeed.tech/topics/grafana.md>), [Authentication](<https://devfeed.tech/topics/authentication.md>), [Docker Compose](<https://devfeed.tech/topics/docker-compose.md>), [rsync](<https://devfeed.tech/topics/rsync.md>), [GitHub](<https://devfeed.tech/topics/github.md>)

Tags: [authentication](<https://devfeed.tech/tags/authentication.md>), [docker-compose](<https://devfeed.tech/tags/docker-compose.md>), [github](<https://devfeed.tech/tags/github.md>), [grafana](<https://devfeed.tech/tags/grafana.md>), [nginx](<https://devfeed.tech/tags/nginx.md>), [oauth2](<https://devfeed.tech/tags/oauth2.md>), [prometheus](<https://devfeed.tech/tags/prometheus.md>), [proxy](<https://devfeed.tech/tags/proxy.md>), [rsync](<https://devfeed.tech/tags/rsync.md>)

## AI overview

A tutorial showing how to put Prometheus, Grafana, and Alertmanager behind nginx and oauth2_proxy, using GitHub authentication and a Docker Compose-based setup.

## Source excerpt

I wanted to set up a prometheus machine for me to monitor random stuff, but I was always postponing that because I didn't want to use SSH port-forwarding, firewalls, create a VPC and/or setup an OpenVPN server or anything like that.