0
私は、セッションIDを生成し、このセッションid.iのコンテキストで別のWebサイトを開く1つのWebサイトを持って、最初のサイトを開くボタンと2番目のサイトのautomaticalyログイン。セッションidのコンテキストでjavascriptを使用してログイン
サイト1:http://thisisanexample/exampleはこれが最初のサイトを開き、第二のサイトには、その後開かれhttp://thisisanotherexample/another
につながる: のvar mywindowの。
function openWin() {
myWindow = window.open("http://thisisanexample/example");
}
</script>
ここの後に私は立ち往生しています。どのように私は、サイトに次のPOSTリクエストを送信することができ、私はあなたが私が:-)何を意味するかを願っています2
<form action="http://thisisanotherexample/another/" method="POST" name="logonForm">
<input type="text" name="user" value="placeholder">
<input type="hidden" name="passwordnew1" value="">
<input type="hidden" name="passwordnew2" value="">
<input type="password" name="password" value="placeholder">
<input type="hidden" name="welcomescreen" value="1">
<input type="submit" value="Anmelden" name="cmd_login">
実装しようとしている機能を「シングルサインイン」といいます。この記事はあなたを助けるかもしれません:https://auth0.com/learn/how-to-implement-single-sign-on/ –