Details
-
Bug
-
Resolution: Unresolved
-
Neutral
-
None
-
2.0.4
-
None
-
None
Description
Steps to reproduce
- 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.
- Start up Spring Boot project attached, unzip from prueba.zip.
- 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.
- From Magnolia, create a new page from pages-app using the template "my-homepage" (that template performs a call to the Spring boot project).
- 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).
- 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).
- From Magnolia refresh the page you created at step 4 again.
- 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
Security scheme gets the latest password, unfortunately, it is not reloaded after a password change. There is a new functionality in the password manager for m6.2 that allows registering on change listener. For m6.3 there is already on change listener integrated in data source and can be used.
Checklists
Acceptance criteria
Attachments
Issue Links
- depends upon
-
PSWDMNGR-38 securitySchemes REST client does not get latest Password value
-
- Closed
-