mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-11 21:17:32 +00:00
feat: create user scim v2 endpoint (#9132)
# Which Problems Are Solved - Adds infrastructure code (basic implementation, error handling, middlewares, ...) to implement the SCIM v2 interface - Adds support for the user create SCIM v2 endpoint # How the Problems Are Solved - Adds support for the user create SCIM v2 endpoint under `POST /scim/v2/{orgID}/Users` # Additional Context Part of #8140
This commit is contained in:
@@ -79,3 +79,8 @@ func (err *ZitadelError) As(target interface{}) bool {
|
||||
reflect.Indirect(reflect.ValueOf(target)).Set(reflect.ValueOf(err))
|
||||
return true
|
||||
}
|
||||
|
||||
func IsZitadelError(err error) bool {
|
||||
zitadelErr := new(ZitadelError)
|
||||
return errors.As(err, &zitadelErr)
|
||||
}
|
||||
|
Reference in New Issue
Block a user