Skip to content

Instantly share code, notes, and snippets.

@youngsoul
Created March 11, 2020 21:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save youngsoul/69d22d4348ca53f7cb0f500c3bcb778b to your computer and use it in GitHub Desktop.
Save youngsoul/69d22d4348ca53f7cb0f500c3bcb778b to your computer and use it in GitHub Desktop.
snippet showing how to confirm a sign up with Coginto
resp = client.confirm_sign_up(
ClientId = os.getenv('CLIENT_ID'),
SecretHash=get_secret_hash(email, os.getenv('CLIENT_ID'), os.getenv('CLIENT_SECRET')),
Username=email,
ConfirmationCode=code,
ForceAliasCreation=False
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment