Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Identity provider names #280

Closed
FunctionallyLiterate opened this issue Aug 13, 2014 · 2 comments
Closed

Identity provider names #280

FunctionallyLiterate opened this issue Aug 13, 2014 · 2 comments
Labels

Comments

@FunctionallyLiterate
Copy link

Hello,

I've been playing around with using a custom ExternalClaimsFilter and Windows Azure AD. I would like to filter claims differently when the provider being used is WAAD, but the only property to identify the current identity provider is the Name property. For Twitter and Facebook this comes across as the string "Facebook" or "Twitter".

It looks like the name property gets set in ExternalIdentity.cs to always equal the Issuer of the NameIdentifier claim type. In the case of WAAD, that value is a rather ugly URL with a guid identifier. Is there any way to add the ability to customize the Name property of the identity provider when you wire it up in the Startup.cs class?

Either way, great job on version 3! It seems to be much more flexible/customizable than the previous version.

@brockallen
Copy link
Member

So right now we only support the katana social identity providers and yes, the provider name passed to the filter is the name as registered with katana. We will eventually support other idps (#59) and whatever identifier we use for those will be passed.

@FunctionallyLiterate
Copy link
Author

Ok that works. Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants