Service Tokens are an experimental feature, and may be significantly changed or even removed completely in a future release.
Service Tokens are currently implemented as an optional plugin, and must be enabled. Once enabled, Service Tokens will be available for all COs on the platform that have CO Services defined.
CO Service Tokens are an implementation of application specific passwords. CO Service Tokens are based on Registry Services. CO Service Tokens are available as of v2.0.0.
- Define a CO Service for each application that Tokens will be enabled for.
- Enable Tokens for each CO Service via Configuration >> Service Token Settings. Set an appropriate token type.
- Each CO Person who wants to set a Token can access token generation via their identity drop down menu (from their name in the top menu bar), via Service Tokens >> CO.
- After clicking Generate for the desired service, the Service Token will be displayed once, and should be immediately copied to the desired application client. Subsequently, a new Token may be generated, but it is not possible to view the current token.
There are various restrictions with the current implementation:
- Only plaintext tokens of 8 or 15 characters are supported.
- Once set, a token cannot be revoked completely, though it can be changed.
- Although provisioning is initiated when a Service Token is set, provisioners do not currently have access to the Service Token records via the normal mechanism for accessing provisioning data. In other words, there is no out of the box mechanism for accessing Service Tokens. A custom provisioner must be written.
- An experimental Provisioner Plugin, LdapServiceTokenProvisioner is available to write a service token to the
userPassword attribute. It is an optional plugin, and must be enabled. Once enabled, it is configured by associating with an existing LDAP Provisioning Target and a single CO Service, for which it will write associated service tokens to the CO Person LDAP record. Be sure to order the Service Token Provisioner to run after the primary LDAP provisioner. This Plugin is likely to be replaced or removed in a future release.
- Although administrators can technically assign tokens on behalf of a user, there is no link from the CO Person canvas page to do so.