Closed shaj13 closed 3 years ago
I took a shot at making a PR for this. I don't see it linked here, so maybe I missed something.
The basic example seemed pretty straight-forward.
Two things on the token example:
auth.RequestWithUser()
piece which I saw on another example. Seems to fit here.Please let me know if this will work, or anything I can fix. Thanks for the opportunity
@briwagner thx, PR merged, FYI, token-based authentication relay on pre-existing user credentials or a static token.
FIXED #108
What did you expect to see?
token and basic example
What did you see instead?
https://github.com/shaj13/go-guardian/tree/master/_examples/basic_bearer
TODO
split the basic_bearer to basic and token. the token example can use the basic similar to jwt example