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

Allow oidc jwt injection in the helm charts #410

Closed
alexisdondon opened this issue Nov 8, 2022 · 0 comments
Closed

Allow oidc jwt injection in the helm charts #410

alexisdondon opened this issue Nov 8, 2022 · 0 comments
Assignees

Comments

@alexisdondon
Copy link
Contributor

alexisdondon commented Nov 8, 2022

We should allow oidc token injection in the helm charts if values.schema.json specify it to propagate the identity of the user in the container launched.

In order to do that we need to add in OnyxiaValues https://github.com/InseeFrLab/onyxia-web/blob/2bef7775601f421b9fa4be0512ad4310cc780e0c/src/core/ports/OnyxiaApiClient.ts#L154-L210

maybe a new key:

 oidc: { 
        token: string; 
        refreshToken: string; 
     }

we could then use it in values.schema.json with {{oidc.token}} and {{oidc.refreshToken }}
To do that we need to retrieve this values probably here https://github.com/InseeFrLab/onyxia-web/blob/2bef7775601f421b9fa4be0512ad4310cc780e0c/src/core/usecases/launcher.ts#L984

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants