Authenticate user/password against custom user table #2456
-
My question is about V8, but might be valid for V9 as well. I want to verify a user of my app, against a list of users, stored and administered in Directus. The docs say:
https://v8.docs.directus.io/guides/modules.html#user-directory So I created a new collection called members with a text field for the unique username/email and a password field. After reading the docs up and down and search the old issues, I came up with this strategy to verify a user via the API (using the access_token of the Directus Admin):
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
That'd be the way to do it! That being said, that recommendation no longer applies starting in v9. v9 added the ability to add custom fields to the system collections, negating the downsides of using that for your own app's users 👍🏻 |
Beta Was this translation helpful? Give feedback.
That'd be the way to do it!
That being said, that recommendation no longer applies starting in v9. v9 added the ability to add custom fields to the system collections, negating the downsides of using that for your own app's users 👍🏻