我试图用LinkedIn Omniauth 2 gem登录用户。我尝试了几种不同的重定向可能性,阅读了几篇文章,没有任何工作。LinkedIn OAuth 2.0重定向网址
我想在本地测试这个。 轨道4应用
宝石包括: omniauth omniauth,LinkedIn,oath2
重定向URL的一些尝试把在方块包含:
=需要保密的API密钥
http://localhost:3000 http://localhost:3000/ http://www.localhost:3000 https://localhost:3000 https://localhost:3000/ https://www.localhost:3000
我在整个过程中都阅读了这两篇文章,但仍然无法尝试找到将其重定向的正确方法。
https://developer.linkedin.com/forum/register-your-oauth-2-redirect-urls
https://developer.linkedin.com/forum/oauth-20-redirect-url-faq-invalid-redirecturi-error
什么我需要改变将是巨大的任何帮助。