MaTTHD
MaTTHD
Explore posts from servers
RRailway
Created by MaTTHD on 8/23/2024 in #✋|help
Can you deploy Supabase (Docker / Compose) on Railway
Can you deploy supabase on railway yet? I know there were some posts a while ago stating it was not supported, but curious if anything has changed on that front? We are wanting to get off Supabase hosted instance so everything is in the same network. Thanks, Matt.
5 replies
RRailway
Created by MaTTHD on 1/2/2024 in #✋|help
Caddy with NextJS app running pages router.
Hi! I have been working on moving my current SaaS application from Cloud Run to Railway this week. I have an old version of the app (call this dashboard-old) which has pages and api routes, as well as a new NextJS app running (call this dashboard-v2) which I am trying to route traffic to with Caddy depending on the paths. Old Dashboard Information: - Spring Boot, caddy routes /* -> dashboard-old.railway.internal:PORT - Currently does work. V2 Information: - NextJS app however traffic seems to get a 404 when trying to find _next files. Is there any additional changes needed for NextJS?
5 replies
KKinde
Created by MaTTHD on 12/7/2023 in #💻┃support
kinde-flutter-sdk invalid session on every login attempt.
Hello! I have been trying to get the kinde flutter sdk to work, however for some reason after successfully logging in with the following code:
try {
final sdk = KindeFlutterSDK.instance;

final String? token = await sdk.login();
final otherToken = await sdk.getToken();

if (token != null) {
print(token);

final user = await sdk.getUserProfileV2();

print(user);
}
else {
print("Null token");
throw Exception('Token is null');
}

notifyListeners();
} catch (e) {
print('Error on login: $e');
}
}
try {
final sdk = KindeFlutterSDK.instance;

final String? token = await sdk.login();
final otherToken = await sdk.getToken();

if (token != null) {
print(token);

final user = await sdk.getUserProfileV2();

print(user);
}
else {
print("Null token");
throw Exception('Token is null');
}

notifyListeners();
} catch (e) {
print('Error on login: $e');
}
}
I just receive the following error: KindeError: Session expired or invalid and I am unsure why! This is my first time using Kinde so any help is greatly appreciated!
19 replies