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

Finalised Token Service fixes and improvement #214

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

victorskl
Copy link
Member

  • Removed policy sid as advice
  • Tuned policy based on Policy Sim
  • Tuned cognitor implementation
  • Deprecated module helper.py
  • Fixed and improved module impl rotate_service_jwt.py
  • Fixed and improved module impl rotate_service_user.py
  • Improved README.md

* Removed policy sid as advice
* Tuned policy based on Policy Sim
* Tuned cognitor implementation
* Deprecated module helper.py
* Fixed and improved module impl rotate_service_jwt.py
* Fixed and improved module impl rotate_service_user.py
* Improved README.md
@victorskl victorskl self-assigned this Apr 10, 2024
@victorskl victorskl added the fix label Apr 10, 2024
Copy link
Member

@reisingerf reisingerf left a comment

Choose a reason for hiding this comment

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

LGTM

return ''.join(
random.SystemRandom().choice(string.ascii_letters + string.digits + '!@#$%&.') for _ in range(length)
random.SystemRandom().choice(string.ascii_letters + string.digits + '_-!@#%&.') for _ in range(length)
Copy link
Member

Choose a reason for hiding this comment

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

Ah, user pool password policy demands at least one special character.... right!

Copy link
Member Author

Choose a reason for hiding this comment

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

Yup. We can tune that though. But, let better be some symbols there, Flo.

Copy link
Member

Choose a reason for hiding this comment

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

Yup, noticed the custom policy option. Agree though, better to stick to the default

@victorskl
Copy link
Member Author

Merging...

@victorskl victorskl merged commit b0fc258 into main Apr 11, 2024
2 checks passed
@victorskl victorskl deleted the finalise-token-service-fixes branch April 11, 2024 01:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Find a way to provide token endpoint
2 participants