@tuấn-nguyễn-xuân said in Google map plugin:
Build google map plugin for content? It's comming soon!
OpenStreetMap https://community.nodebb.org/topic/11772/nodebb-plugin-osm-map-openstreetmap-based-map-to-locate-users
Simple API endpoint for external login. Special use case: external login checks if user's credentials are valid.
I'm using it for validation of user existence and correctness of credentials, so I can provide necessary services around NodeBB.
This plugin does not add UI elements and creates very low overhead on start-up script.
What is this supposed to be? Wasn't it already existed in the core?
@Firelad said:
Wasn't it already existed in the core?
Available for external use? Maybe, I didn't find.
@Nicolas do you mind giving an example how this plugin works? I make an ajax from an external application providing a username and password and i should be logged in?
Plugin checks login credentials. if they are correct, it will provide user object as a response. For example, I'm using this plugin for my external API.
By visiting /api/ns/login
via POST, if credentials are correct, response will look like
This plugin does not create any persistent sessions.
@Nicolas would it be possible to modify your plugin to create a persistent session? if so, do you have any pointers for me to do so?
@julian any ideas?
any news on this? What @agarcia17 says is what i'm looking for.
@smendez-hi plugin was not designed to handle persistent sessions.
@Nicolas Ok, thanks. Then the only possible solution is Oauth2
The new version is available.
Changelog:
@nicolas i has a external website, when access website i use ajax make request login 'api/ns/login'... i received object user . but i do not received notification at external website.
socket.uid at serve = 0.
can you help me ?
sorry if i write less english.