OAuth2(Facebook, Instagram, Github) with Hello.js + Quasar Framework
-
I wrote an article on how to implement OAuth2 with social networks using a library called Hello.js
The article is in pt-br
http://viladosilicio.com.br/autenticacao-com-hello-js-no-quasar-framework/
-
HI there, great article!
I’ve played around with hellojs and although it is really useful for OAuth2, I’d approach with caution if you are trying to use it for OAuth 1 (for example with providers like twitter)
I also found that for SPAs hellojs may not be the best solution due to the nature of SPA urls i.e.
http://localhost:8000/#/<route>
Typically hellojs would hang as the callback url for OAuth 1 providers leads to no routes as they are:
http://localhost:8000/callback?token=<--------> ....
If anyone has any solution to this it would be great to hear?
Edit
I forgot to mention that using history mode is a good solution to the issue but needs some server side work when deploying. -
@mKomo Exactly, history mode is required.
I was able to solve this problem, but creating my own OIDC Client in another solution. -
But I believe that Hello.js is a fast solution for authentication with social networks.
-
Thank for good post
-
@patryckx Many thanks for that … I don’t speak any Portugese, but I could figure out most of what you’re doing and Google Translate will help me when I get around to actually implmenting this for myself.
Again … many thanks.
-
@digiproduct @avadoviet
I thank you!
I share these features I find while developing my applications. -
@patryckx I would have liked to watch your Quasar video tutorial series … if it had been in English. I can follow some of what is going on from looking at the English text on screen, but not enough unfortunately
-
@digiproduct Unfortunately I do not speak English.
So I try to at least let the subtitles available to help those who need it, because my videos are well divided. -
@patryckx Great idea … I hadn’t thought of doing that.
OK, sub-titles don’t translate exactly … but they help … I’ll try to set aside some time this evening to go through your tutorials.
Many thanks.
-
@digiproduct If in doubt, you can get help through the quasar discord. I’m always present on the #brasil channel
-
@patryckx I’ve never used Discord before … but I’m loving Quasar so much that I know I’m going to be using it a lot, so I guess every avenue of assistance is worth having
-
@digiproduct Yes! The discord is a communication channel where you can talk to many people in the community, including having help from staff who work at Quasar.
It is the official communication channel today.
At the top of the quasar documentation, you have the link to enter the channel. -
@patryckx I’m just adding the link back into the leftDrawer of the project I’m working on … I’d removed those links and used them for other things …
-
@digiproduct In the documentation itself you will find it.
https://quasar-framework.org/ -
@patryckx I joined the Discord group … another new thing to learn how to use.
Seems like I accidentally joined Discord a couple of weeks ago when I was investigating Vuetify and so I now appear to have 2 DigiProduct accounts at Discord!
After finding Quasar last Friday, I’ve completely given up on persuing the option of adding Vuetify … I’m going all-in on Quasar now … seems much better framework
-
hey @patryckx
Nice post - thanks for sharing it
Would you authorize an English translation for it? I can help with that
abraço!
-
@wcomnisky Hey!
Of course I authorize.
I make articles on tools and technologies that do not find much information on the web.
If that can somehow help other people, then feel free!
Articles in pt-br are hard to find hehe -
@patryckx Cool! Thanks!
I’ve cloned your Github repo and I’ll try to work on that this weekend.
I’ll keep in touch
cheers!
-
@wcomnisky said in OAuth2(Facebook, Instagram, Github) with Hello.js + Quasar Framework:
@patryckx Cool! Thanks!
I’ve cloned your Github repo and I’ll try to work on that this weekend.
I’ll keep in touch
cheers!
@wcomnisky @patryckx I’ll be interested to hear of your progress on this as I’d like to follow Patrick’s videos if possible.
Thanks.