Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add comments related to #4
  • Loading branch information
Alvaro Jose committed Jan 12, 2019
1 parent 32d522c commit 90ae7de
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,13 @@ the login function will return a Promise with the access token and secret
refreshToken: ***
}
```

## Security

Consider this before you integrate this library in your application:
- It is a bad practice to hardcode `keys` & `secrets` in code that is going to be shipped.
- If you are looking to have your own backend, consider using it for authentication with 3rd party services. [IETF RFC 8252](https://tools.ietf.org/html/rfc8252).

## Migration V0.x to V1.x

- there is no more need for the oauth object, info becomes a basic object with the properties stated in the usage step.
Expand Down

0 comments on commit 90ae7de

Please sign in to comment.