4 Commits

Author SHA1 Message Date
290e9b1f10 automatic style fixes and new workflows 2024-03-05 09:36:25 +01:00
28002081b4 drop concept of GUID and introduce storageID
Previously we created a new GUID for any user trying to login via oauth.
That GUID was used to store the token states. This polluted the cache
area but even worse, it made it impossible to stay logged in on multiple
devices when the IdP invalidated onld access tokens when issuing a new
one (like google does).

Now a session storage is used for the initial login. Permanent storage
is only initialized after a successful login (based on the user's email
address).
2021-12-13 17:52:38 +01:00
74b4d4a4cf another major refactoring
The new OAuthManager is now the main flow manager and should make it
easier to follow the flow. The Session class encapsulates all session
and cookie accesses. A new guid paradigma should make invisible relogins
possible when the session expired. Needs all major cleanup but a first
login worked.
2021-12-03 19:19:54 +01:00
98a3611675 initial begin of refactoring
using composer for the oauth lib dependency, autoloading for our own
classes. Services are now their own action plugins to inherit from our
Service class.

All still untested and broken
2020-07-30 14:04:38 +02:00