Mercurial > prosody-modules
view mod_http_oauth2/html/error.html @ 5926:9bcc26406b47
mod_rest: Return specific errors from credential checks
This is a step towards returning details of what went wrong when
checking credentials, distinguishing missing, malformed, and wrong
credentials.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 06 Jul 2024 19:26:07 +0200 |
parents | 401356232e1b |
children |
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} - Error</title> <link rel="stylesheet" href="style.css" /> </head> <body> <header> <h1>{site_name}</h1> </header> <main> <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>