diff --git a/oauth.md b/oauth.md index 08698bc..ac0cb07 100644 --- a/oauth.md +++ b/oauth.md @@ -49,10 +49,12 @@ $ curl -sL "https://plc.directory/did:plc:6qyecktefllvenje24fcxnie" | jq '.alsoK ## didのhandleを確認 ```sh -curl -sL "https://plc.directory/did:plc:6qyecktefllvenje24fcxnie/log"|jq . -curl -sL "https://plc.syu.is/did:plc:6qyecktefllvenje24fcxnie/log"|jq . -curl -sL "https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=ai.syui.ai" | jq . -curl -sL "https://syu.is/xrpc/com.atproto.identity.resolveHandle?handle=ai.syui.ai" | jq . -curl -sL "https://public.api.bsky.app/xrpc/com.atproto.identity.resolveHandle?handle=ai.syui.ai" | jq . -curl -sL "https://bsky.syu.is/xrpc/com.atproto.identity.resolveHandle?handle=ai.syui.ai" | jq . +did=did:plc:6qyecktefllvenje24fcxnie +handle=ai.syui.ai +curl -sL "https://plc.directory/$did/log"|jq . +curl -sL "https://plc.syu.is/$did/log"|jq . +curl -sL "https://bsky.social/xrpc/com.atproto.identity.resolveHandle?handle=$handle" | jq . +curl -sL "https://syu.is/xrpc/com.atproto.identity.resolveHandle?handle=$handle" | jq . +curl -sL "https://public.api.bsky.app/xrpc/com.atproto.identity.resolveHandle?handle=$handle" | jq . +curl -sL "https://bsky.syu.is/xrpc/com.atproto.identity.resolveHandle?handle=$handle" | jq . ``` \ No newline at end of file