That would be some next level shit, borrow books, we know its you. #4
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
https://github.com/verdan/flaskoidc
https://flask-session.readthedocs.io/en/latest/#configuration
Yeah! I actually had to work this with just lately and it is really not that bad at all. See https://python-keycloak.readthedocs.io/en/latest/#usage. I guess you'd just have to make a
KeycloakOpenID
instance and use a limited permissions client on the Keycloak side for viewing users.My code was doing something different where I init'd an admin client in https://github.com/decentral1se/keycloak-collective-portal/blob/main/keycloak_collective_portal/keycloak.py and then making users in
7b65bc6f26/keycloak_collective_portal/routes/register.py (L80)
.Here are some docs on how I set up my client https://github.com/decentral1se/keycloak-collective-portal#from-a-system-administrator-perspective.
I think with the flask I have learned so far, I want to attempt to make a radio show/mix/mixage and audio-of-event uploading website. Where you can do comment or annotate per timestamp of the audiofile.
So I would be up for implementing the keycloak into this system as well.
But I am still a bit confused in the myriad of options for a session in flask.
I had a thought about this, we should just built a small sqlite userdb into this. All the code for this is in https://git.vvvvvvaria.org/crunk/distribusi-verse.
then on top of that we can use flaskoidc to tie it into the varia keycloak.
There are a bunch of these make sure we pick a good one
https://pypi.org/project/flaskoidc/ this seems the latest up te date version