From d97a3a67de2547342e0da34baf26123c81d1394b Mon Sep 17 00:00:00 2001 From: syui Date: Tue, 17 Jun 2025 00:20:19 +0000 Subject: [PATCH] =?UTF-8?q?oauth=20=E3=82=92=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oauth.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/oauth.md b/oauth.md index 1c5b80b..7492961 100644 --- a/oauth.md +++ b/oauth.md @@ -17,10 +17,11 @@ PDS_SERVICE_DID=did:web:syu.is PDS_PUBLIC_URL=https://syu.is ``` -```sh -$ curl -s https://syu.is/.well-known/oauth-authorization-server |jq . -``` - [@atproto/oauth-provider](https://github.com/bluesky-social/atproto/tree/main/packages/oauth/oauth-provider)が本体となる。 > https://syu.is/@atproto/oauth-provider/~assets/file.css + +```sh +curl -s https://syu.is/.well-known/oauth-authorization-server |jq . +curl -s "https://syu.is/oauth/authorize?client_id=https://syui.ai/client-metadata.json&response_type=code&redirect_uri=https://syui.ai/oauth/callback" +```