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

For associate sites only, parse_skexport returns incorrect private key for tokens #303

Open
mpackard opened this issue Oct 16, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@mpackard
Copy link
Collaborator

current:
tokens = {"site_admin_privatekey": "JWTSIGNING_ADMIN_PRIVATEKEY"}

should be (e.g. for UH)
tokens = {"site_admin_privatekey": "JWTSIGNING_UHADMIN_PRIVATEKEY"}

Need to figure out how to handle for all cases.

@mpackard mpackard added the bug Something isn't working label Oct 16, 2023
@mpackard mpackard self-assigned this Oct 16, 2023
@mpackard
Copy link
Collaborator Author

Might have to add a new variable, i.e.
"if site_type = 2, must specify name of admin tenant", like "uhadmin"

Also might have to variablize the deployer version of parse_skexport and uppercase the admin tenant name

@mpackard
Copy link
Collaborator Author

@mpackard
Copy link
Collaborator Author

in host_vars we can set this, which might help:
skadmin_service_tenant_id: uhadmin

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants