pulsejet / nextcloud-oidc-login

Nextcloud login via a single OpenID Connect 1.0 provider
https://apps.nextcloud.com/apps/oidc_login
GNU Affero General Public License v3.0
219 stars 59 forks source link

Trigger firstLogin event on completeLogin #239

Closed fcharlaix-opendsi closed 1 year ago

fcharlaix-opendsi commented 1 year ago

The ::firstLogin event is triggered by the session manager when no token is present in loginDetails of the function completeLogin.

This is the same problem as the mining updateLastLoginTimestamp.

pulsejet commented 1 year ago

https://github.com/pulsejet/nextcloud-oidc-login/commit/b3ca9f982a04fc61c9ecbabcb00d788702ef4c5d should have an identical effect.