NASA-IMPACT / veda-backend

Backend services for VEDA
Other
11 stars 5 forks source link

Multiple auth users configurable in veda-monitoring #354

Closed smohiudd closed 3 months ago

smohiudd commented 5 months ago

What

The veda-monitoring deploys Grafana and an Otel collector in Fargate. There is currently one user configured in this deployment however we need the option to configure more. This ticket requires exploring and implementing the option to add additional users.

CSDA is using github authentication: https://github.com/NASA-IMPACT/csda-monitoring/blob/b50a4100978ceec56cbf33382d0377725f4a02dc/stacks/grafana.py#L301-L314.

Another option is to integrate Keycloak provided by veda-auth. Grafana keycloak documentation.

PI Objective

Objective 5: Tracking Backend Usage With Analytics

Acceptance Criteria

smohiudd commented 3 months ago

We deployed a Grafana instance using genetic OAuth settings in veda-monitoring using the following endpoints:

http://18.191.42.248:8081/api/v1/identity-management/authorize http://18.191.42.248:8081/api/v1/identity-management/token http://18.191.42.248:8081/api/v1/identity-management/user

Here is the Grafana link: https://d1z1g2cnqbz2id.cloudfront.net/

We're receiving an Unexpected error occurred error when attempting to login.

smohiudd commented 3 months ago

The Grafana dashboard has been configured to use veda-auth-central however further troubleshooting is required on the auth implementation. This is being tracked in the auth-central ticket: https://github.com/NASA-IMPACT/veda-auth-central/issues/60#issuecomment-2187916402