Questions tagged [single-page-application]
A single-page application (SPA) is a web application that fits on a single web page with the goal of providing a more fluid user experience akin to a desktop application.
single-page-application
5,399
questions
1
vote
0
answers
18
views
Is it appropriate for an application (SPA) to pass an "extra" access token to a backend service (so that service can call other services)?
I have a web application (SPA), which we'll call A. This application calls an API service (that I control), which we'll call B. Service B uses OAuth authentication, and trusts an issuer I.
In my ...
-1
votes
0
answers
23
views
Spa application (with iframes) to a modern SPA [closed]
I have a laravel project with php8.1, which as frontend uses simple, blade with Html, bootstrap, javascript other things on the front. This page consists of several modules or pages, which perform ...
1
vote
1
answer
29
views
Spring Boot OAuth2 is redirecting to IDP on each unauthorized request
I have made an OAuth2 configuration in Spring Boot. It also works, especially when I make get requests via the browser URL and I am not yet authenticated, I am redirected to the IDP, I can log in and ...
0
votes
0
answers
13
views
Ajax and non-Ajax calls with OIDC in Helidon SE
We're developing a Single-Page Application using Helidon SE as the api and webserver. We are struggling how to configure OIDC authentication using Auth0.
We are not sure about the following:
If the ...
0
votes
0
answers
16
views
disabling ssr using static export
I came to realize that I didn't quite require most SSR features that nextjs provided, and would be more cost effective for me to host my app through a cdn, and I was delighted to find researching on ...
0
votes
0
answers
27
views
NextJS Network Error when opening the console
This is my first Next.js application, and I'm encountering an error. During development, whenever I tried to check the responsiveness using the browser, I consistently faced an Internet Error upon ...
0
votes
0
answers
31
views
SpaProxy not launching on local docker environment. npm start not working inside container
Launching the SPA proxy...
Error on Docker logs:
fail: Microsoft.AspNetCore.SpaProxy.SpaProxyLaunchManager[0]
Failed to launch the SPA development server 'npm run start'.
System.ComponentModel....
-1
votes
0
answers
38
views
How to access nginx route within SPA
I have the following configuration in nginx
server {
server_name domain www.domain;
location /playground/ {
proxy_pass http://localhost:8080/;
proxy_http_version 1.1;
...
-1
votes
0
answers
19
views
How to setup vite multi-pages react SPA with nested routes on one of the pages?
Here is the vite config, the root index page is an static HTML with no javascript, and the app/index.htm is a react app:
import { defineConfig } from "vite";
import { resolve } from "...
-1
votes
0
answers
22
views
How to enable react client side routing with nextjs static export SPA?
I have built a single-page app using Nextjs and it is exported as a simple static page which means no server-side rendering or Node.js backend, so everything runs on the client side as soon as the ...
-2
votes
1
answer
28
views
Is it possible to use .env in a React Web project? [closed]
I'm developing a PWA SPA with React Web, and practically everything is in .js.
I need to create environment variables in the Azure Portal, and as shown below I have already created some:
enter image ...
0
votes
0
answers
19
views
How to handle SPA application reload to fetch current deployed version over firebase in react.js?
I am facing a problem where my application needs to do a hard refresh in order to reflect new changes after deploying latest version.
Went through multiple ways in order to solve this such as service ...
0
votes
1
answer
87
views
Issue with SPA Integration: Next.js and ASP.NET Core Web API
I'm trying to integrate a Next.js (v14) frontend with an ASP.NET Core 8 Web API backend. My API does not work when I use app.UseSpa.
However, when I comment out app.UseSpa you can see before app.Run(),...
0
votes
0
answers
125
views
The "fileName" or "name" properties of emitted chunks and assets must be strings that are neither absolute nor relative paths
what i am using: vue3, pnpm, vite
PROBLEM: i have a pnpm workspace and there is two folder for workspaces, packages which contain a project called "shared" for common stuff, and a folder ...
0
votes
0
answers
31
views
How to handle canonical URL delivered from server in React SPA
Google console has been complaining that my / page is a duplicate of /?utm_source=whatever. I can fix that by making sure that any time the page is requested with anything after the /, it will be ...