Skip to content
This repository was archived by the owner on Jun 23, 2023. It is now read-only.

Conversation

peppelinux
Copy link
Member

@peppelinux peppelinux commented May 15, 2021

  • fix: factory creates two different folder even If a private_path was defined in the general configuration
  • chore: small code refactor with linting

With this PR now I have a clean base directory.
I configured custom folders where to store private and public files, but oidc-op still creates a private/token_jwks.json as a duplicate of which i configured with the custom private_path.

digging in the code I found what it could be a silly bug, now it's fixed

- fix: factory creates two different folder even If a private_path was defined in the general configuration
- chore: small code refactor with linting
@peppelinux peppelinux requested a review from rohe May 15, 2021 14:31
@rohe rohe merged commit 96dd747 into develop May 16, 2021
@rohe rohe deleted the jwks_factory branch May 16, 2021 06:44
elif _keyd['kid'] == 'token':
token = _keyd

if code is not None:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@rohe
should it be if not code instead?

if these definitions already have been configured in the general conf, why should we have to overwrite them?
they would be created if those arguments are None and also configuration's key_defs are None.

Do you agree?
If it's the way Give me a sign of this, I'll push a PR for this

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok, you've already achieved this here
062dc1d

well done.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants