Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 

Repository files navigation

image

Okta Tenant Setup & Configuration

This project demonstrates the foundational configuration of an Okta Identity Provider (IdP) tenant from the ground up, simulating the initial setup responsibilities of an IAM Analyst or Identity Engineer in an enterprise environment. Starting with org initialization and brand customization, the lab walks through building a production-ready Okta org for a fictional company, Kennon Technologies, including custom profile attribute design, user identity creation, group structure, dynamic group rule automation, authentication policy configuration, global session management, and authenticator enrollment policy enforcement. All configurations are hands-on in a live Okta trial org and reflect real-world IAM practices around identity lifecycle management, access policy design, and directory administration. The lab serves as the foundational layer for subsequent Okta labs covering Active Directory integration, SAML SSO, SCIM provisioning, lifecycle automation, and access governance.


Prerequisites

This is the first lab of the Okta IAM Lab Series. The following are required before starting the series:

  • Okta Trial Org — Sign up for a free Okta trial org at developer.okta.com
  • GitHub Account — Required to follow along with lab documentation and host your own portfolio

Environments and Technologies Used

  • Okta Identity Cloud (Trial Org)
  • Okta Admin Console
  • Okta Universal Directory
  • Okta Profile Editor
  • Okta Group Rules & Expression Language
  • Okta Authentication Policies
  • Okta Global Session Policy
  • Okta Authenticator Enrollment Policy

Table of Contents


1) Organization Initialization

Organization initialization configures the foundational identity of the Okta org including the company name, contact information, and address. These settings appear in Okta-generated emails and audit logs and establish the org as belonging to Kennon Technologies.

  1. In the Okta Admin Console open the Settings tab then select Account
  2. In the Organization Contact section select Edit
  3. Fill out the company information with the following information:
  • Company Name: Kennon Technologies
  • Telephone Number: 999-999-9999
  • Address: 100 1st Street
  • City: Fort Worth
  • State: Texas
  • Zip Code: 76107
  • Country: United States of America
  1. Save

image


2) Branding

Branding customizes the visual identity of the Okta org by uploading a company logo, setting a primary color, and configuring a favicon. This ensures users interact with a sign-in experience that reflects Kennon Technologies rather than a generic Okta tenant.

  1. Open the Customizations tab then select Brands then select Create Brand

  2. On the Theme page make the following changes:

  3. Save

image

  1. On the Pages tab select Configure on the Sign-In Page
  2. Check the Solid Background option then Save and Publish

image

  1. Do the same for the End-User Dashboard and the Error Pages

image


3) Create a User Identities

User identities represent individual employees in the Okta Universal Directory. Creating user accounts with accurate profile information establishes the foundation for group membership, application access, and lifecycle management throughout the lab.

  1. Open the Directory tab then select People then select Add Person

  2. Create a User Identity with the following information

  3. Save and Add Another

image

  1. Create a second User Identity with the following information:

  2. Save and Add Another

image

  1. Create a third User Identity with the following information:

  2. Save

image


4) Add Custom Profile Attributes

Custom profile attributes extend the default Okta user schema to capture organization-specific data that doesn't exist in the standard profile. These attributes can be used for reporting, group rule logic, and attribute mapping to downstream applications.

  1. Open the Directory then Profile Editor then select User (default)
  2. Select Add Attribute then create an Attribute with the following information:
    • Data Type: String
    • Display Name: Employee ID
    • Variable Name: employeeID
    • Description: Unique HR System Identifier
    • User Description: Hide

image

  1. Save and Add Another
  2. Create a Second Attribute with the following information:
    • Data Type: String
    • Display Name: Start Date
    • Variable Name: startDate
    • Description: The User's Employment Start Date
    • User Description: Read Only

image

  1. Save

5) Update Attributes on User Identities

Populating custom attributes on user identities validates that the new schema fields are functioning correctly and ensures each user has accurate department, employee ID, and start date information that will drive downstream group assignment and access decisions.

  1. Open the Directory then People

  2. Select John Smith then the Profile tab then click Edit

  3. Find the Attributes and enter the following Attribute information:

    • Department: Finance
    • Employee ID: EMP-00057
    • Start Date: 2026-03-26
  4. Save

image

  1. For Jane Doe make and save the following attribute information:
    • Department: IT
    • Employee ID: EMP-00017
    • Start Date: 2024-01-17

image

  1. For Bob Johnson make and save the following attribute information:
    • Department: Human Resources
    • Employee ID: EMP-00012
    • Start Date: 2023-06-12

image


6) Create Groups

Groups in Okta are used to organize users and control access to applications and policies. Creating department-based groups establishes the access structure that will be used to assign application access, session policies, and authenticator enrollment requirements.

  1. Open the Directory tab then select Groups then select Add Group

  2. Create a Group using the following information:

    • Name: Kennon Technologies Employees
    • Description: Standard Kennon Technologies Employees
  3. Save

image

  1. Create 3 additional groups named:
    • Finance
    • IT
    • Human Resources

7) Manually Assign Users to a Group

Manually assigning users to the Kennon Technologies Employees group demonstrates direct group membership management and establishes the base group that will be referenced in the Global Session Policy and Authenticator Enrollment Policy configurations.

  1. Open the Directory tab then select Groups
  2. Select Kennon Technologies Employees and open the People tab
  3. Select Assign People
  4. Find John Smith, Jane Doe, and Bob Johnson then press the + next to their names
  5. Done

image


8) Create Group Rules

Group rules use Okta Expression Language to automatically assign users to groups based on their profile attribute values. This eliminates the need for manual group management and ensures users are always placed in the correct department group as their profile information changes.

  1. Open the Directory tab then select Groups

  2. Select the Rules tab then select Add Rule

  3. Create a Group Rule with the following information:

    • Rule Name: Assign Finance Users
    • If: User Attribute Department Equals Finance
    • Assign To: Finance
  4. Save

image

  1. To the Right of the Assign Finance Users rule select Actions then select Activate

image

  1. Create a second Group Rule with the following information:

    • Rule Name: Assign IT Users
    • If: User Attribute Department Equals IT
    • Assign To: IT
  2. Save and Activate the rule

image

  1. Create a third Group Rule with the following information:

    • Rule Name: Assign Human Resources Users
    • If: User Attribute Department Equals Human Resources
    • Assign To: Human Resources
  2. Save and Activate the rule

image


9) Create an Authentication Policy

Authentication policies define the security requirements users must meet to access applications assigned to that policy. Creating a dedicated policy for Kennon Technologies employees establishes a baseline access control layer separate from Okta's default policy.

  1. Open the Security tab then go to Authentication Policies

  2. Select App Sign-In then Create Policy

  3. Create an Authentication Policy with the following information:

    • Name: Standard Employee Policy
    • Description: Requires MFA for All Employees
  4. Create Policy

image

  1. With the Standard Employee Policy open select Add Rule
  2. For the First Rule enter the following information:
    • Rule Name: Password Only
    • Then Access Is: Allowed After Successful Authentication
    • And User Must Authenticate With: Password

image

  1. Save then Add Rule again
  2. For the Second Rule enter the following information:
  • Rule Name: Require MFA
  • Then Access Is: Allowed After Successful Authentication
  • And User Must Authenticate With: Password + Another Factor

image

  1. Save

10) Create a Global Session Policy

The Global Session Policy controls how long a user's Okta session remains active across all applications. Configuring session lifetime and idle timeout settings ensures that inactive sessions are terminated automatically, reducing the risk of unauthorized access from unattended devices.

  1. Open the Security tab then select Global Session Policy then select Add Policy

  2. Create a Global Session Policy with the following information:

    • Policy Name: Standard Session Policy
    • Description: Standard Session Settings for Kennon Technologies Employees
    • Assign to Groups: Kennon Technologies Employees
  3. Create Policy and Add Rule

image

  1. For the Global Session Policy Rule enter the following information

    • Rule Name: Standard Session Rule
    • Maximum Okta Session Lifetime: 8 Hours
    • Maximum Idle Time: 2 Hours
    • Persist Session Cookies: Disable
  2. Create Rule

image


11) Create an Authenticator Enrollment Policy

Authenticator enrollment policies control which authentication methods users are permitted to enroll in and under what conditions. Configuring a dedicated enrollment policy for Kennon Technologies employees ensures that authenticator registration is governed by organizational policy rather than left to individual user preference.

  1. Open the Security tab then select Authenticators

  2. Select the Enrollments tab then select Add a Policy

  3. Create an Authenticator Enrollment Policy with the following information:

    • Policy Name: Employee Enrollment Policy
    • Description: Authenticator Enrollment Requirements for Kennon Technologies Employees
    • Assign to Groups: Kennon Technologies Employees
  4. Create Policy

image

  1. For the Authenticator Enrollment Rule enter the following information:

    • Rule Name: Employee Enrollment Rule
    • If User's IP is: Anywhere
    • And User is Accessing: Check Okta and Applications and Any Specific Application the Supports MFA Enrollment
    • Then Enrollment is: Allowed for All Authenticators
  2. Create Rule

image


Note: This lab is intentionally left open. The Okta org configured here serves as the foundation for all subsequent Okta labs in the Okta IAM Lab Series.


Lab 2 — Okta Active Directory Integration ➡

About

Foundational Okta tenant configuration — org setup, branding, custom profile attributes, groups, group rules, authentication policies, and enrollment policies.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors