view mod_http_oauth2/html/error.html @ 5447:aa4828f040c5

mod_http_oauth2: Enforce client scope restrictions in authorization When registering a client, a scope field can be included as a promise to only ever use those. Here we enforce that promise, if given, ensuring a client can't request or be granted a scope it didn't provide in its registration. While currently there is no restrictions at registration time, this could be changed in the future in various ways.
author Kim Alvefur <zash@zash.se>
date Thu, 11 May 2023 19:33:44 +0200
parents aaa64c647e12
children 8d3e7b201ba4
line wrap: on
line source

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{site_name} - Error</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
	<main>
	<h1>{site_name}<h1>
	<h2>Authentication error</h2>
	<p>There was a problem with the authentication request. If you were trying to sign in to a
	   third-party application, you may want to report this issue to the developers.</p>
	<div class="error">
		<p>{error.text}</p>
	</div>
	</main>
</body>
</html>