laardee / serverless-authentication-boilerplate

Generic authentication boilerplate for Serverless framework
http://laardee.github.io/serverless-authentication-gh-pages
MIT License
569 stars 72 forks source link

How can i use Amazon RDS instead of dynamodb ? Is it possible ? #49

Open visheshCuriousDev opened 7 years ago

visheshCuriousDev commented 7 years ago

Hi, I have a Amazon RDS account and i want to use this instead of DynamoDb. Is it possible > If so how can i do it ?

laardee commented 7 years ago

@vishesh1king hi, and sorry for the late response. You need to implement the DB connection to authentication/lib/storage/usersStorage.js and to authentication/lib/storage/cacheStorage.js if you want to store the OAuth state and tokens also to other than DynamoDB (but I think DynamoDB is ok for that if you don't need to access those from your application).