Comments (8)
@malinich I forked the project and created new migrations.
from django-keycloak.
@bossan Will you be opening a PR for the new migrations?
from django-keycloak.
I've this issue too when try to migrate using RemoteUserOpenIdConnectProfile and local user storage.
django.db.utils.ProgrammingError: relation "django_keycloak_openidconnectprofile" does not exist
Is there any workaround for this issue?
from django-keycloak.
I'm too (
@swist @bossan How you solved this issue? >6 month pass
Because this problem raise docker container big issue
from django-keycloak.
I'm still having this issue, I think it is because here the RemoteUserOpenIdConnectProfile.Meta is inheriting the abstract flag, and if you have KEYCLOAK_OIDC_PROFILE_MODEL = 'django_keycloak.RemoteUserOpenIdConnectProfile'
set it will never create the django_keycloak_remoteuseropenidconnectprofile
table.
Is there a specific reason why it needs to be abstract? if not I'll create a pull request.
from django-keycloak.
to repair the migrations, it would be interesting to reset and do the --fake-initial, that way it would solve without generating so many complications
from django-keycloak.
I am also stuck on this issue, I get the following error when trying to run a migration:
django.db.utils.ProgrammingError: relation "django_keycloak_openidconnectprofile" does not exist
from django-keycloak.
I was struggling with the same error, but I fixed it as below.
Delete or comment on lines related to the 'remote user', and migrate again.
After the migration, just roll back the lines, and it works.
# KEYCLOAK_OIDC_PROFILE_MODEL = "django_keycloak.RemoteUserOpenIdConnectProfile"
# KEYCLOAK_REMOTE_USER_MODEL = "django_keycloak.remote_user.KeycloakRemoteUser"
--> + middleware
from django-keycloak.
Related Issues (20)
- ModuleNotFoundError: No module named 'factory' HOT 1
- ERROR: unsatisfiable constraints: python-dev (missing): HOT 1
- Unable to refresh OIDC .well-known or certificates HOT 2
- Forbidden for my realm HOT 2
- Django admin not working when AUTHENTICATION_BACKENDS not set properly HOT 2
- Compatible with Django and Python version
- Project status? HOT 2
- Keycloak user creation Error
- No access_token provided to compare against at_hash claim. HOT 13
- Bad Request For Permission Synchronisation HOT 2
- Migrating Passwords From Keycloak To Django
- AttributeError at /keycloak/login 'NoneType' object has no attribute 'client' HOT 1
- Changing the LOGIN_REDIRECT_URL to different page
- Access token not decoded within token object
- KeyError thrown on refresh_token missing in response token
- Support for the current version of UMA
- Is it safe to use this library in any environment?, particularly production? HOT 9
- Issue while Migrating from Django Auth to Keycloak
- AUTHENTICATION_BACKENDS does not allow to login with super user HOT 1
- ConnectionError at /admin/django_keycloak/realm/
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from django-keycloak.