Create a submodule enabling user registration resources

Created on 3 January 2020, over 4 years ago
Updated 7 December 2023, 7 months ago

We're needing to create a Register and a "Me" endpoint in JSON:API. This was discussed previously in #2877549: How to register a new user using JSON API module β†’ . It was marked as "something JSON:API doesn't do."

But, we now have JSON:API Resources! Which means we can do this. I was considering a jsonapi_resources_user or jsonapi_user module. This would allow us to have /jsonapi/user/register and /jsonapi/me. The latter returning information about the current user. The registration resource would be a port UserRegistrationResource to a JSON:API resource.

I'm torn if this should be its own project (providing two resources) or a submodule. But, it does make sense as a submodule since it is very specific. And this way the JSON:API Resources module can provide a collection of very common and specific features as resources.

✨ Feature request
Status

Closed: won't fix

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States mglaman WI, USA

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024