Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Additional Claims in Introspection #437

Closed
alienscience opened this issue May 17, 2023 · 2 comments · Fixed by #443
Closed

Support for Additional Claims in Introspection #437

alienscience opened this issue May 17, 2023 · 2 comments · Fixed by #443
Labels

Comments

@alienscience
Copy link
Contributor

When authenticating with Zitadel it is possible to add additional scopes, e.g urn:zitadel:iam:user:resourceowner and urn:zitadel:iam:user:metadata. If these scopes are used, it is possible to get extra information when calling OIDC Introspection.

Currently, only the default introspection fields are considered and any extra fields are ignored.

Would you be open to a PR that added support for these extra fields? I was thinking of something like using #[serde(flatten)] to support metadata: serde-rs/serde#941 (comment)

@buehler
Copy link
Collaborator

buehler commented May 19, 2023

Hey @alienscience,

Absolutely! This would be a welcomed addition to the crate.

@github-actions
Copy link

🎉 This issue has been resolved in version 3.3.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging a pull request may close this issue.

2 participants