moriyadetteiu / clapton

コミケの買い物管理用アプリ
4 stars 1 forks source link

ログインのrefresh周りを実装する #78

Closed moriyadetteiu closed 2 years ago

moriyadetteiu commented 4 years ago

概要

refreshできる場合は再ログインではなく、refreshするようにしたい

方針

どういう風に実装するか考えるところから

備考(参考リンクなど)

https://qiita.com/yh1224/items/bd00e85d5c53350e93ca https://qiita.com/ri2lab/items/033ebb19699b07cb885a

moriyadetteiu commented 3 years ago

https://github.com/moriyadetteiu/clapton/blob/master/laravel/config/cors.php#L32 ここら辺でcookieの送受信制御あり

moriyadetteiu commented 2 years ago

https://www.apollographql.com/docs/react/networking/authentication/#cookie

apolloのcookie

moriyadetteiu commented 2 years ago

https://tech.pepabo.com/2020/09/23/session-management-for-web-apps-using-spa-ssr-api/

moriyadetteiu commented 2 years ago

https://www.hypertextcandy.com/cookie-auth-and-cors-on-universal-nuxt-app-with-web-api

moriyadetteiu commented 2 years ago

https://swapnil.dev/blog/authentication-in-nuxtjs-using-laravel-sanctum/ https://afaz.tech/2021/01/12/authenticating-vue-apollo-graphql-with-laravel-sanctum/