Answer the question
In order to leave comments, you need to log in
How to generate a cookie to save in Ubuntu before opening a browser?
How to generate a cookie to save in the system without the participation of the browser?
I want to generate a cookie value in the application for the user, having a login, in order to save the user in the system. In fact, to do what happens after the user is authorized in the browser through the login / password input, saving the user from having to enter a password using only login.
Answer the question
In order to leave comments, you need to log in
Here, in the end, it turned out that Rails 4 is not much different from Rails 3:
https://gist.github.com/sadfuzzy/9026b9ab8fc4a766e184
Rephrase the question, or rather write what you want to do.
It would be better to write a plug-in or user script for the browser, which will perform the authorization. The script can communicate with the application on the user's PC via a websocket, and the application can securely pass to the script, for example, the login of the user who is currently working in the system.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question