zitadel / oidc

Easy to use OpenID Connect client and server library written for Go and certified by the OpenID Foundation
https://zitadel.com
Apache License 2.0
1.38k stars 145 forks source link

feat(op): allow returning of parent errors to client #629

Closed muhlemmer closed 2 months ago

muhlemmer commented 2 months ago

This change introduces the possibility to return parent errors to clients. This is implemented by an optional flag on the *oidc.Error.

Currently it only support setting the parent inside JSON responses, not redirect URLs. As Go errors don't unmarshall well, only the marshaller is implemented for the moment.

Related to https://github.com/zitadel/zitadel/issues/8362

Definition of Ready

github-actions[bot] commented 2 months ago

:tada: This PR is included in version 3.27.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: