KonstiK
ZITADEL3y ago
5 replies
Konsti

Default scopes for application

We use Wundergraph (https://github.com/wundergraph/wundergraph) as our API gateway and federation solution in front of our microservices.

Unfortunately, Wundergraph does not support adding scopes to the OIDC authentication flow. Therefore, I cannot add scopes like urn:zitadel:iam:user:resourceowner to get the organizationId (which is mandatory for our microservices. We always identify a user by his ID and companyId).

I've already opened a ticket with them to support custom scopes, but is there an option to define default scopes for an application within Zitadel so every token includes the resourceowner information?
GitHub
WunderGraph is a Backend for Frontend Framework to optimize frontend, fullstack and backend developer workflows through API Composition. - GitHub - wundergraph/wundergraph: WunderGraph is a Backend...
GitHub - wundergraph/wundergraph: WunderGraph is a Backend for Fron...
Was this page helpful?