OpenID on mobile apps [duplicate] - mobile

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
OpenID on a mobile/cell phone
I am trying to implement OpenID support for my website. Down the line, I would need to create mobile app versions as well. I am not a big fan of the UI with OpenID - the way the user is taken out of the workflow to get authenticated. And I am thinking that it will be evern worse in case of mobile apps.
Can anyone point me to an existing solution that I can see? Is it even possible?
Thanks.

You embed a browser in your app and use it your app. In android use WebView, in iOS use UIWebView. Take a look on video around time 47:30.

Related

Implement face authentication in React App

I wanted to create a React Application that could be unlocked via Face Authentication similar to Windows Hello. How does face authentication work? How can I make this work? Many android applications and iOS applications already have this functionality. Is there any website implementing such functionality?
The WebAuthn API and FIDO2/CTAP2 spec is supported on all major platforms/browsers now, including iOS, Android and Windows 10 (Hello). This means you can implement a similar experience to native iOS apps in a browser application if you wish as well as supporting FIDO compliant security keys also.
You can try it for yourself here: https://webauthn.io/
You'd need a backend that can support registration of credentials and authentication of assertions however. This is potentially non-trivial depending on what you have in play but library support is improving all the time.

Multiple domains with the same application running firebase as the backend [duplicate]

This question already has answers here:
How do I make a custom subdomain on Firebase?
(2 answers)
Closed 6 years ago.
I'm looking to build a single page application, preferably with angular on the client and firebase as the backend. As for the general data storage there are no need for advanced queries and no need for something like Mongodb along with the MEAN stack for example (which I'm most comfortable developing in otherwise). On the server side firebase has sufficient requirements for what we are looking to build. My question is and what seams to be very hard to find any information about is:
Is it possible to use **multiple domains with firebase running in the background with the same application and database for each and every domain?** (Possibly using node as a static file server alongside with it if firebase isn't enough to tackle this on its own). What I mean by this is that we want to be able to build the same system for our clients but on their separate domains.
The goal is to have a server side application running all the same backend-logic with multiple websites and with angular change the front-end components depending on what domain the user visits. (This has already been fixed and works properly with angular).
I'm not able to find any information about this other than using multiple applications with the same domain. This is not what I aim to do. And the firebase documentation isn't as much help either. The firebase hosting capabilities are the issue for me here and if anyone could point me in the right direction on where to get started it would be very much appreciated!
I've looked around for other alternatives when it comes to routing such as using vhost middlevare with the express framework or Nginx to setup some proxy of some sort but I recon that this shouldn't be necessary or at all possible to use with firebase. And I hope that there's maybe a more straigh-forward approach.
Here is an active issue on using a proxy with firebase:
(Active as of now: June 2016)
https://github.com/firebase/firebase-tools/issues/155
Thanks and I hope this is appropriate to ask in this forum, otherwise please do let me know where I can find more information about this.
I eventually found out what I had to do and it now works the way I need it to. Hopefully this can help if anyone is wondering the same thing in the future.
In the firebase console you can add authorized domains by going to:
https://console.firebase.google.com/project/THE_PROJECT_ID/authentication/providers
and adding the set of domains to your application. (Initially localhost and the firebase-app domain is set when creating the app)
and for test purposes setting the hosts in the GNU. (I'm using mac.)
sudo nano /private/etc/hosts
I'm now able to serve the same application on both: foo.com:5000 and bar.com:5001 just as I was looking to do from the beginning.

App Engine As OAuth2 Provider [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
As I understand, App Engine Apps are OAuth 1 providers by default.
Is there a way to use OAuth2, e.g. with Google+ Sign-In or (mobile) chrome.identity API while still taking advantage of the GAE Users API and not having to implement a custom provider?
If not possible, what are the alternatives?
Can't say anything about what you refer to as "(mobile) chrome.identity API," but, inasmuch as I got to your question because of its google-chrome-app tag, I can answer for a Chrome App: Yes, it's possible to use the chrome.identity API to connect to an OAuth1 server (I've done it), but it's a lot of work, and you have to horse around with all of the OAuth1 handshaking. It's somewhat easier than trying to connect without chrome.identity, but not nearly as easy as connecting to an OAuth2 server, which is pretty much automatic.
Note that this is not a way of using OAuth2 to connect, which is what you literally asked. Rather, it is a way of using chrome.identity (for a Chrome App) to connect to an OAuth1 server.
Cloud Endpoints seem to be exactly the solution I need. They are not (yet?) a part of the official GAE for Go documentation, but can be found at Github.
Probably the best way to start is the examplary tictactoe app.
A quick test with the Google+ Sign-In button was successful (although with my probably wrong config it is performing multiple calls under the hood and some of them resulting in scoping errors).

application analytic

I have mtiks a mobile analytic software in my application and I want know if I have to inform the user that I use it or can I ignore it? Do I get lawproblems or is my application not accepted?
Thanx
newone
There's no requirement to show a disclaimer in the app itself, you can include it in your apps EULA. More details for a Google Analytics example here: http://www.quora.com/Whats-the-best-way-to-inform-our-iPhone-App-users-that-we-use-Google-Analytics-to-track-their-usage

Send status to Facebook from Windows phone 7 silverlight application. What do I need?

How do I perform this?
I'm making a funny little notepad application where you should be able to send your notes to your Facebook account, as a status.
My question more directly is: Where do I find code so I login to "Facebook-write status page"?
And how do I implement it in this silverlight application? Can I use html/Javascript for this maybe?
There is a project at http://facebooksdk.codeplex.com/ which lots of people have used to integrate Facebook functionality into their Windows Phone 7 apps.
You don't need to use javascript or html for this.
Facebook has an API that you can use by sending web requests from your application to facebooks servers. The process is not straight forward, so you should check out the documentation here: https://developers.facebook.com/search?q=API
There is an open source C# based API available here: https://developers.facebook.com/blog/post/395 It may be easier to use than doing web requests yourself.

Resources