Welcome to the Kinde community.

A
A
A
M
T
Members
Egemen
E
Egemen
Offline, last seen 3 weeks ago
Joined September 23, 2024
I'm a kinde nuxt module user,
I've a multiple organization, when I select an organization from organization list, I can get correct jwt with organization claims.
When I goes /api/login through adress bar, it redirect me, correct address but jwt changes and it loses organization claims from jwt. I've added sources to get jwt token.



const client = await useKindeClient();
const auth = useState('auth')

const { data: tokenData } = await useAsyncData(async () => {
return (await client?.getToken()) ?? {};
});


const token = useCookie('token', {
maxAge: 60 * 60 * 2 // 2 Saat
});
token.value = tokenData.value;

const org = await useAsyncData(async () => {
return (await client?.getOrganization()) ?? {};
});

console.log("org", org)
4 comments
D
E
router.push("/api/login") redirect /api/login but it raises 404 error, however when I refresh the page it works, what should I use instead of router.push ?
5 comments
N
E
V
Hello, I'm working on cloudflare pages, and it creates a website with a brach name. I am wondering if it is possible to add callback URLs independent of the project base URL in the environment file
https://discord.com/channels/1070212618549219328/1217312698694631425
16 comments
D
E
S
Hello I'm getting a not clear error message while creating organization. How can I get some help to solve this problem?
{"status": "error", "error_id": "084333668ba747dfbba0128e1536eed2"}
4 comments
A
E
Hello,
after updating "@nuxtjs/kinde" version 1.0.9 I've started to get the following warning while doing "yarn install"
"warning @nuxtjs/kinde > @kinde-oss/kinde-typescript-sdk@2.7.0: this package has been deprecated"
also during initialization of my project via "yarn dev" . I'm getting following error.
Error: Could not load /home/egemen/Devel/workspace/biletandmore/nuxt-rezervasyonyapp-saas-web-app/node_modules/@kinde-oss/kinde-typescript-sdk/dist/index.js: ENOENT: no such file or directory, open '/home/egemen/Devel/workspace/biletandmore/nuxt-rezervasyonyapp-saas-web-app/node_modules/@kinde-oss/kinde-typescript-sdk/dist/index.js'

Could you check this out ?
PS: (I've started this kind of error after deleting node_modules)
2 comments
D
A
We are using cloudflare pages, while deploying we are getting warning like that. I have also attached SS for it.

"The 'this' keyword is equivalent to 'undefined' at the top level of an ES module, and has been rewritten"
3 comments
A
E
S