Our app was working fine but, without any change on our side, when we tried to enter our Facebook app outside the canvas (directly on http://example.herokuapp.com), and after providing our FB user and password, we are stuck in an infinite loop where the "state" parameter on the URL is constantly changing:
https://example.herokuapp.com/?state=05b40a2e4d2c1f7b4c13a026a069acc3&code=AQCql520w_5dJjHnJlojMvzSCukAMrRsjqCipdkDP3N4h4zUQH72Q79oH2EMd_tQDv-fwKTJr2LG-azBUt37bUX06r3t9QHBwb27XBQyxmgdGdR_A1flZBY_oP-L0UEhjSu1FE8v2blILC8EuEWLNikgtkmaWWwy9e93KQX00wiVj422pzHuzn-m9_jZEUiKsf3dQIwCE3V7UBHMZCD9gS0#_=_
Inside the FB canvas it is working fine. And we have a twin app (test environment) that is working fine inside and outside the canvas (same code and configuration).
Any ideas?
Thanks