How to get the user ID from the JWT? #836
Answered
by
arxdsilva
zaiqsaysa
asked this question in
API Server
-
Hi! I'm new to prestd. I have created_by and modified_by fields in my table and I want it to be automatically populated or updated based on certain conditions, such as user authentication. Is it possible to do this in prestd? |
Beta Was this translation helpful? Give feedback.
Answered by
arxdsilva
Nov 18, 2023
Replies: 1 comment
-
Hi @zaiqsaysa, you'll need to do a custom route for that unless you pass it as part of your request body. Please see this documentation section for how to create the custom route: https://docs.prestd.com/plugins/endpoint-plugin |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
arxdsilva
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @zaiqsaysa, you'll need to do a custom route for that unless you pass it as part of your request body. Please see this documentation section for how to create the custom route: https://docs.prestd.com/plugins/endpoint-plugin