How could we display the provider for each connexion in the Users admin menu or somewhere else

May 7, 2013 at 11:45 AM
Edited May 10, 2013 at 4:07 PM
First I was believing that something was missing in UserProvidersPartDriver.

But I realized that it was for 'Providers not for User', then I see the UserProvider is managed without a part, using a simple table and record.

So I undertsand that we could not benefit from any Part Driver to display (even in Edit Mode) when the User is displayed in the Admin Menu.

Could it be preferable to have a real UserProviderPart ?
May 10, 2013 at 3:07 PM
Hey CSADNT, this could be done by pushing out a list similar to roles. Should be easy and worth doing. I have lots of free time next week if your willing to wait?

May 10, 2013 at 4:10 PM
Edited May 10, 2013 at 4:12 PM
Ok thanks, in the meantime I have created an IOpenAuthUserEventHandler and trapped the created event to store the providerName I was searching for, but displaying it in Users Admin should be nice.

May be the Orchard UserPartRecord could have a column to store an Authentication provider, this could help not only when we add OAuth ?