New issue
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
Update starter to Strapi V4 #515
Comments
Any plan for this? |
@rubenbase did you ever update this repo to v4? |
A bit late here but for those having troubles using this starter with strapi v4 for me it simply has been about reinstalling the strapi part with latest version and then changing the url in nextjs-strapi-boilerplate/frontend/pages/api/auth/[...nextauth].ts Change this const response = await fetch(
`${process.env.NEXT_PUBLIC_API_URL}/auth/${account.provider}/callback?access_token=${account?.access_token}`
); to this: const response = await fetch(
`${process.env.NEXT_PUBLIC_API_URL}/api/auth/${account.provider}/callback?access_token=${account?.access_token}`
); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As this starter is being featured in the new v4 examples from Strapi’s blog I think it would make sense to update it as it currently uses Strapi v3.
The text was updated successfully, but these errors were encountered: