Add a button to ease the process of changing/refreshing the authentication cookie without starting a new instance of the application.
Button post to the same endpoint but if action is reauthenticate the method returns 204 no content after cookie is updated.
Makes testing of apps where different users with different roles are needed to complete the entire process
Verification
[ ] Your code builds clean without any errors or warnings
[ ] Manual testing done (required)
[ ] Relevant automated test added (if you find this hard, leave it and we'll help out)
[ ] All tests run green
Documentation
[ ] User documentation is updated with a separate linked PR in altinn-studio-docs. (if applicable)
Description
Add a button to ease the process of changing/refreshing the authentication cookie without starting a new instance of the application. Button post to the same endpoint but if action is reauthenticate the method returns 204 no content after cookie is updated. Makes testing of apps where different users with different roles are needed to complete the entire process
Verification
Documentation