This document describes the syntax and semantics of the template engine and will be most useful as a reference to those modifying the Authority templates. As the template engine is very flexible.
The Managed UI implements screens such as login, registration, account recovery, account setting, and account verification. This allows for fast adoption of Authority.
Contrary to other vendors, Authority allows you to implement your own UI by offering simple HTML templates. You can change the look of Authority signin
and authorize
HTML pages.
The public directory contains all the front-end CSS and HTML-related files that compose the user interface for Authority. These are small easy to understand files that are clearly named for easy adoption.
Just edit the ./public/templates/signin.html
and ./public/templates/authorize.html
HTML (jinja) Templates
A template contains variables and/or expressions, which get replaced with values when a template is rendered; and tags, which control the logic of the template.
Below is a minimal template that illustrates a few basics using the default Jinja configuration. We will cover the details later in this document:
Learn more about the template syntax and capabilities at https://jinja.palletsprojects.com/en/3.0.x/templates/ and https://shards.info/github/straight-shoota/crinja