Skip to content

onAuthData

Compare
Choose a tag to compare
@weakish weakish released this 15 Sep 10:04
· 72 commits to master since this release
9b46377

Python SDK now supports onAuthData hook.

Example:

    @engine.on_auth_data
    def on_auth_data(auth_data):
        if auth_data["foo"]["openid"] == "openid":
            auth_data["foo"]["uid"] = "openid"
        return auth_data