SSO Configuration

Configure single sign-on for your organization.

Supported Protocols

SAML 2.0

Enterprise SSO standard:

  • Azure AD
  • Okta
  • OneLogin
  • Google Workspace
  • ADFS

OAuth 2.0

Social and cloud providers:

  • Google
  • Microsoft
  • GitHub

SAML Setup

Step 1: Gather Information

From your identity provider:

  • Entity ID
  • SSO URL
  • Certificate

From DNLearn:

  • SP Entity ID
  • ACS URL
  • Metadata URL

Step 2: Configure IdP

In your identity provider:

1. Create new SAML app

2. Enter DNLearn URLs

3. Configure attributes

4. Download metadata

Step 3: Configure DNLearn

1. Admin > Authentication > SAML

2. Upload IdP metadata

3. Map attributes

4. Test connection

Attribute Mapping

Map IdP attributes to DNLearn:

  • Email (required)
  • First name
  • Last name
  • Role
  • Department

OAuth Setup

Google OAuth

1. Create Google Cloud project

2. Enable OAuth API

3. Create credentials

4. Enter in DNLearn settings

Microsoft OAuth

1. Register app in Azure AD

2. Configure permissions

3. Copy client ID/secret

4. Enter in DNLearn settings

Testing

Test Login

1. Use test account

2. Verify attribute mapping

3. Check role assignment

4. Confirm logout

Troubleshooting

  • Check certificate validity
  • Verify clock sync
  • Review SAML response
  • Check attribute names

Best Practices

1. Test thoroughly before rollout

2. Have backup admin access

3. Document configuration

4. Plan for certificate renewal