Configurating OIDC Single Sign-on
Create OneLogin application
- Access OneLogin and sign in.
- On the navigation bar, click
Administration
to access administrator mode, then click onApplications
to add a new application for integration.

- Click
Add App
to add a new application.

- Enter "OpenId Connect" in the search box and select
OpenId Connect (OIDC)
in the results panel.

- In the new page, fill in
Display Name
with MDCore-OIDC, for example, and clickSave
.

Create OIDC directory in MetaDefender Core
- Sign in to MetaDefender Core.
- In the dashboard, click on
User Management
in the left sidebar. - On
User Management
page, selectDirectories
tab and clickAdd Directory
in the top right corner.

- In
Add Directory
page, select OIDC asDirectory type
, and enter a name for the new directory, such as MDCore-OIDC. - Enter
Host or IP
where MetaDefender Core is hosted, for this example use https://127.0.0.1:8008. - Copy the string generated under
Login URL
.

Complete configuration in OneLogin
- Back to
Applications
screen in OneLogin. - Choose
Configuration
in the left side bar and paste value ofLogin URL
from MetaDefender Core intoRedirect URI's
field.

- In
SSO
of the left side bar, underEnable OpenID Connect
section, copyClient ID
,Client Secret
, andIssuer URL
.

- Click
Save
to complete.
Complete configuration in MetaDefender Core
- Switch back to MetaDefender Core. Under
Identity Provider
, clickFetch URL
, paste value ofIssuer URL
from OneLogin into the box below, clickOK
, and wait a moment for MetaDefender Core to check and set OneLogin as its IdP.

- Under
Service Provider
, paste the values ofClient ID
andClient Secret
from OneLogin into the boxes labeledClient ID
andClient secret
, respectively.

- Fill in
User Identified By
with ${given_name}. - Select
Default role
option, choose the appropriate role underUser Role
, and clickAdd
to complete.

- In
User Management
page, toggle the new directory, MDCORE-OIDC in this example. A dialog box will appear to confirm the action. OnceEnable
is clicked, all sessions will expire immediately.

Test the integration
- On the home screen of MetaDefender Core, click
Login
; the user is redirected to OneLogin page.

- Sign in using the account registered with OneLogin.
- If everything goes well, MetaDefender Core dashboard is displayed with the user identity in the top right corner.

- Otherwise, access backup login page at
<mdcore-host>#/public/backuplogin
for trouble shooting.
Was this page helpful?