zitadel icon indicating copy to clipboard operation
zitadel copied to clipboard

[Docs]: Concept of claim mapping

Open mffap opened this issue 3 years ago • 1 comments

We should explain the concept of inbound (external attributes to internal data model) and outbound claim mapping, optimally with a short example. Audience could be Solution Architect.

mffap avatar Oct 05 '21 16:10 mffap

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Aug 09 '22 17:08 stale[bot]

@mffap Do you mean with actions to metadata? Would be great if you could write a user story according to this with some acceptance criterias. As a [type of user], I want [some goal] so that [some reason].

hifabienne avatar Jan 03 '23 12:01 hifabienne

@mffap Do you mean with actions to metadata? Would be great if you could write a user story according to this with some acceptance criterias. As a [type of user], I want [some goal] so that [some reason].

I think this might be relevant to Actions, yes or to extenal idp templates, maybe? You anyways need a way to map data from external providers to internal

You can see what I mean for example here:

  • https://github.com/mschwartau/keycloak-custom-protocol-mapper-example/blob/master/README.md
  • https://is.docs.wso2.com/en/latest/guides/dialects/add-claim-mapping/

But I haven't got the question again, so we can also close it if you want.

User Story is basically: As a Developer I want to understand what I need to configure/add as action, so that I can customize the claims within my token.

mffap avatar Jan 03 '23 13:01 mffap

Maybe related to: https://github.com/zitadel/zitadel/issues/4373

mffap avatar Jan 04 '23 13:01 mffap

@hifabienne I think this is resolved with https://github.com/zitadel/zitadel/issues/3997 and https://github.com/zitadel/zitadel/issues/4909

mffap avatar Jan 26 '23 10:01 mffap

The features are released together with an example here: https://github.com/zitadel/actions/tree/main/examples

Additionally we have published a Blog: https://zitadel.com/blog/custom-claims

mffap avatar Apr 06 '23 15:04 mffap