flipboxfactory / saml-sp

SAML Service Provider (SP) Plugin for Craft CMS
https://saml-sp.flipboxfactory.com/
Other
19 stars 5 forks source link

Use Assertion Attributes as Variables for Mappings #43

Open dennismeissner opened 4 years ago

dennismeissner commented 4 years ago

When configuring Metadata for IdPs, it would be amazing, if i could use assertion attributes as Variables like Craft already dos it in title fields.

With that feature enabled, i could easily create custom Values. e,g:

Mapping Attribute Name: {displayName}@email-does-not-exist.com Craft User Property: Email

At the moment i am doing similar stuff in a before user response event, but it would be nice to have this behavior here, and it is also not new in craft. When creating a section you have access to entries fields in custom title input.

dsmrt commented 4 years ago

I really like this idea. We have something like this on the IdP plugin so it may not be too much work. That said, not sure when we can get to it. Maybe closer to the new year.