That would be some next level shit, borrow books, we know its you. #4

Open
opened 3 years ago by crunk · 4 comments
crunk commented 3 years ago
Owner
https://github.com/verdan/flaskoidc https://flask-session.readthedocs.io/en/latest/#configuration
Owner

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.

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 https://github.com/decentral1se/keycloak-collective-portal/blob/7b65bc6f2632dad78bd720a7200ffcf5b33a0486/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.
Poster
Owner

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 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.
Poster
Owner

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.

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.
Poster
Owner

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

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
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.