ai/at
1
0

oauth を更新

2026-01-21 16:20:45 +00:00
parent 8763e56fc1
commit 420b866bd1

@@ -75,4 +75,43 @@ curl -sL "https://bsky.syu.is/xrpc/com.atproto.identity.resolveHandle?handle=$ha
plc ...no
pds ...no
bsky ...yes
```
```
## ios app
1. Universal Links とは
iOSがWebのURLを直接アプリで開く仕組みです。
ユーザーが https://card.syui.ai/oauth/callback にアクセス
iOS が .well-known/apple-app-site-association を確認
appID が一致するアプリがインストールされていれば、アプリで開く
2. apple-app-site-association の役割
```json
{
"applinks": {
"apps": [],
"details": [{
"appID": "${TEAM_ID}.ai.syui.card",
"paths": ["/oauth/callback", "/oauth/callback/"]
}]
}
}
```
3. app.json での設定
```json
{
"ios": {
"associatedDomains": [
"applinks:card.syui.ai"
]
}
}
```