cnam / security-jwt-service-provider

Silex security jwt service provider (silex 1.x and 2.x version) allow oauth2 header
GNU General Public License v2.0
60 stars 40 forks source link

Accessing User Information on Anonymous Routes? #9

Closed mattheworres closed 9 years ago

mattheworres commented 9 years ago

I've created this issue on StackOverflow:

http://stackoverflow.com/questions/30419708/silex-get-authenticated-user-information-on-routes-outside-of-firewall

And so far the only resolution I have to it is the "hack" answer I provided.

Do you know of a better way to a solution, or is what I describe in my workaround the best possible?

mattheworres commented 9 years ago

Please see the selected answer on my StackOverflow question - seems to solve this the Silex way. Thanks!