Un / Authenticated Actions


I just started this week with rasa, and I’ve focused on build the minimum viable product, I’m facing difficulties that are set and identify if the user is logged.

I have some action that can be used before access our web system and some available only after authenticated. When authenticated I need to send some pieces of information from cookie to the endpoint.

I saw a post Sign in Authentication with Rasa and it talks about set sender_id, but I still lost where to begin.

I.E.: The user can ask to recover his password without being authenticated, but it has to be authenticated to check his vacation schedule, and the endpoint needs some info set on cookies to allow and answer.

Resuming, I need to know how to define to RASA if a user is logged or not, and how to set additional information that I can use on custom actions.

Can someone help me out with directions or examples?