From c9fdae715a42724c09b16b08948b1a15b8215310 Mon Sep 17 00:00:00 2001 From: Aleksander Cynarski Date: Thu, 15 Oct 2020 23:33:05 +0200 Subject: [PATCH] Implementacja DEX - readme --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index a300632..bb5b311 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,11 @@ sequenceDiagram Request: -http://127.0.0.1:5556/dex/auth?client_id=example-app&redirect_uri=http%3A%2F%2F127.0.0.1%3A5555%2Fcallback&response_type=code&scope=groups+openid+profile+email+offline_access&state=I+wish+to+wash+my+irish+wristwatch&template=tectonic +http://127.0.0.1:5556/dex/auth?client_id=example-app&redirect_uri=http%3A%2F%2F127.0.0.1%3A5555%2Fcallback&response_type=code&scope=openid+profile+email+offline_access&state=I+wish+to+wash+my+irish+wristwatch + +Request (dodatkowy scope `groups` dający access to strony admina): + +http://127.0.0.1:5556/dex/auth?client_id=example-app&redirect_uri=http%3A%2F%2F127.0.0.1%3A5555%2Fcallback&response_type=code&scope=groups+openid+profile+email+offline_access&state=I+wish+to+wash+my+irish+wristwatch Flow jest typowo testowy, na razie nie ma revoke jwt, a samo pobranie tokenu należy zrobić za pomocą pliku `Makefile`.