Skip to content

Conversation

Viktar-T
Copy link
Contributor

@Viktar-T Viktar-T commented Jun 15, 2023

  1. We create RSA_keys and save them in the DB.
  2. We use separate sync engine for that.

NEXT TASK
First approch

  1. Old sersion of class JWTService replaced by class JWTManager.
  2. Endpoints that were tested manualy: Authorization, Token, UserInfo, EndSession.
  3. Manual testing for other endpoints is requered.
  4. Fix tests is required.

Second approch
in new branch replace_container_in_JWTService

  1. JWTService was not replaced by class JWTManager.
  2. Minore changes in JWTService:
    def __init__(self, keys: RSAKeypair = Container().config().keys)
    were repleced by
    def __init__(self, keys: RSAKeypair = provide_rsa_keys())
  3. as a Result Endpoints works.
  4. Problem with starting tests.

@Viktar-T Viktar-T added feature New feature/request refactoring Make it better labels Jun 15, 2023
@Viktar-T Viktar-T self-assigned this Jun 15, 2023
@Viktar-T Viktar-T force-pushed the RSA_keys_for_several_processes branch from ad5eea0 to 7562dd2 Compare June 23, 2023 09:51
@DanyaKrats DanyaKrats changed the base branch from main to replace_container_in_JWTService June 30, 2023 08:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature/request refactoring Make it better
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants