Pass query parameters when using oauth

I am trying to enable a dynamic profile that is enabled when calling the hub login url with query parameters. It works fine if I authenticate and then manually change the url to add the parameters. If I go through oauth flow the parameters are not added to the callback. I am using azuread which appears to have a special variable called state that you can use to pass information that will get encoded into the user token. Current oauthenticator is not supporting state variable so I will take a look at that.

Thanks,
Mike