Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: Support Authorized Fetch on Mastodon instances #3086

Open
rodti opened this issue Jan 20, 2025 · 0 comments
Open

Feature request: Support Authorized Fetch on Mastodon instances #3086

rodti opened this issue Jan 20, 2025 · 0 comments
Labels
bug RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action

Comments

@rodti
Copy link

rodti commented Jan 20, 2025

What happened?

'Unauthorized' error when trying to connect to Mastodon instance with Authorized Fetch enabled.

Expected result

FiveM authorizes with Mastodon via API

Reproduction steps

  1. Set up FiveM server
  2. Set up Mastodon account on instance with Authorized Fetch enabled (for example mas.to)
  3. Enable connection to Mastodon in FiveM config
  4. Received Unauthorised error when trying to connect to feed

Importancy

Slight inconvenience

Area(s)

FiveM, RedM

Specific version(s)

Current

Additional information

I'm the admin of a large Mastodon instance. We have a signifant number of FiveM users creating accounts on our instance so they can create a feed to their FiveM server.

As our instance has Authorized Fetch enabled, these users will get 'Unauthorised' errors in FiveM when they try to connect to the feed. This leads users to think their account has been limited in some way, when actually it is in good standing but their FiveM calls are being rejected due to the lack of any authorization details.

Here's an example of a user having this issue.

More details about Authorized Fetch here and here.

Would it be possible to update ActiveActivityPubFeed.ts so it provides the required authentication details to work with Authorized Fetch? It should be a minor change but will make life better for a lot of confused FiveM users!

@rodti rodti added bug triage Needs a preliminary assessment to determine the urgency and required action labels Jan 20, 2025
@github-actions github-actions bot added the RedM Issues/PRs related to RedM label Jan 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug RedM Issues/PRs related to RedM triage Needs a preliminary assessment to determine the urgency and required action
Projects
None yet
Development

No branches or pull requests

1 participant