About external sites

After adding a link to the external sites, how can I directly log in to the linked application under the same account without having to log in again?

Which side of the .php do i need to edit?

Thanks.

Hi.

This is not how it works. External sites is just to add an iframe, or redirect to the given url.

You COULD achieve what you are asking, if the application on your external link supports federation. Then the user would not notice, that they where loggedin, using Nextcloud as IDP.

Hi, thanks for your reply.
Because I want to use nextcloud to intergrate Bookstack without login again, so I want to know where the session set or get, and how to edit it.