For anyone else that sees this, this was an error in my code that attached the access token to the request. I have verified for certain that PostgREST can in fact handle an array of audiences. You can only specify one audience to PostgREST, but as long as that audience is in the array of audiences in the token, you are fine.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Access tokens with multiple audiences | 2 | 45491 | March 19, 2018 | |
Audience value in returned Bearer token JWT is a list | 2 | 7643 | March 2, 2018 | |
Preventing a Multiple Audiences Array | 2 | 3975 | December 23, 2021 | |
Access token has two audiences? | 3 | 6615 | October 8, 2021 | |
Passing 1 audience to get access_token request, but returned access_token has 2 audience | 6 | 2789 | April 12, 2022 |