How do I get the r_basicprofile permission on LinkedIn? - linkedin

The problem:
We need the public profile url or vanityName of the users authenticating with LinkedIn OAuth 2.0 on our website for a social feature. But apparently LinkedIn does not give out permissions for that OAuth scope by default and you need to request it.
What we've found so far:
The only "application" process we've found for that is through the Marketing Developer Platform which has a whole bunch of other stuff while we only need this one permission. So our request for that one got rejected.
What we're doing right now:
The r_liteprofile we're using right now does not include the profile url of the user. Contacting LinkedIn support didn't help. They just told us to ask any developer portal related questions on StackOverflow with the #linkedin tag.
Is there any other way to get permissions for this OAuth scope apart from applying for the marketing developer platform? If there is no other way, what's the criteria to get access the marketing developer platform? LinkedIn support has been very unhelpful with this entire matter.

Our understanding is that all permissions besides w_member_social are obtained by adding the "Marketing Developer Platform"

Related

Getting access to LinkedIn API r_organization_social

how can I get access to the r_organization_social of the LinkedIn API to retrieve data about different companies?
Thanks in advance!
I created my app in the developer portal and have access to:
w_member_social
r_liteprofile
r_emailaddress
But I am not sure how to get the r_organization_social scope.
you need to apply for marketing developer platform.
Open your app, then go to the product and request access to Marketing Developer Platform.
Once you click request to access, then you have to accept their policy, then there will be a link to request access and then you have to fill up the LinkedIn Marketing Developer Platform Access Form. Once they approved this, you will have the w_organization_social, r_organization_social, and much more.
For more information, please visit this link.

Azure multitenant Single Sign-On (SSO) app requiring admin consent for users in other tenants

We are running an online learning platform on WordPress. We are using MiniOrange to allow SSO to our site for Google (which has worked great). It means our students can sign on using their school email address. However, Azure is proving a bit of a headache.
We have set up app using the instructions that MiniOrange provide and this has allowed personal accounts to sign in without issue.
However, for accounts belonging to a school/other organisation throws an exception asking for admin consent (which we can't logistically get from every organisation we work with).
The app asks for API access to 'email,openid,profile,User.Read' - none of which require admin consent.
We have turned off 'Assignment required?' in our Enterprise settings based on the second option in this post
We have allowed users to consent to any app based on this thread
We are also a verified MPN and have added an MPN ID which is a warning when creating non verified apps
So from our perspective - we have a set of API terms that don't need admin consent and yet users are hitting a wall with it?
Does anyone have any ideas on why this workflow wouldn't be possible? Anything we have skipped over?
There are a lot of tickets with similar issues but none seem to point to anything obvious we have missed?
This could also happen if the Azure AD administrators have turned on "Do not allow user consent" setting in their tenant. This would prevent non-admin users to grant access to 3rd party applications (like yours).
You can learn more about this here: https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/configure-user-consent?tabs=azure-portal.

Protect a single wordpress page and authenticate against an API of external system

I've had a request to provide some internal assistance with our company WordPress website. Its a public site and our marketing team would like to host a single page on there that only existing customers can gain access to. We have an internal in-house developed CRM which the devs have exposed an API to check if an email address provided is that of a customer or not and return a true/false result. The internal CRM uses identity for its auth.
I've done quite a bit of research into the possible options, but none really give a definitive path to achieve this, or offer an alternative solution.
I have a small amount of WP experience, and unfortunately am the only person internally who comes close to being able to "help", however I need some assistance please! What would be the best way to go about securing a single page on a WP site, authenticated by a user providing their email address and it checking the CRM endpoint for true/false validity?

Get access token LinkedIn Api

I am developing a module to integrate the company's website with several social networks.
I've done it with Instagram, Facebook and Twitter.
I wanted to do the same with LinkedIn.
When i call the API to generate the token i receive the error message:
Postman call
I have searched everywhere and i don't found any indication where i need to go to ask permission to create tokens.
The support of LinkedIn tell me to came here...
Anyone can help me?
Thanks
Perhaps you can try reading more about the LinkedIn client credentials flow in the below link.
https://learn.microsoft.com/en-us/linkedin/shared/authentication/client-credentials-flow?context=linkedin/context
If your application needs to access APIs that are not member specific, use the Client Credential Flow. Your application cannot access these APIs by default. Learn more about LinkedIn Developer Enterprise products to request permission to the Client Credential Flow.
As highlighted in the document, an application will not be having access to client credentials by default and you will have to request access exclusively based on your business need. Most of the LinkedIn APIs require three-legged authentication fetch member related data since most of the data request is directly or indirectly related to a member or owned by a member.

How to post message on Facebook Wall with offline access

I am trying to send message from my asp.net website running on localhost with offline access.
Can I post data on fb wall when my asp.net web-site is running on localhost is so then please provide me some solution.
I have tried using graph api provided by facebook on developers.facebook.com and I am sending code from sever-side.
The permission named Offline Access has been deprecated.
You can do so by creating a facebook app.
When configuring, your app's permissions should include the permission to post on behalf of your user (publish_stream should do).
Give the app permission for your user - visit https://apps.facebook.com/{your_app_name_or_id}/, you will be asked to allow the app certain permissions regarding your user. Allow.
Obtain the app's token.
Access the graph API using the token you received. One way (should make it easier, I hadn't a chance to go over it thoroughly myself) is using CS SDK.

Resources