File

mod_http_oauth2/html/oob.html @ 6327:578fa5d97daa

mod_http_oauth2: Avoid tripping on redirect URIs when omitted Since device clients don't need to include redirect_uris, this function needs to handle that case and not try to index the missing array.
author Kim Alvefur <zash@zash.se>
date Thu, 03 Jul 2025 16:18:38 +0200
parent 5653:401356232e1b
line wrap: on
line source

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>{site_name} - Authorization Code</title>
<link rel="stylesheet" href="style.css" />
</head>
<body>
	<header>
	<h1>{site_name}</h1>
	</header>
	<main>
	<h2>Your Authorization Code</h2>
	<p>Here’s your authorization code, copy and paste it into {client.client_name}</p>
	<div class="oob">
		<p><input readonly="" name="authorization_code" value="{authorization_code}" aria-label="Authorization Code"></p>
	</div>
	</main>
</body>
</html>