Opened 8 years ago
Closed 8 years ago
#41639 closed enhancement (maybelater)
Add user authentication endpoints
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Login and Registration | Keywords: | |
Focuses: | Cc: |
Description
We are currently building a React-powered web app using the REST API and I need to add user authentication.
I was looking through the wp-calypso code and I noticed that they are using the user authentication endpoints below which is exactly what I need for our project:
`
https://wordpress.com/wp-login.php?action=login-endpoint
https://wordpress.com/wp-login.php?action=social-login-endpoint
https://wordpress.com/wp-login.php?action=logout-endpoint
`
The above endpoints are used in [wp-calypso](https://github.com/Automattic/wp-calypso/blob/master/client/state/login/actions.js)
Change History (1)
Note: See
TracTickets for help on using
tickets.
Thank you for the feature request, @crosescu!
These endpoints are currently under development on WordPress.com, and will only be available for use by specific apps (hence
client_id
andclient_secret
being included in each request).That said, these endpoints are different to what will likely end up in WordPress Core, as they contain a significant amount of WordPress.com specific code. There's been some discussion on what a Core solution would look like, the
#core-passwords
channel in WordPress Slack would be the best place to see where discussions are currently at.