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

DIG-1652: don't pass on admin_secret to opa calls #26

Merged
merged 2 commits into from
May 27, 2024

Conversation

daisieh
Copy link
Member

@daisieh daisieh commented May 23, 2024

After CanDIG/candig-opa#62, opa calls won't need the admin secret to be passed in. While the methods still accept the parameter for backwards compatibility, it won't do anything, and won't be passed on to the Opa call.

I also added a get_user_id method that is the same as get_user_email, for future compatibility (in case CANDIG_USER_KEY is not email).

@daisieh daisieh requested a review from kcranston May 27, 2024 18:08
@daisieh daisieh merged commit e13c457 into develop May 27, 2024
3 checks passed
@daisieh daisieh deleted the daisieh/no-opa-secret branch May 31, 2024 23:15
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