Authenticate web app via Spotify app instead of browser - api

I have a web app that is for Spotify users. To authenticate Spotify it currently takes the user to https://spotify.com/en/login?... as described in the Spotify docs. It works fine but it opens Safari instead of the Spotify app. This is an issue because a user may not know their password and then abandon the onboarding flow.
Since the user will be on their phone when accessing the web app, I would prefer to open the Spotify app in order for the user to grant us access. Songkick is able to do it but they do it from an iOS app so I'm not sure if it's possible to do from a web app on mobile to Spotify iOS app.
Also, I am building on Bubble.io which is a no-code builder. I am able to open the Spotify app directly from my web app by using https://open.spotify.com/artist/{artist_id} but that does not seem to work for authenticating.

Related

Electron Desktop Expo OAuth2 Login

I am building an app using Expo/React-Native for multiple platforms using OAuth2 as AuthProvider.
So far, successfully logging in on android devices, web browsers (Chrome, Edge), iOS devices.
But unfortunately, I have an issue completing logging in on electron/desktop app.
I am directed to OAuth2 server (using promptAsync from Expo Api/AuthSession)
, and successfully logging in, but not being redirected into my desktop app. Once the credentials are successfully entered on the popup dialog, the login popup dialog should redirect back to the app so I can use ‘code’ to get to access_token.
Sample project here.
How do you expo AuthSession.useAuthRequest to complete login from electron?

Firebase auth Redirect to Facebook app instead of website for login on mobile

Is it possible configure my firebase project so that if a user is on mobile and they need to log in, they are redirected to the facebook mobile app instead of the facebook website in their browser?. I thought iOS would automatically intercept the link but it just takes you to the facebook site. Users with the app installed might not already be logged in through their browser since they are used to using the app and i'd like to avoid the extra login step for them

in youtube API 3 user authentication required or registering the app by the developer is enough?

i want to develop an android app using youtube API 3.
It is necessary that the user who will be using the app has to login with his/her gmail credentials to actually view a video?
Or just registering the app here https://developers.google.com/youtube/registering_an_application is fine and the user watching the video or using the app need not login to his/her gmail account.
It is necessary that the user who will be using the app has to login with his/her gmail credentials to actually view a video?
No. Authentication via OAuth is only necessary if your application requires access to "private user data". Simply viewing a video does not meet those requirements.
More details here: https://developers.google.com/youtube/v3/guides/authentication

Objective c Facebook

I am developing an application that posts in IOS Facebook wall.
I'm using SDK Facebook.
My problem is if I have installed Facebook on my iPhone, when I call the permissions, it calls the Facebook app.
If i uninstall the facebook app, the authorization opens inside my application.
There's a way to open inside my application even with the Facebook app installed?
This is really not recommended because it is less secure and more of a hassle for users. However it is still currently allowed for the time being. In the Facebook.m file, change authorizeWithFBAppAuth to NO and safariAuth to NO:
[self authorizeWithFBAppAuth:NO safariAuth:NO]

How to enable iOS browser to login with facebook from web page (not app)?

I have a web site, that uses facebook to login.
I would like iOS user of safari, to be able to login into this site. You understand i'm NOT talking about a native iOS app..... just a web site visit.
Currently, user can't login from iOS safari, as they can from any desktop environement.
Either login link is inactive, or there is an error message instead of the login popup.
So what should I implement on website to have facebook login work on iOS browser ?