Preserving state during Github app installation

I am trying to capture a state query parameter when someone installs my Github app as outlined here:

However, when receiving an install event callback, I can’t seem to find state in the query parameters nor the payload. Trying to figure out where this goes.

Thanks for the help.

I’m struggling with the same issue. Can’t seem to get the state from a webhook after initiating an installation with the state param in there.

Like, is this broken?

K, so you have to enable user-oauth as part of the flow, there’s no other way I could figure out to get the state back.