You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First congrats for this awesome and amazing bundle that I'm currently using for all my WebServices projects.
My little question:
What is the best way to retrieve a user from an unsecured path?
My context:
I have a /api/1/example/{id}.json endpoint, to access an element informations.
This path is unsecured.
I'd like to use an optional token, and retrieve matching user if passed through the Request headers.
The problem is that without passing through the firewall (and so the bundle security listener), my token-user association is not handled.
Any idea about this?
Thank you so much.
The text was updated successfully, but these errors were encountered:
If the token is successfully decoded it will return an array containing the user identity (by default the username). Then it's up to you to retrieve your user from it.
Of course, it's all theory ! Let me know if it works :)
Hi,
First congrats for this awesome and amazing bundle that I'm currently using for all my WebServices projects.
My little question:
What is the best way to retrieve a user from an unsecured path?
My context:
I have a
/api/1/example/{id}.json
endpoint, to access an element informations.This path is unsecured.
I'd like to use an optional token, and retrieve matching user if passed through the Request headers.
The problem is that without passing through the firewall (and so the bundle security listener), my token-user association is not handled.
Any idea about this?
Thank you so much.
The text was updated successfully, but these errors were encountered: