From 3d03f65b08581e14e29ca0ddaa43726d92ff2823 Mon Sep 17 00:00:00 2001 From: ishaan-jaff Date: Wed, 14 Feb 2024 15:07:03 -0800 Subject: [PATCH] (docs) generic sso --- docs/my-website/docs/proxy/ui.md | 27 +++++++++++++++++++++++++-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/docs/my-website/docs/proxy/ui.md b/docs/my-website/docs/proxy/ui.md index cc62ce096..c98c85f2d 100644 --- a/docs/my-website/docs/proxy/ui.md +++ b/docs/my-website/docs/proxy/ui.md @@ -37,12 +37,12 @@ http://0.0.0.0:8000/ui # /ui ``` -## Get Admin UI Link on Swagger +### 3. Get Admin UI Link on Swagger Your Proxy Swagger is available on the root of the Proxy: e.g.: `http://localhost:4000/` -## Change default username + password +### 4. Change default username + password Set the following in your .env on the Proxy @@ -111,6 +111,29 @@ MICROSOFT_TENANT="5a39737 + + + +A generic OAuth client that can be used to quickly create support for any OAuth provider with close to no code + +**Required .env variables on your Proxy** +```shell + +GENERIC_CLIENT_ID = "******" +GENERIC_CLIENT_SECRET = "G*******" +GENERIC_AUTHORIZATION_ENDPOINT = "http://localhost:9090/auth" +GENERIC_TOKEN_ENDPOINT = "http://localhost:9090/token" +GENERIC_USERINFO_ENDPOINT = "http://localhost:9090/me" +``` + +- Set Redirect URI, if your provider requires it + - Set a redirect url = `/sso/callback` + ```shell + http://localhost:4000/sso/callback + ``` + + + ### Step 3. Test flow