diff --git a/bun.lockb b/bun.lockb
index 2fa0247f..ee06f16a 100755
Binary files a/bun.lockb and b/bun.lockb differ
diff --git a/pages/pages/index.vue b/pages/pages/index.vue
index a9eb6045..7c1ca85e 100644
--- a/pages/pages/index.vue
+++ b/pages/pages/index.vue
@@ -6,7 +6,7 @@
+
@@ -25,6 +25,26 @@
class="rounded-md w-full ring-indigo-600 ring-2 bg-white px-3.5 py-2.5 text-sm font-semibold text-indigo-500 shadow-sm hover:bg-gray-200 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600">About
the Lysand Protocol
+
+
Here are some recommended clients:
+
+
+ Many other clients exist, but they have not been tested for compatibility. Bug reports are nevertheless welcome.
+
+
+
+ Found a problem? Report it on the issue tracker.
+
-
+
+
+
Invalid access
+ parameters
+
+
This page should be accessed
+ through a valid OAuth2 authorization request. Please use a Mastodon API client to access this page.
+
+
Here are some recommended clients:
+
+
+ Many other clients exist, but they have not been tested for compatibility. Bug reports are nevertheless welcome.
+
+
+
+ Found a problem? Report it on the issue tracker.
+
+
@@ -58,12 +85,27 @@ import LoginInput from "../../components/LoginInput.vue";
const query = useRoute().query;
+const recommendedClients = [
+ {
+ name: "Soapbox",
+ icon: "https://soapbox.pub/assets/logo.svg",
+ link: "https://fe.soapbox.pub/",
+ },
+ {
+ name: "Megalodon",
+ icon: "https://sk22.github.io/megalodon/mastodon/src/main/res/mipmap-xhdpi/ic_launcher_round.png",
+ link: "https://sk22.github.io/megalodon/",
+ },
+];
+
const redirect_uri = query.redirect_uri;
const response_type = query.response_type;
const client_id = query.client_id;
const scope = query.scope;
const error = decodeURIComponent(query.error as string);
+const validUrlParameters = redirect_uri && response_type && client_id && scope;
+
const oauthProviders = ref<
| {
name: string;
diff --git a/pages/pages/oauth/redirect.vue b/pages/pages/oauth/redirect.vue
index 99644a2d..d6f6e62f 100644
--- a/pages/pages/oauth/redirect.vue
+++ b/pages/pages/oauth/redirect.vue
@@ -13,7 +13,7 @@
account?