fedibird.com でログインしようとしたら出来ないんだけどマストドンってその登録した鯖でしかログイン出来ないの?APIに使いたいけど無理なん?
Conversation
Notices
-
Embed this notice
しぐれちゃん (shigurechan@mstdn.jp)'s status on Wednesday, 09-Nov-2022 13:12:23 JST しぐれちゃん -
Embed this notice
しぐれちゃん (shigurechan@mstdn.jp)'s status on Wednesday, 09-Nov-2022 13:12:21 JST しぐれちゃん @tokkuri APIのインスタンスにはjp鯖入れても例外が出るんだけどどうしたらいいかわかります?
-
Embed this notice
のえる (noellabo@fedibird.com)'s status on Wednesday, 09-Nov-2022 13:12:21 JST のえる @shigurechan @tokkuri どういうことやってんだろう(興味本位)
例えば、ユーザー設定の開発からアクセストークンを作って、Authorization: Bearer xxxxxxx ってヘッダにつけて、api/v1/favourites とかGETで呼ぶ、みたいな流れ。
curl -XGET -H "Authorization: Bearer xxxxxxx" https://mstdn.jp/api/v1/favourites
-
Embed this notice
んぷ :dogdance: (tokkuri@cdrom.tokyo)'s status on Wednesday, 09-Nov-2022 13:12:23 JST んぷ :dogdance: @shigurechan サーバーごとに都度新規登録って感じですね
セキュリティ上、あるいはアカウントの帰属的な観点からすれば、
ログイン情報をサーバー間で共有するわけにはいかないし
-
Embed this notice