-
Notifications
You must be signed in to change notification settings - Fork 3
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
[#293] update token configuration file namespaces #305
Conversation
docker/setup_configuration/data.yaml
Outdated
openklant_tokens_config_enable: true | ||
openklant_tokens: | ||
zgw_tokens_tokenauth_config_enable: true | ||
zgw_tokens_tokenauth: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I thought we mentioned to call this tokenauth_config_enable
? This prefix doesn't apply for Objects/Objecttypes, because those are not part of Zaakgericht werken
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@danielmursa-dev and I discussed that adding a prefix for the library that will be responsible for defining these tokens would be nice, because it takes away some work in advance as the configuration files will have the correct namespaces already, hence the zgw_tokens
prefix. I guess the question here is, how are we going to call the library and use that prefix?
Edit: maybe something like commonground_tokens
(so the namespaces becomes commonground_tokens_tokenauth
)?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm okay, I'll approve for now so that we can get the other PR in Objecttypes merged as well. We'll probably have to take a look at all the namespaces next week anyway
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I see that in https://github.com/maykinmedia/objecttypes-api/pull/135/files this was changed to just tokenauth
, could you change it to that as well? I think no prefix is better than a prefix that might be confusing
Fixes #293
Changes
Renames the configuration file namespaces for token configuration