isakwang
Explore posts from serversKKinde
•Created by isakwang on 8/7/2024 in #💻┃support
pass url redirect path to login link in Nuxt
How can i pass a redirect url to the api. I see in the code that it is possible based on the type, but I can't seem to figure out how to pass it in
2 replies
KKinde
•Created by isakwang on 7/30/2024 in #💻┃support
Get user by id
Hello
Trying to get a user by Id using the managment api, but the docs only explain HTML queries and not the JS library. How can i provide arguments in to the function?
Example:
import { Users, init } from "@kinde/management-api-js";
export default defineEventHandler(async (event) => {
init();
const data = await Users.getUserData();
return data
})
11 replies