I am trying to add server side cookie for my custom plugin, this is the code but
I am not able to get the server object from http_server, I get this module not found error when i try to import HttpServiceSetup
Can you please explain what exactly you're trying to achieve? createCookieSessionStorageFactory is solely used by the Kibana own Security plugin right now, so you may need to use another approach depending on your use case.
I am trying to create a session cookie on server side, which will be used to compare with incoming requests, if same user, n other parameters are same then i will not do authorisation again.
Authorisation is done inside our application, based on this cookie n incoming request..
Prev in 7.0 we used hapi auth cookie, but with new platform unsure what to do.. Pls guide me with some example
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.