Closed jlebrijo closed 6 years ago
@jlebrijo If you want to pass a variable you can send it with the parameter &state=referring_id
.
I mean the redirect_uri, in order to get this code when successfully logged. I mean sending for example:
http://localhost:3000/users/auth/steemconnect/callback/referring_id=123456
The URI could be the exact one, but with variables. You can make the comparison like redirect_uri.start_with?('http://.....')
instead of an equal comparison.
I see but this doesn't work and we don't plan to support it like that, the solution is the parameter state
, you can pass any variable from this.
I am using the authorize URL in Oauth2 protocol:
I know you need the exact URI in
redirect_uri
, to accept the call.But it would be great for me to be able to pass variables like
referring_id
.Could you make an improvement to accept variables in redirect_uri ?