Skip to main content

Linking KakaoCloud and IdP with Microsoft Entra ID

Microsoft Entra ID (formerly Azure AD) is an external identity provider provided by Microsoft that allows you to log in to KakaoCloud with a Microsoft account.
This tutorial guides you through how to manage your KakaoCloud organization by linking your IdP with Microsoft Entra ID.

Basic information
  • Estimated time: 40 minutes
  • Region: kr-central-1, kr-central-2
  • Pre-requisites
    • KakaoCloud as an Org Owner, create an organization
    • Create a Microsoft Entra ID tenant and register users
    • User accounts registered in the Microsoft Entra ID tenant
caution

After setting up the login account as an IdP, you cannot change it back to KakaoCloud.

IdP linkage

info

Step 1. Issue integration information from Microsoft Entra ID

  1. After logging in to the Microsoft Azure Portal, click the menu icon in the upper left corner and select the Microsoft Entra ID menu.

    Microsoft Entral ID Microsoft Entral ID

  2. Select the Management > App Registration menu on the left sidebar of Microsoft Entral ID, and select New Registration to register KakaoCloud as an app.

    App Registration > New Registration App Registration > New Registration

  3. In Application Registration, authenticate the user and register information so that the authentication response is returned to this URI. Application Registration Application Registration

    CategoryDescription
    NameEnter kakaocloud (name to be displayed as an application)
    Supported account typesSince you need to set login to only certain tenants, select Only accounts in this organization directory
    Redirect URI (optional)Type: Select Web
    Redirect URI: Enter a fixed URI, https://iam.kakaocloud.io/auth/oidc/callback
  4. In Basic Information, copy the Application (client) ID, which is the Client ID information, to the clipboard, etc.

    Registered application basic information Registered application basic information

  5. Click Endpoint, then copy the OAuth 2.0 Authorization Endpoint (v2) and OAuth 2.0 Token Endpoint (v2) information to the clipboard, etc.

    Copy Endpoint Information Copy Endpoint Information

    Endpoint InformationDescription
    OAuth 2.0 Authorization Endpoint (v2)Information entered in the Authorization URL field when registering a credential provider
    OAuth 2.0 Token Endpoint (v2)Information entered in the Token URL field when registering a credential provider
  6. Select Add Certificate or Secret to create a Client Secret.

    Add a certificate or secret Add a certificate or secret

  7. Click New client secret to add a client secret.
    When adding a client secret, you can only log in to the KakaoCloud Console within the set expiration time.

    Add client secret Add client secret

  8. Copy the newly created client secret value, which is the Client Secret information, to the clipboard, etc. If you leave the screen, you will not be able to check the Client Secret information, so be sure to copy the information to the clipboard.

    Copy client secret value Copy client secret value

  9. After completing the above task, you can obtain a total of 4 pieces of information: Client ID, Client Secret, Authorization URL, and Token URL.
    Please use this information when registering IdP in the login settings.

Step 2. IdP registration

After obtaining the linkage information in Step 1, access the KakaoCloud Console and register the IdP.

caution
  • Only the organization owner can link the IdP.
  1. Enter the organization name in the KakaoCloud Console and log in with the organization owner account.

  2. Select the Organization Management Icon > Organization Management menu.

  3. Select the [Login Settings] button.

    Login Settings Login settings

  4. Check the organization information on the login settings details page, select IdP Account, and then check the IdP linkage information from Step 1 and enter the linkage protocol and linkage information below.

    Enter Linkage Information Enter linkage information

    ItemCategoryDescription
    Integration ProtocolSelect OIDC (OAuth 2.0)
    Integration InformationIdP (Identity Provider)Select Azure Active Directory
    Authorization Integration TypeSelect POST body
    Authorization URLEnter information obtained from the OAuth 2.0 authorization endpoint (v2)
    Token URLEnter information obtained from the OAuth 2.0 token endpoint (v2)
    Client IDEnter information obtained from the application (client) ID
    Client SecretEnter information obtained from the value string of the client secret
  5. Click Test Integration to proceed with the IdP integration test. Enter the ID and password on the login screen of the external identity provider, and the test is completed if the integration is successful.

    Connection Test Complete Complete connection test

Step 3. Log in to KakaoCloud console

Change the existing account used to log in to the KakaoCloud Console to the External Credential Provider Account Linked to IdP.

  1. After accessing the KakaoCloud Console, log out of the KakaoCloud account you previously logged in to.

  2. Enter the organization name in KakaoCloud > Console Login and click the [Next] button.

  3. Microsoft Azure Login > Select Account, log in with the Microsoft Entra ID account linked to the IdP.

  4. You can confirm that you are logged in with an external credential provider account.


Register and manage users in your organization

info
  • All users in the Microsoft Entra ID tenant will not be automatically added as users in your KakaoCloud organization just by setting up the IdP linkage.
  • Therefore, users will be added only after the first login to the KakaoCloud Console with the Microsoft Entra ID account.
  • If the email address of a user already registered in your KakaoCloud organization is the same as the Microsoft Entra ID email address, you will be logged in as a registered IAM user.

Step 1. Register users in your KakaoCloud organization by logging in with IdP account

The process of automatically registering users in your KakaoCloud organization by logging in to the KakaoCloud Console with a Microsoft Entra ID account is as follows.

info

If you are not a user within the Microsoft Entra ID tenant (ex. new employee), registering a user within the tenant must be done first to log in to the KakaoCloud Console.

  1. Log in to the KakaoCloud Console with one account among the Microsoft Entra ID tenant users. Log in Log in

  2. Log out again and log in with the organization owner account.

  3. Select the Organization Management icon > User menu.

  4. You can confirm that the user logged in in step 1 is registered within the KakaoCloud organization. Check registered users Check registered users

Step 2. Grant and delete organization roles to users

info

If the email address of a user already registered within the KakaoCloud organization is the same as the Microsoft Entra ID email address, the user will log in as a registered IAM user.
Therefore, the roles and permissions granted to the user will be maintained.

The process of granting and deleting organization roles (organization leaders) to the user registered above is as follows.

Grant roles

  1. Log in to the KakaoCloud console with the organization owner (Owner) account.

  2. Select the Organization Management icon > User menu.

  3. Click Add organization role from the More icon of the registered user.

    Add organization role
    Add organization role

  4. In the organization role Settings, click Organization Leader (Reader), the role to be granted.

    Select Organization Leader Role Select Organization Leader (Reader) Role

  5. The Organization Leader (Reader) role is granted.

    Role Grant Complete

Delete role

  1. Log in to the KakaoCloud Console with the Organization Owner account.

  2. Select the Organization Management icon > User menu.

  3. Click Delete organization role from the More icon of the registered user.

    Delete organization role Delete organization role

  4. In the organization role Settings, check the Organization Leader (Reader) role to be deleted, and then click the Next button.

    Check the role to delete Check the role to delete

  5. After checking the role to delete, Organization Leader (Reader), click the Delete button to complete the role deletion.

    Delete Role Delete role


Delete User in Organization

If you need to delete a user completely within the organization (ex. a former employee), you can delete the user through the following process.

caution
  • If you delete a user only in the KakaoCloud Console, the user will be registered as a user again when logging in with an external credential provider account.
  • If you delete a user only in the Microsoft Entra ID tenant, the user will not be deleted within the KakaoCloud organization.
  • Therefore, both the Microsoft Entra ID tenant and the KakaoCloud Console must be deleted.

Step 1. Delete user within the Microsoft Entra ID tenant

  1. Log in to the Microsoft Azure Portal with an account that has user administrator rights, and then select the Microsoft Entra ID menu.

    Microsoft Entra ID Microsoft Entra ID

  2. Select the Member menu, then search for and check the user you want to delete.

    Check the user you want to delete Check the user to delete

  3. Click the Remove button at the top to remove the user.

    Delete Microsoft Entra ID User Delete Microsoft Entra ID User

Step 2. Delete User in KakaoCloud Organization

  1. Log in to the KakaoCloud Console with the organization owner account.

  2. Select the Organization Management icon > User menu.

  3. Check the user you want to delete and select Delete User.

    Delete User Delete user

  4. In the pop-up window that appears, enter the phrase "Delete User from Organization" and click Delete to complete deleting the user within the organization.

User deletion pop-up User deletion pop-up

Step 3. Confirm user deletion

If you log out of the KakaoCloud console again and try to log in by entering the deleted user account, you will see the error message below and be unable to log in.

Unable to log in as a deleted user Unable to log in as a deleted user