CodeIgniter Forums
API authentication for android application - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5)
+--- Forum: General Help (https://forum.codeigniter.com/forumdisplay.php?fid=24)
+--- Thread: API authentication for android application (/showthread.php?tid=67863)



API authentication for android application - Angelo - 04-18-2017

Hello everyone, all right?

Has anyone ever created any api with authentication for mobile applications with codeigniter? It is a simple api where the user logs in and can consume her data in json form.

If anyone has any tutorial to tell me, or something to help me beat the stones, I'm grateful.

Grateful!


RE: API authentication for android application - neuron - 04-18-2017

https://stormpath.com/blog/the-ultimate-guide-to-mobile-api-security

I used JWT (json web token) for authentication link below explains how to do it
https://vivavivugeek.blogspot.com.tr/2016/08/codeigniter-build-jwt-authentication.html


https://github.com/chriskacerguis/codeigniter-restserver

if u building hybrid app with angularjs here is the angularjs library which suppory JWT 
https://github.com/sahat/satellizer

another artice that worth to read
https://www.ida.liu.se/~TDP024/labs/hmacarticle.pdf


RE: API authentication for android application - Angelo - 04-19-2017

Thank you so much neuron, it helped a lot with the material!