How to set a new custom http cookie upon a successful login?

Hi,

Within the KeyCloak, is there a way to set a custom http cookie upon a successful login? In addition, is it possible to determine the means of login, e.g. user-password, social, etc.

I have looked into the SPI docs but no luck so far.