Skip to content
  • P
    Projects
  • G
    Groups
  • S
    Snippets
  • Help

haoqu.ma / gotty

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Snippets
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • gotty
  • app
  • app.go
  • Iwasaki Yudai's avatar
    Authenticate WS connection using token · 0e81c484
    Safari doesn't support basic authentication for websocket sessions.
    This commit introduces a token-based authentication only for websocket
    connection.
    The token is shared by all clients and that might be not secure. However,
    basic authentication itself is insecure and the credential is already
    shared by clients, so don't mind.
    Iwasaki Yudai committed Aug 31, 2015
    0e81c484 Browse Files
app.go 8.6 KB
BlameHistoryPermalink