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

When accepting connections as localhost, webfinger & storage requests will fail for public RS apps #94

Open
DougReeder opened this issue May 12, 2022 · 0 comments

Comments

@DougReeder
Copy link
Contributor

DougReeder commented May 12, 2022

This is due to Private Network Access, a new security mechanism, at present only on Chrome. A preflight request is sent before the webfinger request. At present, Armadietto does not support OPTIONS requests for webfinger paths, so the preflight fails with a CORS error, and the webfinger request is never made.

For the near term, RS apps on public servers can be used with Armadietto accepting connection on localhost, by using a browser that isn't Chrome. Longer term, no browser will allow this, which cramps testing of Armadietto on localhost.

RS apps also running on a HTTP server accepting connections on localhost will always be able to access Armadietto accepting connections as localhost. I think that's an acceptable workaround, as Private Network Access is a security mechanism.

@DougReeder DougReeder changed the title When accepting connections as localhost, Armadietto cannot be accessed by public RS apps When accepting connections as localhost, webfinger will fail for public RS apps May 12, 2022
@DougReeder DougReeder changed the title When accepting connections as localhost, webfinger will fail for public RS apps When accepting connections as localhost, webfinger & storage requests will fail for public RS apps May 12, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant