Skip to content

"Secured" Annotation Does Not Appear to Work with JWT #19

@homestar9

Description

@homestar9

What are the steps to reproduce this issue?

  1. Implement JWT configuration
  2. Authenticate and receive JWT token
  3. Attempt to GET /api/v1/echo/whoami/

What happens?

You will get an invalid or missing auth credentials response.

What were you expecting to happen?

It should execute the handler method.

Any other comments?

I would have assumed that passing along the JWT token would allow bypassing the secured annotation. However, I think for this to have the intended effect, you have to add the whoami() method to the cbsecurity firewall rules and remove the annotation.

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