You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now there is a missing level of indirection between the olr sourced from the auth config and the repo that is used or can be set at runtime. This mostly affects older code where those things were hardcoded, however it points to what may be a deeper issue with orthauth which is that there is no way to override/inject values at runtime. This is not a bug in orthauth, orthauth has support for setting configurations at runtime that was originally developed to make testing simpler (which is the same underlying use case that motivates the immediate issue here as well). Rather, the issue is that values are sourced from the auth config at import time which means that they are effectively static global variables, this is the missing level of indirection.
The text was updated successfully, but these errors were encountered:
Right now there is a missing level of indirection between the olr sourced from the auth config and the repo that is used or can be set at runtime. This mostly affects older code where those things were hardcoded, however it points to what may be a deeper issue with orthauth which is that there is no way to override/inject values at runtime. This is not a bug in orthauth, orthauth has support for setting configurations at runtime that was originally developed to make testing simpler (which is the same underlying use case that motivates the immediate issue here as well). Rather, the issue is that values are sourced from the auth config at import time which means that they are effectively static global variables, this is the missing level of indirection.
The text was updated successfully, but these errors were encountered: