Peter-Slump / django-keycloak

Django app to add Keycloak support to your project.
MIT License
127 stars 119 forks source link

Migration missing? relation "django_keycloak_nonce" does not exist #32

Closed cegg closed 4 years ago

cegg commented 4 years ago

Not an issue, more of a question.. Once I configure settings.py and urls.py and build web and keycloak containers, hitting the website gives me

Exception Value: | relation "django_keycloak_nonce" does not exist LINE 1: INSERT INTO "django_keycloak_nonce" ("state", "redirect_uri"...

and attempt to create a user ( python manage.py keycloak_add_user --realm acc --username <some_username>) gives me

django.db.utils.ProgrammingError: relation "django_keycloak_realm" does not exist
LINE 1: ..., "django_keycloak_realm"."_well_known_oidc" FROM "django_ke...

so it's pretty obvious none of the DB stucture made it, what step did I miss?

Thanks

cegg commented 4 years ago

Switched to use the docs's instructions instead of custom yaml.