Mastodon relays that have AUTHORIZED_FETCH or "secure mode" enabled, do not work with the relay (https://docs.joinmastodon.org/admin/config/#authorized_fetch).
Looks like this is because you have to sign the request when fetching the public key here:
|
req, _ := http.NewRequest("GET", url, nil) |
Without it, the request returns a 401 from instances that have secure mode enabled.
Mastodon relays that have AUTHORIZED_FETCH or "secure mode" enabled, do not work with the relay (https://docs.joinmastodon.org/admin/config/#authorized_fetch).
Looks like this is because you have to sign the request when fetching the public key here:
Activity-Relay/models/models.go
Line 100 in 528e801
Without it, the request returns a 401 from instances that have secure mode enabled.