Hello @arnaud.courdille and welcome to the community!
Unfortunately, cookies aren’t going to be available from within an Action. If you are looking to customize the authentication experience based on certain data, it’s typically recommended to store such data in user_metadata or app_metadata.
Hope this helps to clarify!