towerops/test/towerops_web
Graham McIntire 33daaf14f0 fix: return raw session token instead of hash in mobile QR login (#42)
the complete_qr_login endpoint was returning session.token (the SHA256
hash stored in the database) instead of session.raw_token (the plaintext).
this caused all subsequent API calls and WebSocket connections to fail
with 401/REFUSED since the server would hash the already-hashed token.

adds a regression test that verifies the returned token is usable for
authenticated API requests.

Reviewed-on: graham/towerops-web#42
2026-03-16 13:59:52 -05:00
..
channels add mobile app websocket channel and improve QR linking UX 2026-03-13 17:28:36 -05:00
components Fix footer positioning + add layout tests 2026-03-13 13:57:55 -05:00
controllers fix: return raw session token instead of hash in mobile QR login (#42) 2026-03-16 13:59:52 -05:00
graphql add real-time GraphQL API with time-series queries and subscriptions 2026-03-12 10:24:39 -05:00
helpers feat: add 12/24-hour time format setting with consistent timezone display 2026-02-13 15:16:29 -06:00
integration Merge remote-tracking branch 'origin/main' into feature/preseem-integration 2026-02-13 09:11:45 -06:00
live fix: resolve test fixture issues and skip flaky/environmental tests 2026-03-15 17:48:36 -05:00
plugs chore: remove backup files from sed operations 2026-03-06 07:57:30 -06:00
graphql_socket_test.exs add real-time GraphQL API with time-series queries and subscriptions 2026-03-12 10:24:39 -05:00
permissions_test.exs fix snmp v3 test 2026-02-06 10:21:54 -06:00
plug_exceptions_test.exs handle exceptions gracefully on api endpoints 2026-02-04 12:18:14 -06:00
remote_ip_test.exs perf: disable Req retry for faster error tests 2026-03-10 16:19:31 -05:00
telemetry_filter_test.exs Add GeoIP import HTTP tests 2026-03-10 16:02:49 -05:00
user_auth_test.exs perf(tests): remove/reduce Process.sleep calls for faster tests 2026-03-06 07:57:30 -06:00