Ionic Cloud authentication with Lumen server - laravel

I am currently using Ionic Cloud to handle authentication and Facebook login for my app. What I am now doing is building a backend API with Lumen to do a few simple things that Ionic Cloud can't do. Is there a way to use the authentication I already have with Ionic Cloud to also authenticate my back end server? Or will I need to scrap Cloud and only implement authentication in Lumen. Ionic Cloud makes authentication very neat and easy, so it would be a shame to stop using it.

Related

Restful api versioning in Laravel 8

I am trying to build a restful api using Laravel-8. Already I have setup Laravel-Passport for api authentication. Now I want to do API versioning for the Laravel-8.
I've heard about Dingo being used with jwt-auth. But I am using laravel passport.
Which api versioning package can I use for the restful api with Laravel Passport auth?
Thanks.
You don't need a package for it. You just need to set-up your Laravel project correctly.
Take a look at:
https://medium.com/mestredev/versioning-your-rest-api-with-laravel-646bcc1f70a4

Laravel: How to secure APIs for iOS and Android apps

I am making a backend CMS for my android and iOS app and have implemented the APIs. But I am struggling with securing them. I have tried using Laravel Passport but I failed to use it. I want to ask if my apporach to secure them is right? Should I use passport or is there some other way to secure my apis? And how do I do it? Any help will be appreciated.
I am using laravel 5.4.

Jhipster social login with ionic 2

Use case:
Ionic 2 app using jhispter as a backend.
JWT Auth working fine.
Overview of the issue
I added social auth to jhipster back-end, but i can't figure out a way to communicate the ionic 2 app with the jhipster social login, i was thinking of using cordova inappbrowser to do this but can't figure out how.
it seems to me that is not possible to do this with jhipster and ionic directly, perhaps using Auth0 may be a solution to this.
Ignite JHipster has social login but without ionic

Firebase authentication for Sinatra (Ruby) web app

Is it possible to use Firebase for authentication of a Sinatra app in much the same way that I can use Auth0, and if so, how? The samples from Firebase all seem to assume single-page applications talking to a backend using JWT. Mine would be a traditional, fully server-side-rendered app.

Using Firebase Authentication with PHP backend

We are building a firebase mobile app and need to put some payment (paypal) logic on a custom PHP backend (Laravel).
The question is what is the best solution to do authentication on the PHP side?
Currently we are thing in using API-Key library like https://github.com/chrisbjr/api-guard
Is there any better solution?

Resources