mirror of
https://github.com/appy-one/acebase-server.git
synced 2026-05-24 22:01:28 -06:00
[GH-ISSUE #60] FR: add ability to use built-in authentication for custom routes #19
Labels
No labels
bug
enhancement
feature request
pull-request
types
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/acebase-server#19
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @donl on GitHub (Dec 7, 2022).
Original GitHub issue: https://github.com/appy-one/acebase-server/issues/60
Looking to be able to use the built-in authentication on endpoints created by
server.extendandserver.appto check if a request is from an authenticated user or not.@appy-one commented on GitHub (Dec 7, 2022):
You should be able to use
req.userfor this purpose. If the user is signed in, it will contain the user details,nullotherwise.@donl commented on GitHub (Dec 7, 2022):
Ahh! That looks perfect! Thanks