presslabs / toplytics

Plugin for displaying most viewed content using data from a Google Analytics account. Relieves the DB from writing every click.
https://www.presslabs.com/code/toplytics/
30 stars 9 forks source link

Do not leak credentials #140

Open cristianuibar opened 5 years ago

cristianuibar commented 5 years ago

Build a redirected flow in 3 steps via toplytics.presslabs.net so that the client id and client secret will not be leaked to the end user when connecting via the public method.

Keep a record of all refresh_tokens on toplytics.presslabs.net so that we can revoke access in case something is off.

The steps are: