guardian / frontend

The Guardian DotCom.
https://theguardian.com
Other
5.84k stars 554 forks source link

Upgrade to Panda v7 - support key rotation #27493

Closed rtyley closed 1 week ago

rtyley commented 2 weeks ago

This upgrades Panda from v5 to v7, allowing us to use key rotation as introduced with https://github.com/guardian/pan-domain-authentication/pull/150.

See also:

Panda was re-introduced to Frontend with https://github.com/guardian/frontend/pull/27012 in May 2024, where it became the authentication system around pages like https://frontend.gutools.co.uk/.

Testing

This has been successfully deployed to CODE, and I've verified that I can successfully re-authenticate at https://frontend.code.dev-gutools.co.uk/admin:

https://github.com/user-attachments/assets/53e513a0-0790-46ae-9b9a-602d03287738

github-actions[bot] commented 2 weeks ago

Deploy build 2959 of dotcom:frontend-all to CODE

All deployment options - [Deploy build 2959 of `dotcom:frontend-all` to CODE](https://riffraff.gutools.co.uk/deployment/deployAgain?project=dotcom%3Afrontend-all&build=2959&stage=CODE&updateStrategy=MostlyHarmless&action=deploy) - [Deploy parts of build 2959 to CODE by previewing it first](https://riffraff.gutools.co.uk/preview/yaml?project=dotcom%3Afrontend-all&build=2959&stage=CODE&updateStrategy=MostlyHarmless) - [What's on CODE right now?](https://riffraff.gutools.co.uk/deployment/history?projectName=dotcom%3Afrontend-all&stage=CODE)

From guardian/actions-riff-raff.

prout-bot commented 1 week ago

Seen on FRONTS-PROD (merged by @rtyley 12 minutes and 7 seconds ago)

prout-bot commented 1 week ago

Seen on ADMIN-PROD (merged by @rtyley 12 minutes and 13 seconds ago)