Use relative /auth URL for Keycloak
Works on any domain (www.sociowire.com, us2.sociowire.com, etc.) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
bc9d422319
commit
148c9595ca
|
|
@ -362,8 +362,8 @@ export function AuthProvider({ children }) {
|
|||
setError("");
|
||||
setLastInfo("");
|
||||
|
||||
// Clear tokens from old/wrong issuer (e.g., auth.sociowire.com vs us2.sociowire.com)
|
||||
clearBadTokens("us2.sociowire.com");
|
||||
// Clear tokens from old/wrong issuer (keep any sociowire.com tokens)
|
||||
clearBadTokens("sociowire.com");
|
||||
|
||||
const saved = loadAuth();
|
||||
if (!saved?.access_token) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue