Skip to content
This repository was archived by the owner on Jun 12, 2021. It is now read-only.

Custom sessiondb#16

Merged
rohe merged 7 commits intoIdentityPython:masterfrom
peppelinux:custom_sessiondb
Nov 30, 2019
Merged

Custom sessiondb#16
rohe merged 7 commits intoIdentityPython:masterfrom
peppelinux:custom_sessiondb

Conversation

@peppelinux
Copy link
Copy Markdown
Member

With this Commit I can set a session_db in a context_endpoint whenever it's needed.
Used here:
https://github.com/peppelinux/django-oidc-op/blob/master/oidc_op/application.py#L49

With this feature I can switch the session db runtime. For example I would use an user's request.session as backend, on each request.

This is a more flexible approach and let me configure this aspect in a more granular way during the application (oidc-op) initialization and runtime.

This is the base I need, if it is there some other approach let's discuss them.
I need this commits to move to a pure Django Session and SSO Db management.

https://docs.djangoproject.com/en/2.2/topics/http/sessions/

@rohe rohe merged commit c1a6066 into IdentityPython:master Nov 30, 2019
@peppelinux
Copy link
Copy Markdown
Member Author

I'll go further with a configurabile sessiondb and ssodb in general conf.yaml

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants