Implementation of Atlassian ASAP Auth doesn't match the spec #2219
Labels
B-bug
Bug: general classification
E-good-first-issue
Experience required: Beginner / New
needs-triage
Describe the bug
Hi there! According to the spec for ASAP, you should be able to pass an array of values for the 'audience' field. I've bolded the relevant section from the spec here:
“aud”: audience, as defined by JWT, with the difference that here it is mandatory. Note that the value of this claim may be a single string value **or an array of string values**
. Currently the value is passed as a string, as seen hereinsomnia/packages/insomnia-app/app/ui/components/editors/auth/asap-auth.js
Line 64 in 7bc2194
To Reproduce
audience1 audience2
,[audience1, audience2],
["audience1", "audience2"],
audience1, audience2`Expected behavior
As described in the spec, the audience field should look like `["audience1, "audience2"] instead of "audience1 audience2"
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: