Skip to content

Commit

Permalink
changed redirect URI for logout
Browse files Browse the repository at this point in the history
  • Loading branch information
Idan-sh committed Sep 9, 2024
1 parent b47967f commit af6b978
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/context/AuthProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ export const AuthProvider: React.FC<AuthProviderProps> = ({ children }) => {
if (authenticated && initialized && keycloak) {
keycloak
.logout({
redirectUri: "http://localhost:8080/"
redirectUri: "http://localhost/"
})
.catch((error) => {
console.error("Failed to log out:", error);
Expand Down

0 comments on commit af6b978

Please sign in to comment.