React native OAuth2 redirect_uri: Invalid scheme

◇◆丶佛笑我妖孽 提交于 2019-12-02 06:24:41

From the docs, I see two problems with your URL :

  1. The custom scheme must contain a period to be valid

Change myscheme to something like com.myapp.

  1. Note the single "/" after the custom URI scheme, which is different from regular HTTP URLs

Change myscheme://oauth... to myscheme:/oauth...

After those correction, your URL should look like com.myapp.myscheme:/oauth... instead of myscheme://oauth...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!