Skip to content

Using an access token for (user) data for showing first name and avatar #27

Answered by Intevel
vanling asked this question in Q&A
Discussion options

You must be logged in to vote

The module has several composables, an option to implement the feature wouldn't be too bad.

All composables that use data fetched from the directus server use the useDirectus composable (which also uses $fetch). You can assign parameters like access_token to the useDirectus composable. However, assign an access_token for e.g. the useDirectusItems composable is currently not implemented. Would be a good feature though. 🤟

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Intevel
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