CINXE.COM

<!DOCTYPE HTML> <html> <head> <script src="https://cdn.auth0.com/js/auth0/9.23.3/auth0.min.js"></script> </head> <body> <script type="text/javascript"> const regex = /^[-\w.*~@+ /:]{1,255}$/; const topURL = base64url_encode(window.location.protocol + '//' + window.location.host); var webAuth = new auth0.WebAuth({ domain: 'sso.asahi.com', clientID: 'cjjGLL1yM8zQ5G4peR12QSyDpWTe2OpO', redirectUri: 'https://id.asahi.com/callback/?', scope: 'openid profile email', audience: 'asahi-porta', responseType: 'code', state: 'HLezUHRmrVuOzONHmhVekWewoJ2/FCyfDT133u/mk9SrKLwGfDlZ54j30SpBiIqa5cCPoEEkjjs5c8ovP5SKYIkLoK/KqbnSYfd9yBIt24kQcM/Vj3MTxKuWZzYJBmAiZ+8ZBxqhJnqrUv05QKQaGuCZaqa4LIj360wnheg7JnU=' }); sid = ''; okrurl = ''; ngrurl = ''; s_sessid = ''; ref = ''; cid = ''; webAuth.authorize({ "ext-sid": validate(sid), "ext-okrurl": base64url_encode(okrurl), "ext-ngrurl": base64url_encode(ngrurl), "ext-s_sessid": validate(s_sessid), "ext-ref": validate(ref), "ext-cid": validate(cid) //,"ext-is_login_only":"true" //新規登録を非表示化 }); // Base64URLエンコード後、特殊文字が含まれているかチェック function base64url_encode(rawUrl) { var encoded = btoa(rawUrl); encoded = encoded.replace(/\+/g, '-').replace(/\//g, '_').replace(/\=+$/g, ''); if (!regex.test(encoded)) { encoded = topURL; } return encoded; } // 特殊文字が含まれているかチェック function validate(param) { if (!regex.test(param)) { param = " "; } return param; } </script> </body> </html>