My iOS app allows LinkedIn users to login using the LinkedIn OAuth. The app is branded for different clients, so I would like to change my LinkedIn Developer Application name to match the clients name, so that the LinkedIn web signin page text reads " would like to access some of your LinkedIn info:"
Is this possible? Creating a LinkedIn application for each client is not practical.
Thanks.
It is not possible to change your application name dynamically.
Related
I am using facebook/twitter logged in user to authenticate my web api. i followed this
Okay that was most likely what I what. But my view page will be differently hosted. That is user will be logging in with a different page and they will send an ajax request get values from api controller.
I would authorize the web api only to user who is logged in.
If by "differently hosted" you mean on separate domains, then you won't be able to share a cookie between the two. If you mean that the client is a iOS app or Windows Phone app running on a device, the general pattern is to use a "Browser Control" and build a little UI as part of your API site. You can show your users this UI in the browser control and then scrape the token out. If you use Azure ACS, this is much easier with the "javascriptnotify" protocol that enables the token to be pushed out of the browser control.
The best article I've seen on this is http://www.cloudidentity.com/blog/2012/04/04/authenticating-users-from-passive-ips-in-rich-client-apps-via-acs-2
I am building a web application consisting of:
Enterprise WebSite
iPhone app
When a new user is registered I want to import his FaceBook avatar, following is the use-case:
User logs in to FaceBook using the iPhone app (FaceBook session is created on the iPhone device)
User is getting registered with the Enterprise WebSite
The Enterprise WebSite import the users facebook avatar using Facebook API<
Having the above use-case in mind, the user has logged in using the SmartPhone application (and not using the Enterprise WebSite). Is it possible to use the SmartPhone's FaceBook login session on the WebSite backend to import the user's avatar w/o requiring to directly LogIn through the WebSite app? is this use-case possible? isn't there any security limitations?
Any help will be appreciated.
The iPhone app will receive a long-lived access token, which it should be possible to send back to the server and use from there to retrieve the avatar, as long as the iPhone app and the website are the same 'app' on Facebook.
The only problem I can see is that if the user revokes permissions, the website won't be able to ask the user to provide them. What might be easier is retrieving the profile picture from within the iPhone app, and then sending that back to the server.
I have an issue with one of our clients.
We developed an app, that apparently works fine.
We tested with various accounts.
The issue is that our client can't use the app.
Accessing the client's account, I tried this FB access token tool:
https://developers.facebook.com/tools/access_token/
I tried to use various apps with the client's account, from various vendors.
This is the result (screenshot):
screenshot
What can be the cause? It seems that this account cannot store any access token from any app.
Thank you!
The Access Token tool will only show tokens for apps that the user is an admin or developer of - if they are just a regular user, this will not show up here.
I need to integrate Facebook and LinkedIn authentication in my asp.net application. I am guessing someone already did this but can't find a pointer. Any suggestion?
For Facebook authentication,
Please read Authentication - Facebook Developers.
More easier, using Facebook SDK
For LinkedIn authentication,
Please read LinkedIn Authentication
More easier, C# LinkedIn api entegration working example
Integrate with your website
You can make a own custom membership/role/profile etc and don't use the built in approach.
Another way, after authenticating successful Facebook or LinkedIn, you should create new member depend on authentication content that you was received, and store User ID in database and map it with Facebook, LinkedIn ID.
Sorry by bad English
I am trying to implement OpenId for an internal web app. Our college is on Google Apps for Edu, so we have the suite of Google OpenID and OAuth exposed to us.
I would like my login page to have the standard username and password, and additionally a button on the side that will authenticate internal users to our app domain.
I have followed the example here http://www.dotnetopenauth.net/developers/code-snippets/programmatic-openid-relying-party/ but it seems that the rules are different for the google apps id than a general google id.
Any help or further documentation would be helpful.
I have the same problem as you.
For your Google Apps login, your relying party URL is https://www.google.com/accounts/o8/site-xrds?hd=example.comsite-xrds?hd=example.com
Where you replace example.com with your URL.
However, As far as I can tell, dotnetopenauth does not handle the protocol extensions google uses when it returns.
However, using https://www.google.com/accounts/o8/id works perfectly fine.
Using this url, you pass off users to Google to login. Google will check for cookies and prompt for a login if required. if not it'll just confirm with the user that they want to associate their authentication with this site and pass you back.
Still trying to get dotnetopenauth to accept the new url: https://www.google.com/accounts/o8/site-xrds?hd=example.com