JWT doesn't appear to work when publish is an empty array

Created on 13 October 2022, over 1 year ago
Updated 11 January 2024, 6 months ago

Problem/Motivation

When enabling authorization, the JWT token that's generated doesn't validate because the default is an empty array.

Steps to reproduce

Attempt to publish a change with the defaults for publish being empty.

Proposed resolution

Set the publish key to '*' whenever it's undefined.

Remaining tasks

Confirm, review, merge (MR coming).

πŸ“Œ Task
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States andyg5000 North Carolina, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024