Enable the CORs Support not working
-
Hi
I can’t make this to work, I always get a cross origin error.
Even when addingdefine('JWT_AUTH_CORS_ENABLE', true);
to mywp-config
file.export function getToken(data:any): Promise<UserContainer<User>> { return getTokenApi.post('https://mydomain.com/wp-json/jwt-auth/v1/token', { params: { username:data.email, password:data.password } }); }
- The topic ‘Enable the CORs Support not working’ is closed to new replies.