Ricer
Ricer
KKinde
Created by Ricer on 11/12/2024 in #💻┃support
Flutter SDK with Encrypted Box
?
2 replies
KKinde
Created by Ricer on 11/3/2024 in #💻┃support
Configuring DynamoDB express session store
Forgot to mark as solved. I managed to work it out with using the default keys (partition key is "id" and not using sort key)
3 replies
KKinde
Created by Ricer on 10/29/2024 in #💻┃support
Authentication error
Hey @Daniel_Kinde, I didn't check, but it was solved when I added { withCredentials: true } to the HTTP requests
3 replies
KKinde
Created by Ricer on 10/24/2024 in #💻┃support
ExpressJS SDK backend with AngularJS frontend auth issue
Hey @Daniel_Kinde, I don't sadly, but I did manage to solve the problem by adding { withCredentials: true } to my frontend's HTTP requests
5 replies
KKinde
Created by Ricer on 10/24/2024 in #💻┃support
ExpressJS SDK backend with AngularJS frontend auth issue
Here's the proxy.conf.json:
{
"/login": {
"target": "http://localhost:3000/login",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/login": ""
}
},
"/auth/callback": {
"target": "http://localhost:3000/auth/callback",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/auth/callback": ""
}
},
"/api": {
"target": "http://localhost:3000",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
}
}
}
{
"/login": {
"target": "http://localhost:3000/login",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/login": ""
}
},
"/auth/callback": {
"target": "http://localhost:3000/auth/callback",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/auth/callback": ""
}
},
"/api": {
"target": "http://localhost:3000",
"secure": false,
"changeOrigin": true,
"pathRewrite": {
"^/api": ""
}
}
}
5 replies
KKinde
Created by Ricer on 10/24/2024 in #💻┃support
ExpressJS SDK backend with AngularJS frontend auth issue
I have CORS setup, allowing the Kinde domain and the frontend. I also have a session setup using a local file store (via the "express-session" and "session-file-store" packages) My frontend's landing page has a "Sign in" button and the flow is: 1) User presses the button 2) An API call is made using HttpClient GET to /api/login (I have a proxy configuration) The user is not redirected to the authorization URL, which lets them enter credentials This is the api call:
this.api.loginWithKinde().subscribe({
next: () => {
console.log("Logged in to the server.");
},
error: (err) => {
console.error('Error logging in to the server:', err);
}
});
this.api.loginWithKinde().subscribe({
next: () => {
console.log("Logged in to the server.");
},
error: (err) => {
console.error('Error logging in to the server:', err);
}
});
The next() block occurs and nothing else
5 replies
KKinde
Created by Ricer on 10/13/2024 in #💻┃support
ExpressJS SDK for a MEAN stack web application.
I did, yes. I've added both http://localhost:4200 and my IP address with port 4200 to the origins, and it didn't work.
7 replies
KKinde
Created by Ricer on 10/13/2024 in #💻┃support
ExpressJS SDK for a MEAN stack web application.
Exactly
7 replies
KKinde
Created by Ricer on 10/13/2024 in #💻┃support
ExpressJS SDK for a MEAN stack web application.
Also, If tried navigating the user from the frontend using angular's HttpClient module, I get "Access to XMLHttpRequest at MY_KINDE_DOMAIN/oauth2/auth?QUERY_PARAMS (redirected from http://192.168.1.220:3000/kinde/login from origin http://localhost:4200 has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the request resource" This was done via "this.http.get(${BACKEND_ADDRESS}/kinde/login, { withCredentials: true })"
7 replies
KKinde
Created by Ricer on 7/23/2024 in #💻┃support
When will "Create identity" API endpoint support type: "phone" ?
Thank you
4 replies
KKinde
Created by Ricer on 5/27/2024 in #💻┃support
Migrating MEAN web application (ExpressJS+MongoDB+AngularJS) to Kinde
If it doesn't work, would it be possible to setup a 15-30 minutes video meeting so that I can demonstrate my problems, and maybe that would simplify matters?
5 replies
KKinde
Created by Ricer on 5/27/2024 in #💻┃support
Migrating MEAN web application (ExpressJS+MongoDB+AngularJS) to Kinde
I went over the ExpressJS docs & starter kit, and I think I don't have a proper understanding of them. I'll give it a try again
5 replies