XF 2.0 Login/Logout/Session Integration

I'd like to share users credentials and sessions with an existing Laravel App.

1) Is there a way to build a custom login/logout form, which could redirect back to my app? (perhaps a hidden "redirect_to" field)
I coudn't find any documentation or hint about this.

2) Is there a simple function which let me authenticate a user? (That I could call from a Laravel controller)
Ex.: authenticateByEmail('myemail@gmail.com')

Thanks in advance.
 
1) Is there a way to build a custom login/logout form, which could redirect back to my app? (perhaps a hidden "redirect_to" field)
AFAIK You would need a custom add-on for that.

2) Is there a simple function which let me authenticate a user? (That I could call from a Laravel controller)
Ex.: authenticateByEmail('myemail@gmail.com')
Check login action under Pub\Login controller. It should have everything you're looking for.
 
Top Bottom