diff --git a/client/src/components/OAuthFlowProgress.tsx b/client/src/components/OAuthFlowProgress.tsx
index 6bd50bcb..2e74bf68 100644
--- a/client/src/components/OAuthFlowProgress.tsx
+++ b/client/src/components/OAuthFlowProgress.tsx
@@ -128,38 +128,54 @@ export const OAuthFlowProgress = ({
label="Metadata Discovery"
{...getStepProps("metadata_discovery")}
>
- {authState.resourceMetadata && (
-
- Retrieved OAuth Resource Metadata from {(new URL('/.well-known/oauth-protected-resource', serverUrl)).href}
-
-
- {JSON.stringify(authState.resourceMetadata, null, 2)}
-
-
- Failed to retrieve resource metadata, falling back to /.well-known/oauth-authorization-server: -
-- {authState.resourceMetadataError.message} - {authState.resourceMetadataError instanceof TypeError - ? " (This could indicate the endpoint doesn't exist or does not have CORS configured)" - : authState.resourceMetadataError['status'] && ` (${authState.resourceMetadataError['status']})`} -
-
- {JSON.stringify(provider.getServerMetadata(), null, 2)}
-
+
+ {authState.resourceMetadata && (
+ Resource Metadata:
++ From {new URL('/.well-known/oauth-protected-resource', serverUrl).href} +
+
+ {JSON.stringify(authState.resourceMetadata, null, 2)}
+
+ + ℹ️ No resource metadata available from {' '} + + {new URL('/.well-known/oauth-protected-resource', serverUrl).href} + +
+
+ Resource metadata was added in the 2025-DRAFT-v2 specification update
+
+ {authState.resourceMetadataError.message}
+ {authState.resourceMetadataError instanceof TypeError
+ && " (This could indicate the endpoint doesn't exist or does not have CORS configured)"}
+
Authorization Server Metadata:
+ {authState.authServerUrl &&+ From {new URL('/.well-known/oauth-authorization-server', authState.authServerUrl).href} +
} +
+ {JSON.stringify(provider.getServerMetadata(), null, 2)}
+
+