diff --git a/resources/views/admin/diagnostics/home.blade.php b/resources/views/admin/diagnostics/home.blade.php
index 75831fc95..bf2b5d742 100644
--- a/resources/views/admin/diagnostics/home.blade.php
+++ b/resources/views/admin/diagnostics/home.blade.php
@@ -74,11 +74,11 @@
OAUTH public key exists:
- {{ file_exists(storage_path('oauth-public.key')) ? '✅ true' : '❌ false' }}
+ {{ file_exists(storage_path('oauth-public.key')) || config_cache('passport.public_key') ? '✅ true' : '❌ false' }}
OAUTH private key exists:
- {{ file_exists(storage_path('oauth-private.key')) ? '✅ true' : '❌ false' }}
+ {{ file_exists(storage_path('oauth-private.key')) || config_cache('passport.private_key') ? '✅ true' : '❌ false' }}