Skip to content

Commit

Permalink
689 use config value for logout redirect param
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Schroer committed Feb 26, 2024
1 parent 379cd02 commit 2182b67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/utils/AuthService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { defaultAuthObject } from "components/AppProvider";
import { post } from "utils/DataService";
import { SessionCacher } from "utils";
import type { AuthState, UserSignUpData } from "components/AppProvider";
import config from "../config";

/*
This class provides a set of methods that serve as an interface between our application
Expand Down Expand Up @@ -114,7 +115,7 @@ export default class AuthService {
setAuthState(defaultAuthObject);

authClient.logout({
returnTo: "http://localhost:8080",
returnTo: config.AUTH0_REDIRECT_URI,
clientID: clientId,
});
};
Expand Down

0 comments on commit 2182b67

Please sign in to comment.