Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Api Authentication via QueryString? #216

Open
Labels
status: triageAwaiting first evalutation
@ComputerElite

Description

Would it be possible to authenticate on WebSockets by passing an ApiToken via query strings to the websocket url? The current WebSocket api in javascript doesn't allow for setting custom headers (https://stackoverflow.com/a/4361358) and thus making authentication impossible without a proxy.

Example: wss://api.openshock.app/1/hubs/user?OpenShockToken=<token>

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: triageAwaiting first evalutation

    Projects

    No projects

    Milestone

    No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        AltStyle によって変換されたページ (->オリジナル) /