manukall / phoenix_token_auth

Token authentication solution for Phoenix. Useful for APIs for e.g. single page apps.
MIT License
163 stars 39 forks source link

Use built in phoenix token auth #36

Open jeregrine opened 9 years ago

jeregrine commented 9 years ago

Recently we worked to add Token Generation and Verification to phoenix, it might be nice to reduce dependencies and use the built in version.

EXAMPLE USAGE: https://github.com/phoenixframework/phoenix/blob/master/installer/templates/static/brunch/socket.js#L10-L52

Code: https://github.com/phoenixframework/phoenix/blob/master/lib/phoenix/token.ex

manukall commented 9 years ago

i think that's definitely what we should do. thanks for the links!