this is my scenario:
2 domains: - 1 that contains the frontend system with a credential system. - 1 that contains the rest api the frotend needs.
All the request in the fronted are made via $.ajax (jquery).
The users have a token in the frontend domain, so i need to send it to the webservices, to let them validate those credentials and response according to it.
Any ideas?