jmikola / JmikolaAutoLoginBundle

Authenticate users in your Symfony app via a single query parameter (e.g. email and newsletter links).
MIT License
84 stars 16 forks source link

how to generate token? #22

Open iBasit opened 8 years ago

iBasit commented 8 years ago

How can we generate token?

jmikola commented 8 years ago

The library does not handle token generation. From the library's perspective, the token is just a string field that is used to fetch the user account.

I would suggest you use a secure, random number or hash.