Changed OAuth redirect URI

This commit is contained in:
M66B
2019-12-22 10:57:17 +01:00
parent a51c8bd6db
commit b6008091fb
4 changed files with 15 additions and 10 deletions

View File

@@ -10,5 +10,5 @@
},
{
"relation": ["delegate_permission/common.handle_all_urls"],
"target": { "namespace": "web", "site": "https://email.faircode.eu" }
"target": { "namespace": "web", "site": "https://oauth.faircode.eu" }
}]

View File

@@ -5,14 +5,19 @@
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>FairEmail - OAuth</title>
</head>
<body>
<h1>FairEmail OAuth</h1>
<script>
function oauth() {
document.location = 'eu.faircode.email://oauth' + window.location.search;
}
</script>
<button onclick="oauth()">Continue</button>
</head>
<body>
<h1>FairEmail</h1>
<p><img src="/ic_launcher-web.png" alt="FairEmail" height="72" width="72" /></p>
<h2>OAuth</h2>
<p><button onclick="oauth()">Continue</button></p>
<br />
<p><a href="https://email.faircode.eu/privacy/">Privacy policy</a></p>
<p>Copyright &copy; 2018-2019 M. Bokhorst (M66B)</p>
</body>
</html>