Misskey: GraphQL implementation

Created on 5 Apr 2019  ·  4Comments  ·  Source: syuilo/misskey

Summary

⚙️Server ✨Feature 🧩API

Most helpful comment

Authorization: Bearer <i> が良さそう

All 4 comments

ユーザーの認証をどうするかが大きな課題。
ヘッダーにトークンを収めるのか、URLのクエリに入れるのかでやり方も変わってくるし、
一部のGraphQLクエリやミューテーションは認証が必要とかってのもある(できるのであれば)

URLのクエリには入れるべきじゃない(あちこちにログ残りがち)のでまあヘッダーでは

POSTする時にi=hogehoge&query=...っていうのも手ではあるか

Authorization: Bearer <i> が良さそう

Was this page helpful?
0 / 5 - 0 ratings

Related issues

tamaina picture tamaina  ·  3Comments

tamaina picture tamaina  ·  3Comments

AyaMorisawa picture AyaMorisawa  ·  3Comments

ibrokemypie picture ibrokemypie  ·  3Comments

tamaina picture tamaina  ·  3Comments