LinkedIn iOS SDK Bundle Suffix - ios

So, I have multiple bundles identifiers on my LinkedIn App Account. For each one of them, I've also created an URL Suffix Schemes.
The way I'm setting my URL types is like li{appID}{suffix}, where {appID} is the Application Id number as provided on LinkedIn and {suffix} is a short string I've defined for my app.
The problem is: LinkedIn apparently doesn't recognize the suffix and chooses any app that has li{appID} set as an URL type. Is there any way I can fix this?
Thank you,

Try formatting your types like: li{appID}-{suffix}

I have try given types like: li{appID}-{suffix}
But not getting callback from linkedin to my app.

If you're using url scheme suffix, make sure it is specified in the Info.plist. The key should be "LISuffix" and the value should be the suffix. Also, register a url scheme with the format li(appId)-(suffix).

Related

How to change the default URL into custom URL in Mendix?

Can any one please tell me that how change the default URL (Example: http://localhost:8081/index.html?profile=Responsive ) into a Custom URL(Example: http://localhost:8081/UserName/) without any license in locally or cloud Mendix(Low-code platform)?
NOTE: UserName in the sense logged user’s Name.
Thanks in Advance!
You could try the widget Set Url from the Appstore. https://appstore.home.mendix.com/link/app/65083/
This allows for dynamic url's. Also checkout the DeepLink module from the Appstore for more possibillities.

Correct Format of Harvest API OAuth2 Redirect URL in iOS Application

What is the correct format for a redirect URL when authenticating with OAuth2 and the Harvest API from an iOS application?
oauth.com states that a redirect URL for a native application can look like myapp://callback. Problem is, Harvest doesn't accept such a redirect URL. It seems to require prefixing it with http/https, which causes problems when redirecting back to the iOS application at the end of the authentication flow. I don't seem to find anything relevant in the Harvest API documentation.
I have added a URL Type in Xcode where I set the Identifier value to com.example.myapp and the URL Schemes value to MyApp. No matter what redirect URL I specify (given the format mentioned above) in Harvest the authentication flow always complains that Safari cannot open the page because the server cannot be found. I am able to open the app manually with the appname:// URL from the
It sounds like you're looking for the URL to use regarding redirection from a web call. I'm not certain on oath2, but on SAML it is something like
https://where you are signing in/SSOpage?RelayState=https://where you are going
I hope this helps get you to your answer.
If anyone else has this issue, the identifier and URL Schemes should not be com.example.myapp and MyApp, respectively. You only need to set the URL Scheme to com.example.myapp

iOS Deep Linking with Auto Login Token in the URL

I am new to deep linking in iOS and I am trying to make sign-in work with a magic link.
The links that the users would receive in their email inbox would be something like this:
https://subdomain.domain.com/?autoLogin=XXXX...XXXX
I want to extract the auto login token and make sure when users click into this link, it takes the user directly to the app.
What path should I put in the apple-app-site-association file?
Currently I have /?autoLogin= and it's not working.
In your URL, ?autoLogin= is a query item and not part of the path.
In your apple-app-site-association you should just need to set the path to /. The ? is messing it up since it's used to match any single character in the string.
If you want to have a specific path, you'll have to update your url to something like https://subdomain.domain.com/autoLogin?token=XXXX...XXXX, then you could add /autoLogin to apple-app-site-association.

How to handle the redirected uri in ios for google sign in programmatically?

I am currently doing a task in which i need to implement google sign in programmatically. I am passing the client id in the custom uri scheme and present it through svc. When i do authorization, google is not returning to my app instead it opening google.co.in page. I can get the uri in the open url method of app delegate but i don't know how to handle it and open my app instead of google.co.in page. Can someone help me to resolve it programmatically? since i should not use any predefined libraries here. Thanks in advance!
Are you using Google SDK ? If so then you should've created an App on console.firebase.com , get you redirect URI from there and add it in you info.plist. It's not returning because it's not finding the redirect URI.

AsanaConnect oAuth Redirect URL with custom scheme

The account settings page for registering an app accepts just valid http:// url schemes. We would require a custom url scheme in order to redirect back to our iOS app. Is there currently a way to provide a custom url scheme or if not, would it be possible to allow custom URL schemes from your side?
(I work at Asana.) We agree those would be useful. There is currently no way to use non-http schemes but we will look into adding them soon. Stay tuned!

Resources