More in this section
Forums / Developing with Sitefinity / Custom claims with Sitefinity 10 and external STS

Custom claims with Sitefinity 10 and external STS

The forums are in read-only mode. In case that you want to directly contact the Progress Sitefinity team use the support center. In our Google Plus group you can find more than one thousand Sitefinity developers discussing different topics. For the Stack Overflow threads don’t forget to use the “Sitefinity” tag.
1 posts, 0 answered
  1. Glen
    Glen avatar
    0 posts
    Registered:
    11 Oct 2016
    12 Sep 2017
    Link to this post

    Hi all

    We have successfully implemented a custom external authentication provider with Sitefinity using this sample. https://gist.github.com/vbookie/bb36a069e8cd210c2f68d04b3368fd57

    We are trying to enhance the Sitefinity identity with additional claims from the STS like address or phone number information, with the intention of accessing them from the  ClaimsManager.GetCurrentIdentity().Claims collection in our widgets.

    But no matter what claim we add in the SecurityTokenValidated event handler, Sitefinity does not add them to its own collection of claims - they get lost in translation.

    How can we capture the inbound claims from the external STS and access them from our Sitefinity application?

1 posts, 0 answered