My site is live at https://spotify-graph-test.netlify.app
When I attempt authenticating via Spotify with the automatically generated handler/component, I get an error message as follows:
Invalid redirect domain
‘https://spotify-graph-test.netlify.app’ is not allowed as a redirect domain for this app.
If you’re the developer, be sure to add ‘https://spotify-graph-test.netlify.app’ to your app’s CORS origins so your users can log into your app.
You can do this on the app’s dashboard
Following the advice of other netlify CORS issues online, I have modified my netlify.toml config file to the following:
[graph] codeGenerator = "netlify-builtin:nextjs" [[headers]] for = "/*" [headers.values] Access-Control-Allow-Origin = "*"
But the error still occurs, what should I do?