Skip to content

Improve Model Target Web API authentication fidelity #3192

Description

@adamtheturtle

Follow-up to #3191.

The Model Target Web API mock currently accepts any non-empty bearer token, and the OAuth token route only performs minimal request validation. Add verified fake tests against real Vuforia for representative OAuth and bearer-token failure cases, then update the mock to match the observed status codes and error response bodies where practical.

Acceptance criteria:

  • Verified fake tests cover invalid/missing OAuth credentials and invalid bearer token cases.
  • The mock returns Vuforia-like status codes and error bodies for those cases.
  • Any remaining intentional auth differences are documented in docs/source/differences-to-vws.rst.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions