Skip to main content

Dex Quickstart Guide

Dex is an identity service that uses OpenID Connect to drive authentication for apps. Dex acts as a portal to other identity providers through “connectors.” This lets dex defer authentication to LDAP servers, SAML providers, or established identity providers like GitHub, Google, and Active Directory. Clients write their authentication logic once to talk to dex, then dex handles the protocols for a given backend.

Prerequisites

Install Dex by following Dex Getting Started Guide

Start Dex

Configure MinIO server with Dex

Run the web-identity.go

Contents of allaccess.json

Visit http://localhost:8080

You will be redirected to dex login screen - click “Login with email”, enter username password
username: admin@example.com password: password
and then click “Grant access” On the browser now you shall see the list of buckets output, along with your temporary credentials obtained from MinIO.
Now you have successfully configured Dex IdP with MinIO.
NOTE: Dex supports groups with external connectors so you can use groups as policy claim instead of name.
and add relevant policies on MinIO using mc admin policy add myminio/ <group_name> group-access.json

Explore Further