diff --git a/web/src/pages/Authorize/index.tsx b/web/src/pages/Authorize/index.tsx index fe4b9cd..7ad1063 100644 --- a/web/src/pages/Authorize/index.tsx +++ b/web/src/pages/Authorize/index.tsx @@ -126,18 +126,21 @@ const AuthorizePage: FC = () => { {/* */}
-
-
-
-

View your full name, email and profile image

-
-
-
-
-
-

View your permission from "MDN" group

-
-
+ {(apiService?.scopes?.length ?? 0) > 0 && + apiService!.scopes.map((scope) => ( +
+
+
+

View your full name, email and profile image

+

+ {scope === "openid" && + "Access your account id and use it"} + {scope === "email" && "View your email address"} + {scope === "profile" && "View your profile image"} +

+
+
+ ))}