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

Services in admin tenant cannot create clients in other tenants #96

Open
joestubbs opened this issue Aug 17, 2024 · 0 comments
Open

Services in admin tenant cannot create clients in other tenants #96

joestubbs opened this issue Aug 17, 2024 · 0 comments
Assignees

Comments

@joestubbs
Copy link
Contributor

Currently, Tapis services, such as the Pods service, need to create OAuth clients for users in different tenants, but using a service account token and the x_tapis_* variables results in creating clients in the admin tenant because the x_tapis_* variables are effectively ignored. The ultimate issue appears to be the use of g.tenant_id instead of g.request_tenant_id, e.g., in various controllers and in the get_derived_values() function within the models. We need to sweep across the code base and check any uses of g.tenant_id.

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

No branches or pull requests

2 participants