I am configuring Single Sign On for my application through OAuth 2.0 server.
I used the next recommendations:
Following this link I created my custom Auth. Provider which uses:
1. CustomPlugin extends Auth.AuthProviderPluginClass
2. CustomRegistrationHandler implements Auth.RegistrationHandler
It means that interactions between salesforce and my OAuth server work as expected.
Then I try to use Single Sign-On Initialization URL. The response is the next:
I tried to debug my Plugin and RegistrationHandler classes.
It looks likes Plugin is correct.
Logs for RegistrationHandler operation name is RegistrationHandlerUserUpdate(even if I log in external app as a new user - why update and not create?).
I have System.debug('message) at the first string of every method(create/update and canCreate).
Debug level is relevant(I use the same debug level in Plugin debug and I see such messages in Plugin logs).
But I don't see these messages in RegistrationHandler logs.
RegistrationHandler debug logs ends with:
Could you give me a hint how I can resolve it?