-
Notifications
You must be signed in to change notification settings - Fork 147
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
Keyword preservation fails for client grants #855
Comments
@DevinRiley Thanks for submitting this issue. I'm able to reproduce and I recognize the issue. The problem here is the ordering that the client ID and client name happens with respect to keyword preservation. This exchange is what allows the client name to be expressed in the I attempted to address this issue by moving the ID-name exchange closer to the root of the process but I'm incurring issues maintaining backwards compatibility. Specifically, I need to be able to preserve the ability to deploy client grants based on their names and IDs and preserve them on export. I'm particularly nervous about modifying these areas of code because we've had a number of issues pertaining to client grants recently and don't want to disturb the stability. We will need more time to investigate a proper fix for this. Possible workaround
clientGrants: '@@CLIENT_GRANTS@@'
|
I have problem to preserve audience in clientGrant. I think It may be related to this. It is actually a big blocker for us to have smooth tenant deployment among environments. |
I am having this issue as well. I was able to fix it by downgrading to |
Checklist
Description
When I dump config to my
tenant.yml
file, it doesn't preserve keywords for my client grants. This appears to be related to this PR based on the caveat made in that PR description and my own testing between versions7.18.0
and7.19.0
Before:
Run
a0deploy dump -c=config-dev.json --format=yaml --output_folder=resources
After:
This is a problem for us because we deploy this tenant yaml to different environments and need the keyword replacements to work for each environment.
Expectation
I'd expect keywords to be preserved in the
tenant.yml
file.Reproduction
I have only encountered this on my actual tenant, but I believe you could reproduce by settings up multiple client grants that use the same
client_id
Deploy CLI version
7.19.0
Node version
14.19.3
The text was updated successfully, but these errors were encountered: