Is cross site login supported somehow?

I have two projects. One with a login and one that requires to be logged in to the first project.

So I guess my question would be is it possible to login to the first project and have access to the second project? Restricting access to the second project if not logged in to the first project.

Hope I explained myself correctly. Thanks in advance for any direction. :beers:

Hey @brad, yes it is possible and in fact a mobile project is a good example on how it works..

I'll recomend you to restrict the server actions in the first project (where the security provider is) and define the cors settings on the server side options (where you select debug on/off)..

When you create the login form (in your second project) you can select the API from the first project (check the dropdown in the upper right corner)

PS: When a login request is made, you have a tab in the dev tools -> network -> loginapiname.php that is called "cookies".. There you can see the response cookies and, if it has a yellow background, then it means cookies where not possible to be stored on the browser..

Let us know how it goes..

Thanks @franse . I was hoping to avoid another login on the second project. As a company we have too many logins as it is. The goal is to secure the second project with the same credentials as the first. In other words, logging in to the main project/dashboard will automatically log you into the second project/dashboard. I take it this is not possible to have one login provide access to two projects?

Sorry for the delay, busy weekend..
As far as I know, browsers don't allow a website to set cookies for another domain

Are both projects under the same domain like api.domain.com/domain.com, or are they on completely different domains?

Actually working on it as we speak. I managed to get the login to work! Problem is now the dual logout doesn't work.