I have to pass a username and a password from one domain to an AngularJS application on another domain.
The server where the Angular app runs, does not support any server-sided scripts (e.g. no PHP).
The only way I can think of (using JS only) is to pass the username and password as GET parameters in the URL. This approach does not seem right and is a security threat.
Is there any other way that I missed to pass the username and password safely to my AngularJS app?