Use Cases
HomeIntegrityControlManagement CenterSolutions
  • Get Started
  • Integrity | Access
    • Auth. methods
      • LDAP (Username/Password)
      • LDAP (Username/Password) + OTP (SMTP)
      • LDAP (Username/Password) + OTP (SMS)
      • Swedish BankID
      • Microsoft Entra ID (SAMLSPBroker)
      • Foregin eID (SAMLSPBroker)
    • Auth. methods (SAML)
      • One-Time Password (OATH)
      • Inera IdP (SITHS) (SAMLSPBroker)
      • ID-porten (Norway) (SAML IdP with OIDC RP)
      • Multiple SAML IdP's configured
        • Multiple JSON files
    • Auth. methods (OIDC)
      • Static values (OIDC) - Test only
      • Swedish BankID (OIDC)
      • UID/PWD (OIDC)
    • Auth. methods (MISC)
      • Selector filtering
      • AuthZ control
      • External links and Cancel location
    • Add a Federation or SAML SP
  • Integrity | Portal
    • Portal
  • Integrity | Enrollment
    • Software token (OATH)
    • Best practice configuration
  • Integrity | Radius
    • UID/OATH token
    • UID/Password/OATH token
    • UID/Password/SMTP
  • Integrity | API
    • Swedish Siths eID
    • Oath Token
  • Control | Applications
    • Password Reset
    • Password Reset for Entra ID
    • Password Reset for Google Workspace
  • OPERATION
    • Rolling upgrade - cluster
  • TROUBLESHOOTING
    • Wrong relaystate
  • Misc
    • Address configuration externally
    • ADFS
      • Protect Fortified ID apps
      • Install and configure Fortified ID ADFS adapter for Siths eID
      • Install and configure Fortified ID ADFS adapter for Oath
    • AWS
      • Protect AWS Cognito with eID MFA
      • Protect AWS IAM Identity Center with eID MFA
    • Customization
      • Overlay - WEB
      • Overlay - Portal
      • Overlay - Password Reset
      • Overlay - Enrollment
      • Logout page
    • Dependency-Track - protect with eID MFA and SSO
    • Digitala Nationella Prov (DNP) / Skolfederation
      • Active Directory Federation Services (ADFS) with BankID as step-up-method
      • Active Directory / LDAP with BankID as step-up-method
      • Entra ID (Azure AD) with BankID as step-up-method
      • Google with BankID as step-up-method
      • Generate eduPersonPrincipalName (eppn) and store in Google
      • Generate eduPersonPrincipalName (eppn) and store in Entra ID
      • Common configuration
    • Encrypt configuration secrets
    • Microsoft Entra
      • Protect Entra ID (Azure AD) with eID MFA
      • Entra External - Support for eID (SAML)
      • Entra External - Support for eID (OIDC)
    • Expressions
    • Google
      • Common configuration for Google Workspace - Directory API
      • Common configuration for Google Workspace - authentication for Fortified ID products
      • Delegated administration for Google Workspace - teacher updates student guardians
      • Delegated administration for Google Workspace - teacher updates student password
      • Protect Google Workspace with eID MFA
    • HTTPS
    • Protect sensitive data, such as social security numbers, through obfuscation
    • Reverse proxy
      • Install Apache Web Server on Windows
      • Add SSL certificate and enable https
      • Add a Fortified ID virtual host
    • Set AuthnContextClassRef
    • Wiki.js - OpenID Connect (OIDC)
Powered by GitBook
On this page
  • Scenario
  • Prerequisite
  • Download and add configuration
  • Update the Entra ID configuration
  • Update the configuration to map to your environment
  • Test
  • NB!
  1. Misc
  2. Digitala Nationella Prov (DNP) / Skolfederation

Generate eduPersonPrincipalName (eppn) and store in Entra ID

PreviousGenerate eduPersonPrincipalName (eppn) and store in GoogleNextCommon configuration

Last updated 6 months ago

Scenario

To make authentication to DNP work, the IdP must send a eppn value to DNP. The eppn value must be unique for each individial over time.

In this scenario, Fortified ID will automate the generation of eppn for each individual and store the value on the user object in Entra ID.

We recommend using Forms for this configuration, although it may be added to Integrity/Access as well.

! This scenario could easily be copied and modified to fulfill other DNP eppn scenarios.

  • Store the generated value in another user data source, such as Active Directory, Google, other LDAP or SQL.

Prerequisite

There are some prerequisite for this use case. You will need the following:

  • Entra ID administration rights, including Attribute Assignment Administrator and Attribute Definition Administrator

  • Outgoing TCP/443 communication. To be able to communicate with Entra ID (MS Graph API).

  • Forms installed.

Download and add configuration

Remember that this use case does not describe installation of the product. Product is expected to be installed in advance.

  1. Download ZIP containing configuration for Forms

    1. Click to download customer folder for Forms.

  2. Add Forms configuration to your environment.

    1. Rename the existing customer folder to customer_ORG. Add the customer folder to your \..\fortifiedid\forms\ folder.

Update the Entra ID configuration

Create App Registration

  • Login to Entra ID as an administrator

  • Select App Registrations

  • Click New Registration

  • Enter a name of the app registration, Fortified ID eppn generator

  • Select Accounts in this organizational directory only (<tenant_name> only - Single tenant)

  • Register

  • Click on the App Registration in the list

  • Select API permissions

  • Add permissions

    • Microsoft Graph->Application Permissions->User.ReadWrite.All

    • Microsoft Graph->Application Permissions->CustomSecAttributeAssignment.Read.All

    • Microsoft Graph->Application Permissions->CustomSecAttributeAssignment.ReadWrite.All

  • In the Overview section, copy these values (they will be used in later steps):

    • Application (client) ID

    • Directory (tenant) ID

  • Generate a keystore in p12 format.

    • Name the p12 file enterprise_app_keystore.p12

  • Select Certificates & secrets

  • Select Certificates

  • Click Upload certificate

  • Select the certificate file

  • Click Save

Add custom security attribute for eppn (this part is only accessible from entra.microsoft.com)

  • Select Custom attributes

  • Select Add attribute set

  • Name the set FortifiedID

  • Click Add

  • Click Add attribute

  • Set Attribute name = eppn and Data type = string

Update the configuration to map to your environment

Place the file enterprise_app_keystore.p12 in the folder customer/config/resources/certificates/entra/. (Replace if a file already exists)

Open the file customer/config/globals.json. Change according to the instructions below.

  1. EntraID

Set client_id and tenant_id to the values fetched in previous steps (Application (client) ID and Directory (tenant) ID)

.

Example:

"EntraID": {
        "tenant1": {
            "namespace": "tenant1",
            "client_id": "123-123-123-123-123-123",
            "tenant_id": "456-456-456-456-456-456"
        }
    },
  1. keystore->MS_Entra_ID_tenant_1

Change the password (password) to the private key password of enterprise_app_keystore.p12.

Example:

"MS_Entra_ID_tenant_1": {
            "path": "${globals.file_paths.base_dir}/config/resources/certificates/entra/enterprise_app_keystore.p12",
            "password": "Summer2024f234",
            "type": "PKCS12"
        }

Save the file.

Test

Start the service.

Verify startup by viewing the log files. Any error - fix accordingly.

Check that your Entra ID accounts were updated with the eppn value.

NB!

The eppn automation job will run on startup and then every 10 minutes.

You can modify the schema interval in scheduler.json. Change the cron job syntax to suite your needs. "run_on_start": true, "schedule": "0 0/15 * * * ?",

Extract the certificate chain from the keystore file, . This should result in a certificate file that will be used in next step.

USE_CASE_LINK
using this guide