Remitur
Verified User
I need to allow a user to login to DA from an external site; here it's explained how to do it using a form like this:
<form action="http://www.domain.com:2222/CMD_LOGIN" method="POST" name="form">
<input type=hidden name=referer value="/">
<input type=hidden name=FAIL_URL value="http://www.domain.com/login_failed.html">
<input type=hidden name=LOGOUT_URL value="http://www.domain.com/logged_out.html">
<input type=hidden name=username value="username">
<input type=hidden name=password value="password">
</form>
<script>
document.form.submit();
</script>
But I can't use forms: I should use just a simple link.
So the question is: there's any way to create a simple link, something like:
https://www.domain.com:2222/?username=myusername?password=mypassword ?
(Note: this link should be used more than one time, so the idea of creating a one-time login URL from the login keys interface does not work...)
<form action="http://www.domain.com:2222/CMD_LOGIN" method="POST" name="form">
<input type=hidden name=referer value="/">
<input type=hidden name=FAIL_URL value="http://www.domain.com/login_failed.html">
<input type=hidden name=LOGOUT_URL value="http://www.domain.com/logged_out.html">
<input type=hidden name=username value="username">
<input type=hidden name=password value="password">
</form>
<script>
document.form.submit();
</script>
But I can't use forms: I should use just a simple link.
So the question is: there's any way to create a simple link, something like:
https://www.domain.com:2222/?username=myusername?password=mypassword ?
(Note: this link should be used more than one time, so the idea of creating a one-time login URL from the login keys interface does not work...)