LinkedIn OAuth2.0 redirects URLs for iOS app without http or https

I think this can be a very simple setup problem, and since I am very new to the fast and LinkedIn API, I could do it wrong:

I am making an iOS application with speed and want to use LinkedIn for authentication. To do this, I created the application on the LinkedIn Developer Network. But now I can’t place the application redirect URL in the OAuth 2.0 Redirect URL :

The app redirect URL in my code looks like oauth-testapp: // oauth-callback / linkedin , and it works fine with OAuth 1.0, but for OAuth 2.0 I need to have this in http: // or https: // .

This is where my confusion is, since I cannot add my oauth-testapp: // oauth-callback / linkedin url in OAuth 2.0 URLs:

enter image description here

I read a few posts like this and, and I don't want to create a website to redirect the user to the application or create a web view inside the application. I mean, I can do this, but I just want to do POC, and here I am blocked. Is this possible without these methods? Has anyone done this fast? Thanks so much for helping the guys!

+5
source share
1 answer

You will need to create a webview inside the application - it’s not so difficult, and you still have to start the browser and also override the behavior for that particular callback URL (URI redirection) as described in: Oauth 2.0 for LinkedIn for Android

+2
source

Source: https://habr.com/ru/post/1210073/


All Articles