I have been trying to find information on how to use a generic oauth2 provider in Ionic2 but could not find anything useful. In most of the cases I can only see info for Facebook or Google but no info on how to use your own provider. Have anyone done this before? Or does anyone know any useful links? Thank you so much in advance.
After poking around some you've got a few choices. http://ionic.io/cloud#authentication looks promising though I've never played with it. Here's one which should give you a bit more control, https://github.com/nraboy/ng2-cordova-oauth
Further... there's nothing saying you need to use something specific to ionic2. Why not use any of the plethora of oauth libraries out there and wrap it in your own service to use with ionic's page nav?
Related
I am a beginner in the world of the OAuth2.0 and OpenID Protocols. I would like to implement a custom server - provider for multiple applications. So, to use it for Single Sign-On (SSO). I would like to work with python. Till now I have found four packages, for an OAuth2.0 and an OpenID Connect server implementation, in Python: pyoidc, django-oidc-provider, Django OAuth Toolkit (DOT) by OAuthlib and Authlib. I tried to read and understand pyoidc, but it was not so helpful and easy, basic things were missing. I have tried django-oidc-provider and I was really satisfied, and the whole implementation was really easy. So, after those trials, I am left with Django OAuth Toolkit (by OAuthlib) and Authlib. Has anyone tried them? Are these packages the same? Is Authlib an updated version of the OAuthlib library? The only information I know till now, is that Flask-OAuthlib is deprecated, and Authlib is was its new version.
*Every answer or advice or personal experience would be really helpful and always appreciated!
Thank you again for your help.
After some research, I concluded to work generally with JWTs. As before, I would like to work with a GraphQL API, so I am searching for solutions about JWT authentication on it. I maybe use Passport.js (passport-jwt) or something else for Python. All the libraries mentioned above possibly will be not used.
I will just redirect the user to my main application, authenticate them with JWT, and then return the JWT back to the application. In the future and after deployment, I might also implement an OAuth2.0 provider for my website. Although those packages did not really help me, I would recommend Django OAuth Toolkit (DOT) and django-oidc-provider to others. But, also I learned that django-oidc-provider only supports the implementation of a small and simple OAuth2.0 provider. Django OAuth Toolkit comes with lots of options for implementing an advanced OAuth2.0 Authentication Server (AS), including Authorization Code flow with PKCE (Proof Key with Code Exchange), which is the most secure flow. It is also scalable and has great documentation with lots of customizations if you want.
*I sent an email to the support of Authlib, and of course no one has answered to me after a week.
I am a very new developer who can write basic HTML (yes I know it's English), and is looking for a solution to a problem that I basically invented.
I recently bought a product called Doorbird, a very cool and well engineered IP Doorbell. The reason I bought it, is because it has an App, and integrates with IP phones and support video, and has a few bells and whistles, if you're not familiar with this product, I highly recommend looking at it.
The "problem" is that it does not integrate with Google Home, or Amazon Echo. However, it does have an API that allows you to go to the URL, login and unlock the door. I was looking into creating my own action that would have the Google Home login to the Doorbell and go to the unlock URL.
My issue is, I have no experience with this, but I pick things up very quickly, and believe in myself!
I already looked at the api.ai site from Google, and have signed up. It looked simple, but upon further investigation looks very complicated.
If anyone would be able to point me in the right direction I would be greatly appreciative.
Thanks in advance,
-Jack G
You need them to publish their REST api so that you can call the 'action' to unlock directly vs. having to go to a login page. You would probably set up oauth to have your server talk to theirs or use web headers. Ask their tech support if they support direct REST api using a security model.
I'm building a website using django and planning to connect it with facebook. I googled and found so many codes to do the job but don't know which one is good for me. I need facebook connect and new graph api support. Could anyone share me some experiences with codes below and advise me which one is good for me? (with some tips if possbible)
github.com/benbinary/django-facebookconnect
github.com/dickeytk/django_facebook_oauth
github.com/digvan/django_facebook_oauth
github.com/facebook/python-sdk
github.com/flashingpumpkin/django-socialregistration
github.com/ryanmark/django-facebookconnect
github.com/tschellenbach/Django-facebook
I would really appreciate it.
http://github.com/facebook/python-sdk is official Facebook Graph SDK from Facebook. So it's good for fetching/puting data from Facebook. It's doing it well, so you don't have to search for alternative.
Authentication is bit more problem. I was searching for library witch will match my needs, but not found it. So I wrote bit off code myself.
see also:
http://developers.facebook.com/docs/authentication/
http://developers.facebook.com/docs/api
http://developers.facebook.com/docs/reference/javascript/
I'm trying to get authenticated for receiving and publishing Google Buzz-es from a Qt 4.6(c++) application. I'm looking for a cross-platform solution.
Could anyone provide some working solution for this purpose?
You can also try kQOAuth which is a new Qt library for doing OAuth authentication. It will let you do the user authentication very easily too, if you like.
Supports OAuth 1.0 and HMAC-SHA1. No external dependencies.
http://www.johanpaul.com/blog/2010/10/introducing-kqoauth-easy-and-powerful-oauth-library-for-qt/
I couldn't find any either, so I made one: https://github.com/pipacs/steps/tree/master/o2 . Based on KQOAuth, tested with Google Docs.
Quick google search gave me QOAuth, which is a Qt lib and liboath which is a C based API.
I'm using QOAuth, you have to do some hack before you can use QOAuth in windows.
So far, I could get the request token from Google, and let the user authorize it.
But when I try to get the access token with the oauth_verifier, it keeps telling me the signature is invalid.
Anyway, I've used QOAuth to deal with other SP successfully. So the QOAuth is the solution.
I'm trying to integrate with Twitter using their OAuth API. I have downloaded and tried the CF implementation here: http://oauth.riaforge.org/ with no success. Anyone have a simple CF to Twitter OAuth example for authorizing a user, getting a token, and using it?
ColdFusion plays really nice with java. What I did is simply use the twitter4j lib (http://yusuke.homeip.net/twitter4j/en/index.html#introduction) to handle everything. Works like a charm, and is far more comprehensive that you'd ever dream of writing yourself. Plus, it's free.
I'd try that before I went banging my head against the wall trying to deal with signing oauth requests and reinventing the wheel.
checkout this post my colleague wrote - the twitter 4j library recently change in the 2.2 update and the class is now an interface, so you have to modify the code a bit...
http://techblog.troywebconsulting.com/2011/09/authenticating-to-twitter-using-oauth-and-twitter4j-2-2x-api-with-coldfusion/
Could try this one, but I didn't try it myself yet to know if it works any better than the one on RIA Forge. I just found it while digging around.
http://oauth.googlecode.com/svn/code/coldfusion/
It looks like RPX also supports OAuth, but again, I haven't tried it personally. I am using them for an OpenID implementation, and they work great.
https://rpxnow.com/docs