Skip to content

Do not leak credentials #140

@cristianuibar

Description

@cristianuibar

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:

  • client site => toplytics.presslabs.net/auth?return_url=...
  • topltyics.presslabs.net => google auth to grant access
  • google auth => return to toplytics.presslabs.net (which stores the user as well that came from google)
  • toplytics.presslabs.net => return to client return_path with the refresh_token

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions