jeudi 6 février 2020

Extend Office365 Login Function to mobile applications

I have built a web portal using laravel and integrated office365 login using this package moathdev-zz / office365-Laravel. It's working great, and now I'm building a mobile app with that portal as backend. I need to extend the office365 login to the mobile application. I have looked into it, and I think there are three options:

  • PHP Curl:

send a post request with user email and password then sign them in the portal using Auth::login once verified. My problem with this option is that I don't know how to format the post request.

  • Web login

put a link in the app that takes the user to office login. My problem with this option I don't know how to redirect them back to the app once logged in.

  • App direct login

There are office365 packages for react native. My problem with this option is that I don't know how sign the users in the backend.

Thank you all



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire