AcademySoftwareFoundation / OpenCue

A render management system you can deploy for visual effects and animation productions.
https://www.opencue.io
Apache License 2.0
833 stars 203 forks source link

[cueweb] Add authentication to gRPC REST gateway and include unit testing #1450

Closed Zach-Fong closed 3 months ago

Zach-Fong commented 3 months ago

Features and improvements

  1. CueWeb authorization updates
    • Modified CueWeb to include authorization headers in all HTTP requests to the gRPC REST gateway.
    • Added functionality to generate JWT tokens using a secret for inclusion in authorization headers.
  2. Include unit testing
    • Introduced Jest tests for CueWeb to cover: Authentication middleware, error handling, and JWT creation.

Co-authored-by: Zachary Fong zfong@imageworks.com Co-authored-by: Ramon Figueiredo rfigueiredo@imageworks.com