AuthenticationViewController icon indicating copy to clipboard operation
AuthenticationViewController copied to clipboard

Coub doesn't work properly

Open gerchicov-bp opened this issue 7 years ago • 2 comments

Description for coub: https://coub.com/dev/docs/Coub+API%2FAuthentication

If you need test credentials: ID: 60b88af1e39803f5f68716bc364a498f9d4e733a7f76735dc48729e697de3bd6 Secret: 6f62d7366a58b07377a3046922d49c4f5ab882eebe322f50467856bb7b86e049 Redirect URL: http://gargo.of.by Permissions: like+recoub

I used your example and added OAuthCoub (looks like your OAuthDribble and OAuthInstagram) and called it. It seems everything ok with authorization - successfully logged in, and redirected to "Redirect URL". The only main trouble is application:openURL:options: is not called at all and so I don't have a token in my app.

Could you please resolve this strange issue?

gerchicov-bp avatar Dec 21 '17 13:12 gerchicov-bp

Hi, did you follow the instructions about the URL scheme? It should be the callback url provided in Coub. What URL scheme did you used?

raulriera avatar Dec 21 '17 20:12 raulriera

The redirect URL needs to be something that points to your app yourapp:// for example. In the readme file are the instructions. Or in the example project

raulriera avatar Dec 21 '17 20:12 raulriera