diff --git a/src/pages/AuthGrant.jsx b/src/pages/AuthGrant.jsx index b6d74e5..f606c6a 100644 --- a/src/pages/AuthGrant.jsx +++ b/src/pages/AuthGrant.jsx @@ -1,13 +1,5 @@ import { useMemo } from 'react'; -import { - AlertTriangle, - ArrowRight, - CheckCircle2, - ExternalLink, - KeyRound, - Shield, - XCircle, -} from 'lucide-react'; +import { AlertTriangle, ArrowRight, CheckCircle2, KeyRound, Shield, XCircle } from 'lucide-react'; import { useAuth } from '../hooks/useAuth'; import { getVatsimToken } from '../utils/cookieUtils'; import { Layout } from '../components/layout/Layout'; @@ -105,13 +97,13 @@ export default function AuthGrant() {
-

Authorize API Access

+

Authorize Access

- Review this external token request before continuing. + Review this external access request before proceeding

- + Consent required
@@ -128,7 +120,7 @@ export default function AuthGrant() { <>

{request.appName}

- Wants access to your BARS API token + Wants access to your BARS API Token

) : ( @@ -146,10 +138,10 @@ export default function AuthGrant() {
- Keep your token private + Keep your token secret

- Grant only if you trust this application. It can use your API token until you + Grant only if you trust this application. It can use your API Token until you regenerate it from your account page.

@@ -168,16 +160,13 @@ export default function AuthGrant() {
{request.redirectUrl ? ( -
- -
-

- {request.redirectUrl.origin} -

-

- {request.redirectUrl.pathname} -

-
+
+

+ {request.redirectUrl.origin} +

+

+ {request.redirectUrl.pathname} +

) : (

{request.redirectError}

@@ -187,19 +176,21 @@ export default function AuthGrant() {
-

This allows

-
-
+

+ By granting access, this allows: +

+
+
-

Authenticate to the BARS API as your account.

+

Authenticate to the BARS API as your account.

-
+
-

Use API access available to your account and roles.

+

Use API access available to your account and roles.

-
+
-

Continue working until you regenerate your API token.

+

Continue working until you regenerate your API token.

@@ -226,7 +217,7 @@ export default function AuthGrant() { className="w-full sm:w-auto" > - Disallow + Deny {!token ? ( @@ -236,7 +227,7 @@ export default function AuthGrant() { disabled={loading || !hasValidRequest} className="w-full sm:w-auto" > - Sign in to review + Login to review ) : (