OAuth2-Proxy Setup
This doc is about OAuth2-proxy Setup
Pre-reads
Pre-requisites
All DIGIT services are packaged using helm charts Installing Helm
kubectl is a CLI to connect to the Kubernetes cluster from your machine
Install Visualstudio IDE Code for better code/configuration editing capabilities
Git
Oauth2-proxy Setup
Clone the following DIGIT-DevOps repo (If not already done as part of Infra setup), you may need to install git and then run git clone on your machine.
git clone -b release https://github.com/egovernments/DIGIT-DevOps
Add below configs into your environment file
Create a GitHub OAuth app and add the below secrets into the environment secrets file
GitHub OAuth App Creation
Follow the GitHub OAuth app
Homepage URL:- mentions your domain name eg. https://<your_domain_name>
Authorization callback URL:- https://<your_domain_name>/oauth2/callback
Deploy the oauth2-proxy via Jenkins deployment job or go land deployer