First working prototype to proxy 3PID binds to central Matrix.org IS
This commit is contained in:
@@ -106,6 +106,24 @@ session.policy.validation:
|
||||
enabled: true
|
||||
server: 'root'
|
||||
|
||||
view:
|
||||
session:
|
||||
local:
|
||||
onTokenSubmit:
|
||||
success: 'session/local/tokenSubmitSuccess'
|
||||
failure: 'session/local/tokenSubmitFailure'
|
||||
localRemote:
|
||||
onTokenSubmit:
|
||||
success: 'session/localRemote/tokenSubmitSuccess'
|
||||
failure: 'session/local/tokenSubmitFailure'
|
||||
remote:
|
||||
onRequest:
|
||||
success: 'session/remote/requestSuccess'
|
||||
failure: 'session/remote/requestFailure'
|
||||
onCheck:
|
||||
success: 'session/remote/checkSuccess'
|
||||
failure: 'session/remote/checkFailure'
|
||||
|
||||
storage:
|
||||
backend: 'sqlite'
|
||||
|
||||
|
||||
@@ -17,7 +17,7 @@ If you continue, your e-mail address and Matrix ID association will be made publ
|
||||
If you would still like to continue, you will need to:
|
||||
1. Go to your private Public registration process page:
|
||||
|
||||
%NEXT_STEP_LINK%
|
||||
%VALIDATION_LINK%
|
||||
|
||||
2. Follow the registration process of the central Identity Server, usually another email with similar content
|
||||
3. Once your email address validated with the central Identity Server, click on "Continue" on page of step #1
|
||||
@@ -81,7 +81,7 @@ pre, code {
|
||||
|
||||
<p>If you would still like to continue, you will need to:
|
||||
<ol>
|
||||
<li>Go to your private <a href="%NEXT_STEP_LINK%">Public registration process page</a></li>
|
||||
<li>Go to your private <a href="%VALIDATION_LINK%">Public registration process page</a></li>
|
||||
<li>Follow the registration process of the central Identity Server, usually another email with similar content</li>
|
||||
<li>Once your email address validated with the central Identity Server, click on "Continue" on page of step #1</li>
|
||||
<li>If your public association is found by our Identity server, the next step will be given to you.</li>
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Matrix Token Verification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Myriad Pro", "Myriad", Helvetica, Arial, sans-serif;
|
||||
font-size: 12pt;
|
||||
margin: 1em;
|
||||
}
|
||||
#message {
|
||||
width: 1200px;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
margin-bottom: 40px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
|
||||
background-color: #f8f8f8;
|
||||
border: 1px #ccc solid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<p>Verification failed: you may need to request another verification email</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,40 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Matrix Token Verification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Myriad Pro", "Myriad", Helvetica, Arial, sans-serif;
|
||||
font-size: 12pt;
|
||||
margin: 1em;
|
||||
}
|
||||
#message {
|
||||
width: 1200px;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
margin-bottom: 40px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
|
||||
background-color: #f8f8f8;
|
||||
border: 1px #ccc solid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<p>Verification successful: return to your Matrix client to complete the process.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,47 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Matrix Token Verification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Myriad Pro", "Myriad", Helvetica, Arial, sans-serif;
|
||||
font-size: 12pt;
|
||||
margin: 1em;
|
||||
}
|
||||
#message {
|
||||
width: 1200px;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
margin-bottom: 40px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
|
||||
background-color: #f8f8f8;
|
||||
border: 1px #ccc solid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<p>Verification successful!</p>
|
||||
<p>Your email will remain private and you will only be discoverable with it on your own server, or any related
|
||||
servers configured by your system admin.<br/>
|
||||
If you would like to be globally discoverable, start the process <a th:href="${remoteSessionLink}">here</a>.
|
||||
<br/>If you chose to start the global publication process, wait until it is done before returning to your
|
||||
client.</p>
|
||||
<p>If the remote process is finished, or if you do not wish to start it at this time, you can now return to your
|
||||
Matrix client to complete the process.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,43 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Matrix global token verification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Myriad Pro", "Myriad", Helvetica, Arial, sans-serif;
|
||||
font-size: 12pt;
|
||||
margin: 1em;
|
||||
}
|
||||
#message {
|
||||
width: 1200px;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
margin-bottom: 40px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
|
||||
background-color: #f8f8f8;
|
||||
border: 1px #ccc solid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<p>You do not seem to have validated your session with the global server. Please check your messages for one similar
|
||||
to the one you received initially.<br/>
|
||||
Once this is done, <a href="#">click here to continue</a></p>
|
||||
<p>If this problem persists, contact your system administrator with the following info: Reference #ABC</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,41 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Matrix global token verification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Myriad Pro", "Myriad", Helvetica, Arial, sans-serif;
|
||||
font-size: 12pt;
|
||||
margin: 1em;
|
||||
}
|
||||
#message {
|
||||
width: 1200px;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
margin-bottom: 40px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
|
||||
background-color: #f8f8f8;
|
||||
border: 1px #ccc solid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<p>Verification successful!</p>
|
||||
<p>Return to your Matrix client to complete the process and make yourself globally discoverable.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,42 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Matrix global token verification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Myriad Pro", "Myriad", Helvetica, Arial, sans-serif;
|
||||
font-size: 12pt;
|
||||
margin: 1em;
|
||||
}
|
||||
#message {
|
||||
width: 1200px;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
margin-bottom: 40px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
|
||||
background-color: #f8f8f8;
|
||||
border: 1px #ccc solid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<p>The process to be globally discoverable has failed!<br/>You can try to refresh this page in a few seconds or
|
||||
minutes.</p>
|
||||
<p>If this problem persists, contact your system administrator with the following info: Reference #ABC</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html xmlns:th="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta charset="utf-8"/>
|
||||
<title>Matrix global token verification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: "Myriad Pro", "Myriad", Helvetica, Arial, sans-serif;
|
||||
font-size: 12pt;
|
||||
margin: 1em;
|
||||
}
|
||||
#message {
|
||||
width: 1200px;
|
||||
text-align: left;
|
||||
padding: 1em;
|
||||
margin-bottom: 40px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
margin-top: 50px;
|
||||
|
||||
-webkit-border-radius: 10px;
|
||||
-moz-border-radius: 10px;
|
||||
border-radius: 10px;
|
||||
|
||||
-webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
-moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
|
||||
|
||||
background-color: #f8f8f8;
|
||||
border: 1px #ccc solid;
|
||||
}
|
||||
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="message">
|
||||
<p>The process to be globally discoverable has started. A verification token has been requested on your behalf.</p>
|
||||
<p>You will receive a similar communication as the first verification message.<br/>
|
||||
Follow the instructions and come back to this page once you are told to return to your Matrix client or that the
|
||||
verification was successful.</p>
|
||||
<p>Once the validation was successful with the global server, please follow <a th:href="${checkLink}">this link</a>
|
||||
to validate it with us.</p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user