def METHOD_NAME(self, state=None):
    params = super().METHOD_NAME(state)
    if self.data.get("access_token"):
        # Don't add postmessage if this is plain server-side workflow
        params["redirect_uri"] = "postmessage"
    return params