transfer the sessionID from one domain to another
See original GitHub issueHi everyone! Any ideas on how I can transfer the sessionID from one domain to another and write it to the client cookie?
domain number 1 - general site domain number 2 - etherpad
There is an ep_auth_session plugin, but it does not work in my case (You do not have permission to access this pad), since I use the following settings:
{
"ip": "127.0.0.1",
"trustProxy": true,
"requireSession": true
}
plus proxy_pass
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (6 by maintainers)
Top Results From Across the Web
Preserving session variables across different domains
Session ids are passed around using cookies by default. Since your websites are on different domains the session cookie does not transfer over,...
Read more >Cross-Origin Web Sessions
Using the query parameters approach is a simple and effective way to transfer credentials from one domain to another. The server generates a...
Read more >Can a user session be transferred from one domain to another?
use a form post to transfer from one domain to another. for each session variable, create a hidden form element that uses the...
Read more >How to share a session details to multiple domain?
Session What you CAN do is post the data to your second site and put it in session variable in the second application....
Read more >Sharing a Session Across Multiple Domains
Session sharing generally requires a JSESSIONID cookie whose session identifier is shared among all sites within the same session.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
We have something like it. In our case we have a main page that is an iframe that wraps the Etherpad editor. I don’t know if it’s your case, if so, these snippets may help.
Send Message via PostMessage from the wrapper
Listen to API calls from outside (Etherpad plugin)
Add the session id (Etherpad plugin)
More info about postMessage API https://developer.mozilla.org/en-US/docs/Web/API/Window/postMessage
I am a person too… 😛
https://github.com/JohnMcLear/ep_what_have_i_missed