WP-API / Basic-Auth

Basic Authentication handler for the JSON API, used for development and debugging purposes
761 stars 281 forks source link

user authentication using json (login/password) with angularJs #44

Open marwene8 opened 7 years ago

marwene8 commented 7 years ago

-i need to create authentication interface for my application .

-i have list of user with login and password for connect to my application with a json format.

-i found code in the internet assimilate for my idea but i can't modified for my idea.

-i need to connect to my application with login and password who has in json file

Link to my Plunker : http://plnkr.co/edit/YmKaweSPi8nip12lhAVX?p=preview please i need help

muraliwebworld commented 6 years ago

I think this plugin needs to be updated , for users who already logged on, it is bypassing and sending 401 code. Same problem like wordpress oauth1.0 plugin which also needs to be updated for re-authentication for already logged in users otherwise it will send 401 error, i have changed little bit related to already logged user routines in these 2 plugins, it is working for me