This feature is designed to make data from your systems available for you to use within our systems. You are responsible for complying with all local policies and laws that may apply.
When you connect a local authentication system to OpenAthens, you have the ability to map attributes from one system to the other. For example, the mail attribute from LDAP could be mapped to an emailAddress attribute in OpenAthens. This mapping can achieve several things:
-
When you list accounts, you will be able to see or search your users by any mapped attribute
-
Attributes that your local source passes to OpenAthens can in turn be released to service providers
-
These attributes can be used in the reporting interface
You can map as many or as few attributes as you need to accomplish your goals.
If the values of the attributes in your local system are not what you quite need, there is also an option to transform attributes.
Prerequisites
-
If you will be using these attributes for reporting or releasing data to publishers, or you need them to match existing OpenAthens accounts, you must create them in your OpenAthens attribute schema first
-
You need to know the names of the attributes available from your local connection and what they are for. (Ask your IT team if required.) Attribute and claim names are case sensitive
Add an attribute mapping rule
-
Log in to the Compass admin area (https://admin.openathens.net) as an administrator.
-
Go to Management > Connections.
-
Under Local authentication in the left sidebar, select your local connection to edit it.
-
Go to the Attributes tab.
-
From the Add rule drop-down, select Add a mapping rule.
A blank rule template appears.
-
In the Target name field, enter the name of the attribute to which to map. Any attribute that you want to release to service providers or include in reports must exist in your account schema before you make it the target of a mapping rule. These existing attributes appear as suggestions as you type.
You cannot use some words as target names because they already have a defined meaning in the system. -
In the next field, enter the name of the local attribute or claim.
In this example, the field is called ADFS claim. Depending on the type of connection, it might have a different label, e.g. SAML attribute name or OIDC attribute name. -
In Display name, enter the name by which to call the attribute in the OpenAthens Compass interface. This can be the same as, or different from, the other names.
-
If your rule matches an attribute that is releasable, the Releasable option will be ticked automatically. You cannot change this setting.
-
Press Done when finished.
-
If necessary, repeat to create additional rules.
-
Press Save changes to put the new rules live.
Edit an attribute mapping rule
-
Go to Management > Connections.
-
Under Local authentication in the left sidebar, select your local connection to edit it.
-
Go to the Attributes tab.
-
Hover over the rule you want to edit. Edit and Remove buttons appear.
-
Press Edit. You then see the details of the rule.
-
Change the editable details as required. Be aware that if you change the Target name, data that has already been mapped into OpenAthens will be lost.
-
Press Done.
-
Repeat for other rules you want to edit.
-
Press Save changes to put your changes live.
Delete an attribute mapping rule
-
Go to Management > Connections.
-
Under Local authentication in the left sidebar, select your local connection to edit it.
-
Go to the Attributes tab.
-
Hover over the rule you want to edit. Edit and Remove buttons appear.
-
Press Remove. You are asked to confirm this action before the rule is deleted.
-
Press Delete.
-
Press Save changes to put your changes live.
Anything to watch out for?
-
You can have only one rule of any type per target attribute
-
Any changes you save will go live almost immediately, but do not affect users until the next time they sign in to OpenAthens. A user with an active browsing session will continue to use the old settings until their session ends. (This is most relevant when you are testing your changes)
-
When you add a mapping to an existing schema attribute that is releasable, then the data in the local connection attributes you map becomes releasable too. This is usually both deliberate and desirable but may not always be so. You should be aware of and understand your release policies before adding a mapping to any releasable OpenAthens attribute
-
When you remove a mapping, the data will no longer available to the system. This has implications if anything is using the data, especially if it is being used for access to a resource
-
Mapped data is truncated to fit when it is too large. Be aware of this if mapping to an attribute that has a character limit, such as
username -
Only fields considered to be attributes - e.g. only the data in the attribute statement sent by SAML or the API connectors - can be mapped as attributes. This is most likely to affect you if you use the API connector. See Implementing the API connector in your code
-
OpenAthens automatically applies a scope to some attributes upon release. These attributes include:
-
eduPersonPrincipalName (urn:oid:1.3.6.1.4.1.5923.1.1.1.6)
-
role/scopedAffiliation/eduPersonScopedAffiliation (urn:oid:1.3.6.1.4.1.5923.1.1.1.9)
-
Targeted ID (optional; you can choose to release a scoped or non-scoped version in your release policy)
Values that already have a scope can have the scope incorrectly doubled, e.g.value@organisation.org@organisation.org. To avoid this, always map a non-scoped value (a value that does not contain@[domain]), such as sAMAccountName, NetID or Principal Name
-