Skip to content

Commit

Permalink
Update keycloak-db.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mb-wali authored Apr 4, 2024
1 parent 3271e8d commit 5e42519
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/database/keycloak-db.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,3 +34,10 @@ To backup the database we will use the [pg_dump](https://www.postgresql.org/docs
# -U user -d database
pg_dump -U keycloak -d keycloak > keycloak.sql
```

### Issues
Sometimes the login via SSO - requires you to again add your existing data, and adding it again throws an error because its already saved in the database.
you can remove the entry and try again to login with SSO.
```bash
keycloak=# DELETE FROM federated_identity WHERE federated_username='mb1990';
```

0 comments on commit 5e42519

Please sign in to comment.