LexikJWTAuthenticationBundleSandbox icon indicating copy to clipboard operation
LexikJWTAuthenticationBundleSandbox copied to clipboard

Users

Open AntonioCS opened this issue 9 years ago • 3 comments

Hey,

I am trying to understand where exactly the user is suppose to come from. I can see that everything works but I am still a bit unclear on how to properly use this.

I have my own api (not using FOSRestBundle) and I want to use this but where do I add the users and passwords? Or do I need to use something like FOSUserbundle for that?

AntonioCS avatar Mar 17 '16 11:03 AntonioCS

Sorry, I forgot that Symfony handles all of this via the security thing. I saw the users there. I assume the /api/login_check is just to tell where the user should go so that symfony internally runs whatever code it needs to run to identity the user. Am I wrong?

AntonioCS avatar Mar 17 '16 11:03 AntonioCS

Correct, the api/login_check is where Symfony runs the logic to identify the user. It is defined in app/config/security.yml Line 25

sketchthat avatar Jun 30 '16 00:06 sketchthat

Should we create an action for the route api/login_check?

mappedinn avatar Oct 08 '16 03:10 mappedinn