gamerwalt / laramultidbtenant

This package is used to create and manage laravel multitenant applications. This is not ready for Production
MIT License
14 stars 8 forks source link

Work with JWT or others auth methods #6

Open wemersonjanuario opened 7 years ago

wemersonjanuario commented 7 years ago

Hi, congratulation for this package.

I would like to make it as an Restful API in my app, and works with jwt instead of session by using ajax.

What is your advice?

gamerwalt commented 7 years ago

It's very possible. You will have to authenticate first with Laravel using the api token then direct to the right tenant. I might end up doing an example with API authentication.

Adewoyin Olawale Bañez Winnipeg, Manitoba, Canada

gamerwalt@gmail.com gamerwalt@hotmail.com

On Tue, Jul 25, 2017 at 12:10 AM, Wemerson Januario < notifications@github.com> wrote:

Hi, congratulation for this package.

I would like to make it as an Restful API in my app, and works with jwt instead of session by using ajax.

What is your advice?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/gamerwalt/laramultidbtenant/issues/6, or mute the thread https://github.com/notifications/unsubscribe-auth/AEWDIjdRuqpbk_skmr24ru5ELlBPDn5-ks5sRXjbgaJpZM4OiEh6 .

wemersonjanuario commented 6 years ago

Any API token auth example?

gamerwalt commented 6 years ago

Not yet. Been busy with another project. Not sure when I'll do this though.