Twitter app authentication doesn't follow callback URL and despite being provided



Title. I’ve provided (what I think is) a valid callback URL, but Twitter refuses to follow it and instead redirects me to an OOB login screen with a PIN. What’s going on?

Application settings:



What API endpoint are you calling and with what options specified?


I believe the user authentication endpoint. This may not be the best method since it looks like my model could use application-only authentication (it’s just reading from a timeline, that’s it.)

I’m using an effectively stock version of the example code for account linking with an Alexa skill found here. I’m actually not familiar with Ruby, so I might need help in having solutions spelled out.