Open korsvanloon opened 5 months ago
The audience should indicate for which app the token is. So it should be set to my-commerce-site.com for example. So this is static. The subject is the user identifier
But you can have 1 GraphQL gateway for multiple clients. E.g. my-commerce-site.nl, my-commerce-site.fr, a mobile app, or even some kind of dashboard.
Currently the audience can only be configured upon plugin creation. However the audience is dependent on the request if I understand it correctly.
This is what ChatGPT told me: