Closed viincenb closed 2 years ago
Hi Vincent!
First, may I humble ask you to move to using idpy-oidc, version 1.2.0 can be found on PyPI. OidcRP, OidcMsg and oidc-op where all merged together to form idly-oidc a couple of month ago.
You will have to modify your code a bit. There are some text about what to do in https://idpy-oidc.readthedocs.io/en/latest/ https://idpy-oidc.readthedocs.io/en/latest/ .
If you have problem moving, please let me know and I will help you.
When you’re done with moving I can start helping you with your question.
On 30 May 2022, at 16:27, Vincent Bertin @.***> wrote:
Hello, I would like to know how am I supposed to inject my own StateInterface in order to persist the state in my database instead of the RAM ?
I'm currently overriding the class on the fly with client._service_context.state._db = self.state_dao (self.state_dao being my custom DAO) but it's dirty and I don't like that.
Also, I'm simply using the "tiers 1 API".
— Reply to this email directly, view it on GitHub https://github.com/IdentityPython/JWTConnect-Python-OidcRP/issues/66, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAYMPCLKSSG5N6CO2NELCDVMTF6HANCNFSM5XKYOTJQ. You are receiving this because you are subscribed to this thread.
— Roland
The higher up you go, the more mistakes you are allowed. Right at the top, if you make enough of them, it's considered to be your style. -Fred Astaire, dancer, actor, singer, musician, and choreographer (10 May 1899-1987)
Thank you, I will open my issues in https://github.com/IdentityPython/idpy-oidc then. I will also keep my dirty fix for now
Hello, I would like to know how am I supposed to inject my own
StateInterface
in order to persist the state in my database instead of the RAM ?I'm currently overriding the class on the fly with
client._service_context.state._db = self.state_dao
(self.state_dao
being my custom DAO) but it's dirty and I don't like that.Also, I'm simply using the "tiers 1 API".