logo
This guide walks you through configuring Okta to integrate with Metalware for OIDC authentication.

1. Create an App Integration in Okta

  1. Sign into your Okta admin console.
  1. Navigate to Applications and select Create App Integration.
Image without caption
  1. When prompted, select the following options:
Image without caption
  1. Fill out the form, ensuring that the host IP and host port match the values of the machine running the Havoc Docker container.
Image without caption
  1. In this example:
  • The host machine running the Docker container is hmorty
  • The port being forwarded is 8085.
Image without caption
💡
DNS may be used instead of host IP, as shown above with local host name “hmorty”.
  1. Set user assignments as needed.
    1. If required, restrict access to specific groups. In this example, we allow all users in the organization to access Metalware.
Image without caption

2. Copy Your App Integration Credentials

To find the credentials for your app integration:
  1. On the General tab, the Client Credentials section shows the client ID and client secret values for your app integration.
  1. You can copy the Client ID and Client secret values using the Copy to Clipboard button beside each text field.
You will need the Client ID and Client Secret for installation.
Image without caption

3. Configure an Authorization Server

  1. Navigate to Security > API in the Okta admin console.
  1. Click Add Authorization Server.
Image without caption
  1. Set the audience to api://metalware/havoc
Image without caption
Image without caption
  1. Once the Authorization Server is created, open it and create an Access Policy.
Image without caption
  1. Define a policy that aligns with your security requirements.
Image without caption
  1. Add a Rule to specify authentication conditions.
Image without caption
  1. Your access policy should now look similar to the following:
Image without caption