oauth を更新
6
oauth.md
6
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',
|
||||
});
|
||||
});
|
||||
```
|
||||
|
||||
## 解説
|
||||
|
Reference in New Issue
Block a user