How To Authenticate Bing Ads Users In a Shopify Embedded App? - shopify-app

I am trying to authenticate bing ads users in my embedded shopify app using express-session and a cookie. However I can't seem to get a cookie after completing the auth process in the iframe where shopify app resides. I am getting the cookie in my browser and when I try to make a request to the backend from a new tab for example 'http://localhost/bing/get_user/' everything works as expected and I am able to get data from bing ads api.
Can someone explain what is that and what the possible solution might be.
Thanks in advance!

Related

Post to Facebook on behalf of my web application users - Laravel

I have created a web application and I would like users to be able to log into their own Facebook account to publish posts on their Facebook profile from my web application.
Every time I connect them to Facebook with authentication, I get back a token that does not retain the requested permissions, especially "write to profile".
I am on Laravel.
I have tested with PHP SDKs, with Socialithe and even with PostMan. I can't find the solution.
Do you know if this is possible? And how?
Thanks

Add Google, Facebook and Instagram Login in Flutter APP with REST API

I have purchased this Multi-restaurant system from codecanyon. Backend is developed with Laravel and I want to add Social Login in customer app but i am not able to figure out the way to do it. Through Firebase we can do it but how do we manage it with API. Any kind of resource or help will be appreciated.

How to use OAuth2 token with gmail in a WebView in Electron?

I'm working on an Electron application that needs to render Gmail in a WebView. I've got to the point where I can authenticate via OAuth2 and get a token, but don't know what to do with it from there.
Fundamentally, I need a way to send the token to Google in a way that then loads the regular GMail web interface. Is this possible?
All wisdom appreciated!
I think you have misunderstood the usage of the Gmail api.
I need a way to send the token to Google in a way that then loads the regular GMail web interface
The gmail api allows you to access a users Gmail account the data is returned in json format. If you want this displayed or formated in anyway that will be up to you.
There is no way to pass a Oauth token to anything that will load the gmail website only google can load that.

How can I log in using Google OAuth in the TikTok in-app browser?

When attempting to log in with Google OAuth via the TikTok in-app browser it says "Authorization Error Error 403 disallowed_useragent Google can't sign you in safely inside this app. You can use Google sign-in by visiting this app's website in a browser like Safari or Chrome."
Thinking this is either a call by Google to prevent login within TikTok or they simply haven't added this user agent yet.
Google OAuth does not work in embedded web views per policy. See https://developers.googleblog.com/2016/08/modernizing-oauth-interactions-in-native-apps.html.
You should reach out to the app developer to recommend they use one of the alternatives recommended like Chrome Custom Tabs.

Login with Yammer credentials using API

I am trying to login website with yammer credentials using REST api. I have registered in yammer API. Now i have got developer token and Client ID from Yammer website.
Could you guys please let me know what is next step to login with yammer credentials from our application using c# in visual studio. Because i am beginner in using API.
Thanks!
You have a couple of options:
The JS SDK approach -
https://blogs.technet.microsoft.com/israelo/2014/10/21/yammer-rest-api-for-dummies/
The ADAL approach -
https://blogs.technet.microsoft.com/israelo/2016/07/05/yammer-apis-and-adal-tokens/
The first open will request users to login via a browser pop up, and the second option can utilise IWA, but there are some pre-conditions and limitations as it is still in preview. Details are in the blog.

Resources