Closed hqtoan94 closed 6 years ago
Yes, the current implementation does not authenticate against a User in the database. The reason to do so is that we need JWT authentication in microservices which are not connected to the users' database. It would be nice if you could contribute and add authentication, switch it by default and add an option in settings to turn on anonymous user auth (the current one).
Hi, Thank for your hard work on this repo.
My work for now required to integrate the JWT with OAuth2 so that I came here and use your repo to solve my problem. But look like your authenticate method only work for AnonymousUser?
I follow this method and see that you return an AnonymousUser instead of current user who use the token to access. Could you explain for me why you do that and how if I want to add permission for my views.
Thank you so much.