You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 8 Next »

Introduction

Finna has support for OpenID Connect that allows third parties to request user authorization while giving the user control over the process. The user can see what information is being requested and grant or deny the request case by case.

See OpenID Connect Primer for an introduction into OIDC and how the process works.

Instructions and Guidelines

  • Please contact [email protected] first.
  • The service is only available on agreement.
  • Make sure to request only the bare minimum of information you need for required functionality. For instance if you need to know user's age, use the age scope instead of birthdate.
  • Please note that Finna consists of different instances for specific audiences. To limit the eligible user accounts, use the OIDC provider of a specific instance instead of finna.fi.

Supported functionality

Finna supports the authorization code flow.

The following scopes are available in addition to the standard scopes openid, profile, email, address and phone defined by the OIDC specification:

ScopeDescription
idUser's unique identifier in Finna
nameUser's name (full name, first name, last name)
ageUser's age calculated from birthdate (see below)
birthdateUser's birthdate returned by a library for a library card
localeUser's current language
block_statusWhether the user has blocks (e.g. a borrowing block) placed for their library card. Possible values are true (blocks set), false (no blocks) or null (status unknown)
library_user_idA unique one-way hash of user's identifier in the library system
library_cardUser's library card number
auth_methodUser's primary authentication method
  • No labels