Closed kira-0521 closed 8 months ago
現状以下の記述のみだと、ログイン後にログイン画面に止まってしまう
export { default } from "next-auth/middleware";
trpcのmiddlewareで処理される
⏬
middlewareの場所間違ってた
auth warning
You are using Auth0 development keys which are only intended for use in development and testing. This connection (google-oauth2) should be configured with your own Development Keys to enable the consent page to show your logo instead of Auth0's. AUTH0 DEVELOPMENT KEYS SHOULD NOT BE USED ON PRODUCTION ENVIRONMENTS. To learn more about Development Keys please refer to https://auth0.com/docs/connections/social/devkeys
t3 stack with nextjs middleware
https://create.t3.gg/en/usage/next-auth#usage-with-nextjs-middleware
https://next-auth.js.org/configuration/nextjs#advanced-usage