Conversation
bf3ecb8 to
80a4c29
Compare
44aa955 to
198e1fd
Compare
|
From a discussion with @mattjreynolds
Blocking this work until CDD-3058 is merged and this can be properly tested and completed |
d7c4e8e to
7b17f60
Compare
|
I have reached out to @phill-stanley regarding the sonarqube failures. Namely:
I have also reached out to @mattjreynolds to discuss where the JWT validation should live, to see if it logically can move so it doesn't break the contract |
Add optional use of a user manager to hold the get_or_create function Use env vars for aws region, aws user pool
Update testing
c4cab6b to
763be9c
Compare
|


Description
This PR includes the following:
Add JWT detection middleware to identify if the request comes from a public or non-public user
If the request comes from a non-public user, bypass the cache and calculate the data fresh. This newly calculated data should NOT be saved in the cache
This work only covers the private api. It has been agreed to leave the public api for now, as private data is not returned from the public api currently, and it has been agreed not to use it for non public data in the immediate future.
Fixes #CDD-3099
Type of change
Please select the options that are relevant.
Checklist: