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

Authenticate socket connections #116

Merged
merged 8 commits into from
May 6, 2015
Merged

Conversation

from-the-river-to-the-sea
Copy link
Contributor

When login security is enabled, all socket connections are authenticated by a key. Each user on each passport strategy has their own key, and it functions very similarly to a Twitch stream key. The user can view and regenerate their key at any time from the dashboard.

For dashboard access, this change is invisible to the user as the key is automatically injected. To access a view url, the user must append their key as a URL param, such as localhost:9090/view/lange-notify?key=xxxxxxxxxx

from-the-river-to-the-sea pushed a commit that referenced this pull request May 6, 2015
Authenticate socket connections
@from-the-river-to-the-sea from-the-river-to-the-sea merged commit 7467ccd into v0.6.0 May 6, 2015
@from-the-river-to-the-sea from-the-river-to-the-sea deleted the socket-auth branch May 6, 2015 02:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant