Estoy autenticando con OAuth desde iPhone con oauth_callback="oob",
que es un parámetro descrito aquí en la especificación:
http://tools.ietf.org/html/rfc5849#section-2.1
An absolute URI back to which the server will redirect the resource
owner when the Resource Owner Authorization step (Section 2.2) is
completed. If the client is unable to receive callbacks or a callback
URI has been established via other means, the parameter value MUST be
set to "oob" (case sensitive), to indicate an out-of-band
configuration.
El problema es que una vez autenticado el usuario mediante formulario,
el web redirecciona a
http://oob?oauth_token=xxxxx&oauth_verifier=15f80d7d37be88daac474b85a33775b3
Es decir, no valida que la URI sea absoluta, e ignora el tratamiento
especial del valor oob. Según la especificación:
http://tools.ietf.org/html/rfc5849#section-2.2
If the client did not provide a callback URI, the server SHOULD
display the value of the verification code, and instruct the resource
owner to manually inform the client that authorization is completed.
If the server knows a client to be running on a limited device, it
SHOULD ensure that the verifier value is suitable for manual entry.
Es decir, debería mostrar un oauth_verifier que el usuario pueda
memorizar para introducirlo manualmente en la aplicación.
He pasado algo por alto o falta implementar este parametro?
Saludos