Skip to content

Conversation

cesnietor
Copy link
Collaborator

Updates AddIDPConfiguration.tsx to use swagger api.

Other changes:

  • for some reason the consoleApi.ts file was not including the JSON type so I had to add the consumes parameter in the swagger yaml.

Test Steps

Configure your MinIO with an IDP as defined in here:

  1. Clone repo https://github.com/minio/minio-iam-testing
  2. Run:
# To use with Docker:
make docker-run
  1. Go to UI -> Administrator/Identity/OpenID
  2. Click on Create Configuration and fill in the following:
    config_url="http://localhost:5556/dex/.well-known/openid-configuration" \
    client_id="minio-client-app" \
    client_secret="minio-client-app-secret" \
    scopes="openid,groups,email,profile" \
    redirect_uri="http://127.0.0.1:10000/oauth_callback" \
    role_policy="consoleAdmin"
  1. Click on Save once the required fields are set
  2. Restart should be required
  3. Restart and Refresh page
  4. New Configuration should be listed

Screenshots:

Added configuration:
Screenshot 2024-01-18 at 2 54 47 PM

@cesnietor cesnietor merged commit 0c55e39 into minio:master Jan 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants