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

Airflow/Cognito Integration #212

Open
LucaCinquini opened this issue Sep 18, 2024 · 5 comments
Open

Airflow/Cognito Integration #212

LucaCinquini opened this issue Sep 18, 2024 · 5 comments
Assignees
Labels
Feature Feature label used in Unity Project U-SPS

Comments

@LucaCinquini
Copy link

LucaCinquini commented Sep 18, 2024

We need to have Users log in to Airflow using Cognito account.

@LucaCinquini LucaCinquini converted this from a draft issue Sep 18, 2024
@LucaCinquini LucaCinquini added the Feature Feature label used in Unity Project label Sep 18, 2024
@LucaCinquini LucaCinquini self-assigned this Sep 18, 2024
@mike-gangl
Copy link
Contributor

Gherkin should include

login via UI (manual)
token login via airflow API
token login via OGC endpoint

@rtapella
Copy link
Collaborator

login via unity-sds-client

@LucaCinquini
Copy link
Author

System Validation Criteria:
o Unity developers that have a Cognito account can login to the Airflow UI via a web browser
o Successful execution of the Gherkin tests for:

  • Cognito token login via airflow API
  • Cognito token login via OGC endpoint

@GodwinShen
Copy link

@nikki-t successfully demo'd Cognito integration, work with @jpl-btlunsfo to work out the call back.

@GodwinShen GodwinShen moved this from Todo to In Progress in Unity Project Board Oct 22, 2024
@LucaCinquini
Copy link
Author

It was decided that the Cognito authentication will be handled by the top level shared services proxy.

What is working right now for SPS:

  • The top-level shared service proxy is protected by Cognito authentication
  • HTTP(s) requests are correctly proxied from top-level proxy to mid-level proxy to Airflow

What still needs to be implemented:

  • We need to be able to use the Cognito token for Airflow and OGS API requests
  • Once the above is working, remove the Airflow login from the mid-proxy and prevent direct access to the mid-proxy

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Feature label used in Unity Project U-SPS
Projects
Status: In Progress
Development

No branches or pull requests

5 participants