@dasniko
When user tries to login via sso
- check if a user with same email exist or throw error
- if a user with that email exist and identity provider details are not saved, then save that and login the user
- if the identity providers details are already saved then login the user
can you please provide a sample to implement this flow.
below is the default flow
