diff --git a/oauth.md b/oauth.md index ba68a8f..31e68c0 100644 --- a/oauth.md +++ b/oauth.md @@ -17,12 +17,14 @@ PDS_SERVICE_DID=did:web:syu.is PDS_PUBLIC_URL=https://syu.is ``` +裏でblueskyのserverを使って名前解決しますが、自分のplcを使うようにすれば解決できます。 + ```js - this.oauthClient = await BrowserOAuthClient.load({ +this.oauthClient = await BrowserOAuthClient.load({ clientId: this.getClientId(), handleResolver: pdsUrl, plcDirectoryUrl: pdsUrl === 'https://syu.is' ? 'https://plc.syu.is' : 'https://plc.directory', - }); +}); ``` ## 解説