Skip to content

Clean up JWT_VERIFY_AUDIENCE and AUDIENCE setting #328

Description

@robrap

JWT audience is validated if JWT_VERIFY_AUDIENCE is set to True. See

'verify_aud': settings.JWT_AUTH.get('JWT_VERIFY_AUDIENCE', True),
.

However, since we don't have a strong stance on this, JWT_VERIFY_AUDIENCE is set to False in many places, including in edx.org settings. See https://github.com/search?q=(org%3Aopenedx%20OR%20org%3Aedx)%20JWT_VERIFY_AUDIENCE&type=code

Additionally, in many edx.org settings, the AUDIENCE setting is unnecessarily encrypted, which leads to further confusion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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