logto
logto copied to clipboard
bug: CORS errors in admin console
Describe the bug
Running LogTo using Docker compose locally I get CORS errors in the admin console on localhost:3001 when it calls the API on localhost:3002.
Expected behavior
Admin console should work without CORS errors
How to reproduce?
- Run docker compose in docker desktop on windows.
- Go to http://localhost:3001/console/api-resources
- See CORS error in browser console and no results shown
Context
- [ ] Logto Cloud
- [ ] Self-hosted, Logto version = "latest" tag from docker
- [x] Container (Docker image)
- [ ] Raw Node.js
Screenshots