1 month ago
    Question about the Session recipe...
    Hi again! This time I have a question about the Session Recipe...
    I see that there is a createNewSession function in the API: →
    This function call takes a response object. Firebase has authentication handlers. One of which, for example, is "onUserCreated". There is a callback to this function when a new User is created. In Firebase, it is the natural place to handle anything that has to be done when a new User is created. However, there is no response object available, because it is not done as a request/response. I think this can still be used to create user roles and such, which is great: → I am just wondering if there is some way to also create a new Session from this handler even without a response object. My thinking is that could potentially allow me to avoid having to make an extra call Any thoughts?