Authentication breaks for "child" clients
Opened this issue · 1 comments
marcusirgens commented
Looks like authentication still breaks for "child" clients, such as when making an installation client, even after #602.
I believe the code in question, also from #562 (3ce474a), is here:
Lines 1540 to 1551 in 344cfa7
From what I can tell, it doesn't look like the authentication layer (from the middleware module) is modified when the client is cloned:
Lines 977 to 991 in 344cfa7
How would you like to see this solved, @XAMPPRocky? Is there a specific reason for why the auth logic is duplicated, or is it because it's hard to change the client, once constructed?
XAMPPRocky commented
Thank you for your issue! I don't think there's a specific reason.