Skip to content

Utilizing identities in a CRUD app #1245

Answered by Benehiko
nedpals asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @nedpals,

Thanks for reaching out :)

Yes you use the user ID for that. This can easily be done in your application using a middleware to retrieve the user ID from kratos using its cookie https://www.ory.sh/kratos/docs/reference/api#check-who-the-current-http-session-belongs-to

Retrieving an Identity can also be done using its ID https://www.ory.sh/kratos/docs/reference/api#get-an-identity

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@nedpals
Comment options

@Benehiko
Comment options

@nedpals
Comment options

Answer selected by nedpals
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants