We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
エラークラスを一律raiseしているので、401が返ってきた時、Unhandled Runtime Errorが起こってしまうんで操作性が悪い
APIを実行した結果、401エラーの場合
/auth
The text was updated successfully, but these errors were encountered:
うまくいかん。Middlewareかroute handlerでやるべき?
credentials: "include"
Sorry, something went wrong.
Cookie付与してリクエストし、トークン更新まではできた。 けど、その後のフェッチで新しいトークンを付与してリクエストできず。 その他、Route Handlerかましてリフレッシュ&リトライフェッチ実装したけどそれでもうまく反映されなかった。
Merge pull request #56 from riii111/feature/#55/401_handling
cd3fb41
401の場合、トークン更新API実行→新しいアクセストークン使ってリトライし、それも失敗したら認証画面へ
riii111
No branches or pull requests
エラークラスを一律raiseしているので、401が返ってきた時、Unhandled Runtime Errorが起こってしまうんで操作性が悪い
APIを実行した結果、401エラーの場合
/auth
へリダイレクトさせること注意点
The text was updated successfully, but these errors were encountered: