refactor: Standardize user and organization ID properties, update Vite proxy port, and refactor data sheet file serving.
This commit is contained in:
@@ -34,7 +34,7 @@ export const AuthProvider: React.FC<{ children: React.ReactNode }> = ({ children
|
||||
const fetchTokenAndUser = async () => {
|
||||
if (isAuthenticated) {
|
||||
try {
|
||||
const accessToken = await getAccessToken();
|
||||
const accessToken = await getAccessToken(import.meta.env.VITE_LOGTO_RESOURCE || 'https://gpi.reifonas.cloud/api');
|
||||
if (accessToken) {
|
||||
setToken(accessToken);
|
||||
setApiToken(accessToken);
|
||||
|
||||
Reference in New Issue
Block a user