feat: add token introspection on sample /user/home endpoint and inject access_token into client cookie
This commit is contained in:
@ -1,5 +1,13 @@
|
||||
{% extends "base.html" %}
|
||||
|
||||
{% block content %}
|
||||
<h1> User Home</h1>
|
||||
{% if username != "" %}
|
||||
<h1>Hello <i>{{ username }}</i></h1>
|
||||
{% else %}
|
||||
<h1>User Home</h1>
|
||||
{% endif %}
|
||||
|
||||
<p>Your user session is <b>{% if is_active %}active{% else %}inactive{% endif %}</b></p>
|
||||
|
||||
<p>Request took <b>{{ duration.as_millis() }}</b>ms</p>
|
||||
{% endblock content %}
|
||||
|
Reference in New Issue
Block a user