<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>Title</title> </head> <body> {% for category, message in get_flashed_messages(with_categories=true) %} <spam class="{{ category }}">{{ message }}</spam> {% endfor %}<br/> <div>Logged in as <strong>{{user.name}}</strong> (<a href="{{ url_for('.logout') }}">Log Out</a>)</div><br/> <p>The application <strong>{{grant.client.client_name}}</strong> is requesting: <strong>{{ grant.request.scope }}</strong> </p> <p> from You - a.k.a. <strong>{{ user.username }}</strong> </p> <form action="" method="post"> {{ form.csrf_token }} <p> {{ form.confirm.label() }} {{ form.confirm() }} </p> <p> {{ form.submit() }} </p> </form> </body> </html>