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

2 Factor Authentication (TOTP) #1071

Merged
merged 88 commits into from Jul 13, 2023
Merged

2 Factor Authentication (TOTP) #1071

merged 88 commits into from Jul 13, 2023

Conversation

davidbenque
Copy link
Contributor

No description provided.

ansuz and others added 30 commits August 26, 2021 18:11
so that we can more easily generate 'globally' unique identifiers
With this change media-tag now sends HTTP credentials when fetching
blobs. Also changed the example nginx config to send
Access-Control-Allow-Credentials CORS headers. For this to work, we can
no longer use '*' for Access-Control-Allow-Origin [1][2]: Therefore the
example config was changed to set Access-Control-Allow-Origin to the
sandbox domain only.

Fixes:
- #705: Blob fetch fails with 401 Unauthorized when HTTP basic auth is enabled [3]

Referenes:
[1]: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Access-Control-Allow-Origin
[2]: https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS/Errors/CORSNotSupportingCredentials
[3]: #705
* use the nodejs cluster module to handle http traffic with multiple threads
* listen for websocket traffic on a new port because all such logic needs to share state
* proxy websocket URLs from the cluster to the new port so everything is backwards compatible
* implement logic for http workers to make requests and stay in sync with the main process
* unrelated: define the expected nodejs version in a constant
* make the websocket port configurable
* reorder some tasks at launch time to use more consistent logging
* relaunch http workers if they crash
* refuse to launch if httpUnsafeOrigin cannot be parsed as a URL
* fix a path issue reintroduced by a git merge
* remove commented code
* serialize errors sent from http workers to the main process
* drop support for custom http headers set via config.js#httpHeaders
* websockets: only listen on localhost, respect websocketPort config in workers' proxy config
@davidbenque davidbenque added this to the 5.4.0 milestone Jun 29, 2023
@davidbenque davidbenque changed the base branch from main to staging June 29, 2023 12:51
@ghost ghost added the AUTH/email Email, future authentication methods, related label Jul 5, 2023
@davidbenque davidbenque changed the base branch from staging to 5.4-rc July 10, 2023 14:21
@davidbenque davidbenque merged commit cf73383 into 5.4-rc Jul 13, 2023
@ghost ghost deleted the totp-ui branch August 10, 2023 13:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AUTH/email Email, future authentication methods, related
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants