opthub-org / opthub-runner-admin

Runner used for evaluating solutions and calculating scores in OptHub competitions.
https://pypi.org/project/opthub_runner_admin
MIT License
1 stars 0 forks source link

GraphQLのAPIキー認証を廃止する #28

Closed Mishima-Ryuji closed 4 months ago

Mishima-Ryuji commented 4 months ago

現在は未認証時にGraphQLのAPI認証をするように実装していると思いますが、authを実装後はAPIキー認証を使わずにアクセストークンを使ってGraphQLにアクセスする形にしたいので、認証をしていない場合はエラーにしてください。

Mishima-Ryuji commented 4 months ago

上記の変更でAPIキーをyamlから入れる必要がなくなります。

Mishima-Ryuji commented 4 months ago

以下と同じコードで動くはずです。 https://github.com/opthub-org/opthub-client/blob/dev/opthub_client/graphql/client.py