mirror of
https://github.com/svemagie/indiekit-endpoint-activitypub.git
synced 2026-04-02 15:44:58 +02:00
feat: add remote follow / authorize interaction support
Add OStatus subscribe template to WebFinger responses so remote servers (WordPress AP, Misskey, etc.) can discover and redirect users to complete follow interactions. Unauthenticated users are sent to login first, then redirected to the existing reader profile page with follow/unfollow UI.
This commit is contained in:
10
views/activitypub-authorize-interaction.njk
Normal file
10
views/activitypub-authorize-interaction.njk
Normal file
@@ -0,0 +1,10 @@
|
||||
{% extends "document.njk" %}
|
||||
|
||||
{% from "prose/macro.njk" import prose with context %}
|
||||
|
||||
{% block content %}
|
||||
{% if error %}
|
||||
{{ prose({ text: error }) }}
|
||||
{% endif %}
|
||||
<p><a href="{{ mountPath }}/">Return to dashboard</a></p>
|
||||
{% endblock %}
|
||||
Reference in New Issue
Block a user