I'm using a generate_access_token in my User model to create an access_token for each user so that my app can do "Remember Me" using a cookie (so they don't need to login again) as per screencast #274.
Would I use this same access_token field for the user to be able to call my API?
Can you see any issue in doing that?
Or should they be different?
I've implemented this auth_token into an app that uses simple omniauth (#241) for authentication. Is this auth_token the same token I could use for a user to call my app's API or do I need to generate a different token for that purpose?
...but would I use the
access_token
field to identify the user calling the API?Very useful screencast Ryan.
I'm using a
generate_access_token
in myUser
model to create anaccess_token
for each user so that my app can do "Remember Me" using a cookie (so they don't need to login again) as per screencast #274.Would I use this same
access_token
field for the user to be able to call my API?Can you see any issue in doing that?
Or should they be different?
Another great screencast.
I've implemented this auth_token into an app that uses simple omniauth (#241) for authentication. Is this auth_token the same token I could use for a user to call my app's API or do I need to generate a different token for that purpose?