K
Kinde4mo ago
ertu

Nuxt Module org_code is not working

I have multi organizations in kinde. For example their names A and B. When person wants login B and when person use org_code B it doesn't changed. Kinde Auth goes to login A but I want to Kinde auth goes to login B. org_code is not working. How can I work org_code successfully for login B.
21 Replies
Daniel_Kinde
Daniel_Kinde4mo ago
Hi, firstly welcome to Kinde discord. Let me check into this and get back to you shortly The way the Nuxt module is setup there is no way I believe currently. I am building out two new components which will match the Next.js implementation of LoginLink and RegisterLink, they will allow you to define the org_code.
Egemen
Egemen4mo ago
Thank you @Daniel_Kinde , Do you have an estimated date for production?
Daniel_Kinde
Daniel_Kinde4mo ago
The PR has been raised for the change - https://github.com/nuxt-modules/kinde/pull/51
GitHub
feat: add login and register links by DanielRivers · Pull Request #...
This adds two components LoginLink and RegisterLink which allow passing of org-code and other query params <LoginLink org-code="org_59a27XXXX" class="b...
Daniel_Kinde
Daniel_Kinde4mo ago
I will update here when it has been merged.
Colin
Colin4mo ago
Hey @Daniel_Kinde, I have a few questions about this PR, can I DM you? Or do you prefer I ask directly on the PR feed?
Daniel_Kinde
Daniel_Kinde4mo ago
Happy to do anywhere
Colin
Colin4mo ago
Done on github
ertu
ertu4mo ago
Thank You @Daniel_Kinde
Egemen
Egemen4mo ago
Hello @Daniel_Kinde , is there any update for PR ?
Daniel_Kinde
Daniel_Kinde4mo ago
Hi @Egemen, The PR is progressing, there was progress yesterday. Hoping to get it merged ASAP
ertu
ertu4mo ago
Hello @Daniel_Kinde when will this update be released?
Daniel_Kinde
Daniel_Kinde4mo ago
Its pending approval from Daniel Roe.
ertu
ertu3mo ago
Thanks
Daniel_Kinde
Daniel_Kinde3mo ago
@ertu @egemen @Colin Nuxt Module 0.1.8 has been released.
ertu
ertu3mo ago
@Daniel_Kinde thanks, We tried it but its not working (0.1.8 version). When I try to /api/login I got this error: Page not found: /api/login. I get back the older version(0.1.6 version) its work.
ertu
ertu3mo ago
Also second error is
No description
Daniel_Kinde
Daniel_Kinde3mo ago
Intersting, let me check this.
FaoN
FaoN3mo ago
Same here
Daniel_Kinde
Daniel_Kinde3mo ago
Someone has raised a PR to resolve this, I am finishing up some enhancement to typing I hope to include in a fix release @ertu @egemen @Colin @FaoN Nuxt Module 0.1.9 has been released which solves the getQuery issue.
ertu
ertu3mo ago
Thanks @Daniel_Kinde its work.
Egemen
Egemen3mo ago
@Daniel_Kinde could you have a look this issue ? https://discord.com/channels/1070212618549219328/1215318919141920818