I want to implement Prevent Attacks and Redirect Users with OAuth 2.0 State Parameters. A.K.A, to custom state
by my logic.
Obviously, according to https://github.com/omniauth/omniauth-oauth2/blob/3e7ee11c84153e6f0c19d38a5e63cda550f6925c/lib/omniauth/strategies/oauth2.rb#L63, there is no way you can replace the state
.