[PSWDMNGR-38] securitySchemes REST client does not get latest Password value Created: 26/Aug/22  Updated: 01/Nov/23  Resolved: 01/Nov/23

Status: Closed
Project: Password Manager
Component/s: None
Affects Version/s: 1.2.5
Fix Version/s: 1.2.7

Type: Bug Priority: Neutral
Reporter: Sergio Marino Assignee: Khayal Musayev
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Attachments: Zip Archive myLm.zip     Zip Archive prueba.zip    
Issue Links:
causality
dependency
is depended upon by MGNLRESTCL-221 securitySchemes REST client does not ... Accepted
Template:
Acceptance criteria:
Empty
Task DoD:
[X]* Doc/release notes changes? Comment present?
[X]* Downstream builds green?
[X]* Solution information and context easily available?
[X]* Tests
[X]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Epic Link: Password manager maintenance
Team: AdminX
Work Started:

 Description   

Steps to reproduce

  1. Install Magnolia (mgnl jumpstart and unzip the light-module provided, myLm.zip), I will refer this project as Magnolia from now on. Then start magnolia (mgnl start), from Passwords app create a new password (whatever value). Keep the <uuid> for step 4.
  2. Start up Spring Boot project attached, unzip from prueba.zip.
  3. From Magnolia, go to light-modules->myLm->restClient->prueba.yaml and update lines 9, 10 and 21 (lines that have the password uuid) with the password <uuid> you got from step 1.
  4. From Magnolia, create a new page from pages-app using the template "my-homepage" (that template performs a call to the Spring boot project).
  5. Once you render the page go to the console of the Spring Boot project (step 2), you will see from the console the passwords being sent for the api_key and Authorization header (this header is created when using basic securitySchemes).
  6. From Magnolia, go again to the passwords app and update the password you created at step 1 with a new value (different value from step 1).
  7. From Magnolia refresh the page you created at step 4 again.
  8. Go to Spring boot project console. You will see printed the new updated password for the header api_key, however the Authorization header keeps having the old value.

.. Logs, screenshots, gifs...

Expected results

 At step 8, since the api_key header has its value updated, Authorization header should also print the new value.

Actual results

Authorization header print the old value.

Workaround

Development notes


Generated at Mon Feb 12 10:26:17 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.