MaTTHD
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
I managed to bootstrap something with auth0 for now but would prefer to try kinde
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
Sounds good
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
Any updates ?
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
As this would allow api access however the user would still be required to “sign up” twice if I’m not mistaken
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
But if there are other suggestions / more secure ways your team thinks of please let me know 🙂
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
Last note, I think what I’ll end up doing is adding middleware to the nextjs app, if the request is coming from my app it will validate the JWT against the .jwks and let the traffic through
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
Appreciate it 😄
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
That'd be awesome, this has been several 12 hour days for me trying to make something work!
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
Hey @Oli - Kinde thanks for the comment! I appreciate the help as I am just figuring all this out. I will provide a bit more context as that is not quite what I am after.
- I have a flutter mobile application running which has Authentication / Login handled using Kinde.
- I have a NextJS web application, for the web version of this product also running on localhost:3000 which has frontend and authentication ALSO with Kinde.
The problem I am running into is the NextJS application has backend API routes as you showed there and I can call that as expected from anywhere inside the NextJS app, however if I try to call that same route from my mobile application using a post request, the session seems to be null
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
However, now I need to somehow have my nextjs getServerSession auth the users request ot the backend api which I think can be achieved by using the API's just not sure how
19 replies
KKinde
•Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
Update, seems to work if my nextjs app and flutter app are not sharing the same Kinde app
19 replies