gocommerce-admin icon indicating copy to clipboard operation
gocommerce-admin copied to clipboard

Usage on a local machine

Open tizzle opened this issue 8 years ago • 0 comments

Hey,

first up all a big thanks for making this. 👌

I have some trouble logging in to the admin interface from a local machine. I have set up Netlify Identity on my page (hosting GoTrue myself seemed a little overkill). When starting the UI and logging in with my Identity credentials i run into a CORS error and get a 404.

Failed to load https://[myapp].netlify.com/token: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://localhost:5000' is therefore not allowed access. The response had HTTP status code 404. If an opaque response serves your needs, set the request's mode to 'no-cors' to fetch the resource with CORS disabled.

This seems quite logical to me. My question is: Is there any way to access the admin interface from a local machine (other than rolling my own GoTrue)?

Cheers

Till

tizzle avatar Jan 27 '18 18:01 tizzle