From 43627604617e966190863fb437fde8826bb0165d Mon Sep 17 00:00:00 2001 From: liyasthomas Date: Wed, 25 Aug 2021 22:20:35 +0530 Subject: [PATCH] feat: ui for oauth --- components/http/Authorization.vue | 214 +++++++++++++++--------- components/http/OAuth2Authorization.vue | 12 +- locales/en.json | 2 + 3 files changed, 140 insertions(+), 88 deletions(-) diff --git a/components/http/Authorization.vue b/components/http/Authorization.vue index c7db46bf9..4a64c29ac 100644 --- a/components/http/Authorization.vue +++ b/components/http/Authorization.vue @@ -107,95 +107,145 @@ reverse /> -
-
- - -
-
- - - -
-
-
- {{ $t("helpers.authorization") }} +
+
+
+ + +
+
+ + + +
+
+
+
+
+ {{ $t("helpers.authorization") }} +
+
-
-
-
- - -
-
-
- {{ $t("helpers.authorization") }} +
+
+
+ + +
+
+
+
+
+ {{ $t("helpers.authorization") }} +
+
-
-
-
- - -
- -
-
- {{ $t("helpers.authorization") }} +
+
+
+ + +
+ +
+
+
+
+ {{ $t("helpers.authorization") }} +
+
-
diff --git a/components/http/OAuth2Authorization.vue b/components/http/OAuth2Authorization.vue index a91f1fe56..8bd8e98a6 100644 --- a/components/http/OAuth2Authorization.vue +++ b/components/http/OAuth2Authorization.vue @@ -8,7 +8,7 @@ placeholder=" " name="oidcDiscoveryURL" /> - +
- +
- +
- +
- +
diff --git a/locales/en.json b/locales/en.json index d132b97a3..a617249ef 100644 --- a/locales/en.json +++ b/locales/en.json @@ -85,7 +85,9 @@ "we_sent_magic_link_description": "Check your inbox - we sent an email to {email}. It contains a magic link that will log you in." }, "authorization": { + "generate_token": "Generate Token", "include_in_url": "Include in URL", + "learn": "Learn how", "password": "Password", "token": "Token", "type": "Authorization Type",