Page tree
Skip to end of metadata
Go to start of metadata

There are three parts to a basic integration:


Install an OpenID Connect plug-in or framework

  1. If you do not already have an OIDC plug-in or framework installed, find one for your platform and install it. This must support "OpenID Connect" specifically, rather just OpenID (which is older and will not work with OpenAthens).

  2. Configure your site to use the plug-in or framework and add the option to your login page alongside any other login methods you have. For help with that you will need to consult the documentation of your plug-in and platform.

See also:

Configure the basic application in the OpenAthens publisher dashboard

  1. Access the publisher dashboard at https://sp.openathens.net

  2. Add a new application, choosing OpenID Connect from the options

  3. Fill in the form

    1. All the fields on the first page can be changed later if necessary, but must be valid to proceed.

    2. Select a new connection unless you are sure you have another suitable one

  4. Click the create application button

  5. This will create the record and display the details you need to configure your OIDC plugin

For a detailed view of these 5 steps, see: Adding a new OIDC application to the publisher dashboard step by step

Configure your OpenID Connect plugin or framework for OpenAthens

  1. Access the configuration of your plugin or framework and update the settings to connect to OpenAthens.

  2. (a) and (b) below are always needed. Some or all all of the others may need to be specified. There can also be some small variation in terms:

    1. Client ID & Client secret or key - copy both from the dashboard > application > configuration tab

    2. Provider URI - https://connect.openathens.net

    3. Login or Authorisation endpoint - https://connect.openathens.net/oidc/auth

    4. Token (validation) endpoint  - https://connect.openathens.net/oidc/token

    5. User Info endpoint - https://connect.openathens.net/oidc/userinfo

    6. JWKS / Key URI - https://connect.openathens.net/oidc/jwks

    7. Identity key / claim / attribute - this should usually be set as 'sub' (as in subject)

  3. Your plug-in or framework should support automatic configuration in the background, but if you need to specify the address manually (or check any of the content) it is https://connect.openathens.net/.well-known/openid-configuration

Additional configuration in the publisher dashboard

This comes in two halves - the application, which configured how your OIDC implementation talks to OpenAthens, and then the connection, which is the part that controls how you appear in SAML federations such as OpenAthens, InCommon, SWITCHaai and UK Access Management federation (accounts from your own domain will work whether or not you go live in any federations).

Application

After you select your application from the list there are three tabs:

  1. Details

    1. The description and logo will appear for OpenAthens federation IdPs and would become mandatory when you wanted to go live in the OpenAthens federation

    2. The access URL will also become mandatory when you want to go live. During development it can be anything, but for the live service it would need to work. See: Access URLs

  2. Linking

    1. This is where you define the format used for deep linking to specific pages in your application. See: Access URLs

  3. Configuration

    1. The settings controlling how your OIDC instance communicates with us:

      1. Client ID and secret should be copied to your OIDC configuration. They are both unique to your application and are used for secure communication with us

      2. Application URL is the root address of your application - e.g. https://www.myapplication.com.

      3. Redirect URL is where we should return the user afterwards. If you are unsure, enter the same root address - the address you want will become apparent later when you test and receive an invalid redirect url error.

      4. Connection offers you a choice of existing connections to use with this application. If you are unsure, leave it as is.

      5. Discovery method allows you to choose between a default entityID (defaults your own) or a central discovery service. It defaults to OpenAthens Wayfinder, which is a very good choice if you are going to be in one or more federations.


Connection
  1. From the Connections page, select your connection. It will have the same name as you originally gave your application, and is also accessible from the application's details.

  2. After the list of applications using this connection are the mapping rules

    1. The standard mappings will usually be sufficient to translate the standard SAML attributes that the Identity Providers in the federation are sending to standard OpenID Connect Claims. You should not need the 'Standard OpenAthens' mapping.

    2. If they are not quite what you expect - for example email addresses are almost never sent by default - there are options to map and transform attribute names and values then apply them to a connection. See: Mapping SAML attributes to OIDC claims

  3. Next are the OpenAthens specific settings

    1. Enable access for your own OpenAthens accounts (Allow sign-in for your domain)

    2. Join the OpenAthens federation (Allow sign in by any OpenAthens domain - you still have control over who can access your application).

  4. Finally there are several other federations from around the world you can select.

    1. Selecting them only makes them available to your connection, it does not add you to their metadata and you will still need to join each federation you want to participate in.
  • No labels