Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add oidc keys to mongo db #665

Merged
merged 5 commits into from
Jun 21, 2023
Merged

Add oidc keys to mongo db #665

merged 5 commits into from
Jun 21, 2023

Conversation

vjrj
Copy link
Collaborator

@vjrj vjrj commented Jun 15, 2023

This PR:

  • Add clientId and clientSecret new variables per each services
  • Allow to add this keys to mongo services cas db

It's similar to this task and allows to tools like the la-toolkit to generate and add the oidc keys in the mongo db automatically for all the services.

image

In the db:

image

In my test inventories:

collectory_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
collectory_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ala_hub_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ala_hub_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
biocache_service_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
biocache_service_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ala_bie_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ala_bie_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
bie_index_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
bie_index_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
images_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
images_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lists_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
lists_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
regions_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
regions_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
logger_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
logger_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
spatial_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
spatial_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
dashboard_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
dashboard_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
alerts_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
alerts_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
doi_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
doi_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
sds_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
sds_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
data_quality_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
data_quality_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
biocollect_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
biocollect_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ecodata_client_id = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
ecodata_client_secret = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Using generator-living-atlas v1.4.1.

Thanks @djtfmartin and @sughics for their support.

@vjrj vjrj marked this pull request as draft June 15, 2023 18:04
@vjrj vjrj marked this pull request as ready for review June 16, 2023 12:13
@vjrj vjrj requested a review from sughics June 16, 2023 12:14
@vjrj vjrj merged commit 0856e2c into master Jun 21, 2023
@vjrj vjrj deleted the oidc-vars branch November 22, 2023 18:04
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.

2 participants