Authentication with Okta
The following sections describe how to set up your Dropzone instance with Okta as the OIDC provider.
Enabling OIDC with Okta involves the following steps:
Creating the OIDC application in Okta
Updating the Application Profile to support Dropzone attributes
Assigning Users to the Dropzone Application
Configuring OIDC values for your Dropzone Environment
Create the OIDC application in Okta
Go to Applications > Applications
Click Create App Integration
"Create a new app integration" screen opens
In "Sign-in Method" section, select "OIDC - OpenID Connect"
In "Web Application" section, select "Web Application"
Click Next
"General Settings" screen opens
Set "App integration name" field to a useful value, such as "Dropzone AI"
"Proof of possession" section: leave as default
"Grant type " section: leave as default
"Sign-in redirect URIs" section
You must add two URIs to this list - the bare https URL of your Dropzone environment, and a second one including
/oidc/callbackat the endIf your user-facing URL is dropzone.example.com, then you would add the following two URLs:
https://dropzone.example.nethttps://dropzone.example.net/oidc/callback/

At this point you should have a Dropzone application.
Update the Application Profile
Next we set up the application profile to support the attributes such as role.
Go to Directory > Profile Editor
In "Filters" select "Apps"
Click on the Application you just made

Add three new attributes
Click "Add Attribute"
Set the "Data Type", "Display Name", "Variable Name", and "Description" fields based on the following table
Click "Save"
Repeat for the remainder of the attributes
string
First Name
first_name
First Name
string
Last Name
last_name
Last Name
string
Full Name
full_name
Full Name
Add the Role attribute
Data Type: string array
Display Name: Dropzone Roles
Variable Name: roles
Description: Dropzone Roles
Click the "Define enumerated list of values" checkbox
Add three entries, one for each role type
Admin =>
adminMember =>
memberRead Only =>
restricted-read-only
Click "Save"

When complete, these four attributes should show on the Application Profile

Assign Users to the Dropzone Application
Configure which users are allowed to log into Dropzone.
Go to the newly created application in Okta
Click on the "Assignments" tab at the top
Click "Assign" > "Assign to People"
This will open a view of the user's profile, including our custom attributes
Set the First Name / Last Name / Full Name fields
Set the Role(s) you want for the user
Click "Save"
Repeat until you've added all the people/groups who should have access
Click "Done"

Configure OIDC values for your Dropzone Environment
You need to congfigure OIDC values so your Dropzone Environment will talk to your IDP.
Log into the machine running your Dropzone environment, e.g. via
sshChange to the
/opt/dropzone/deploydirectoryEdit the
config.ymlfileFind the oidc section, which will look similar to the following
Edit this to include the necessary values; replace
my-okta-idp.example.netwith your actual IDP URL:style:manuallogout-redirect-url:"https://my-okta-idp.example.net/login/signout"op-auth-endpoint:"https://my-okta-idp.example.net/oauth2/v1/authorize"op-jwks-endpoint:"https://my-okta-idp.example.net/oauth2/v1/keys"op-token-endpoint:"https://my-okta-idp.example.net/oauth2/v1/token"op-user-endpoint:"https://my-okta-idp.example.net/oauth2/v1/userinfo"rp-token-endpoint:"https://my-okta-idp.example.net/oauth2/v1/token"client-id- you'll find this value as followsGo to Applications > Applications
Select your newly created application
In the "General" tab, copy the value of the "Client ID" field
Use this for the
client-idvalue inconfig.yml
client-secret - you'll find this value as follows
Go to Applications > Applications
Select your newly created application
In the "General" tab, find the
CLIENT SECRETSsectionThere should be a client secret entry with today's date - copy this value
Use this for the
client-secretvalue inconfig.yml
Once complete, restart the Dropzone platform
Was this helpful?