From e7f3bf3050608edec03aa9d52cf8de79d56dfbd9 Mon Sep 17 00:00:00 2001 From: vikaskumar Date: Thu, 26 Nov 2020 13:11:45 +0530 Subject: MULTICLOUD-1257 updated gui flow Issue-ID: MULTICLOUD-1257 Change-Id: I5c1432c037952abeed6066cb067192076031f9cd Signed-off-by: vikaskumar --- src/tools/emcoui/middle_end/authproxy/README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 src/tools/emcoui/middle_end/authproxy/README.md (limited to 'src/tools/emcoui/middle_end/authproxy/README.md') diff --git a/src/tools/emcoui/middle_end/authproxy/README.md b/src/tools/emcoui/middle_end/authproxy/README.md new file mode 100644 index 00000000..1d68a431 --- /dev/null +++ b/src/tools/emcoui/middle_end/authproxy/README.md @@ -0,0 +1,16 @@ + +Authproxy is part of middleend and it exposes following 3 apis +1. **/v1/login** + - Redirects user to keycloak login page. + - Sets a cookie with original URL +2. **/v1/callback** + - After successful login gets auth code and exchange it for token. + - Set id_token and access_token in cookie and redirects to original URL +3. **/v1/auth** + - Retrieve idtoken from cookie and verifies the JWT. + - If id_token is valid then access to resources else redirects to login page. + +Required inputs of authproxy comes from authproxy section of helm config +- Issuer +- Redirect URI +- Client id -- cgit 1.2.3-korg