Add an authentication to your page using oauth2-proxy

Original link: https://www.bboy.app/2022/08/16/%E4%BD%BF%E7%94%A8oauth2-proxy%E7%BB%99%E4%BD%A0%E7%9A% 84%E9%A1%B5%E9%9D%A2%E6%B7%BB%E5%8A%A0%E4%B8%80%E4%B8%AA%E8%AE%A4%E8%AF%81/

20220816-1.webp

Introduction

There are many pages without login authentication, such as prometheus, skywalking, etc. At this time, you can use oauth2-proxy to add authentication. oauth2-proxy is essentially a reverse proxy server, you can directly put the service behind oauth2-proxy , or put oauth2-proxy after nginx to proxy to your service through it

This article is reprinted from: https://www.bboy.app/2022/08/16/%E4%BD%BF%E7%94%A8oauth2-proxy%E7%BB%99%E4%BD%A0%E7%9A% 84%E9%A1%B5%E9%9D%A2%E6%B7%BB%E5%8A%A0%E4%B8%80%E4%B8%AA%E8%AE%A4%E8%AF%81/
This site is for inclusion only, and the copyright belongs to the original author.

Leave a Comment