Unable to change user folder path in OAuth authentication - AEM 6.5

ankur_rajput

10-05-2020

I have integrated a Google OAuth2 provider with AEM 6.5 OAuth authentication handler. There is a method named getUserFolderPath in Provider interface which should be used to get the folder path under which the user should be created. I noticed that this method is never been called and instead "user.pathPrefix" property is used to get the folder path which automatically appends the first 4 chars of the user ID internally.

 

DefaultSyncHandlerConfi.PNG

 

I am not able to get the need of Sync handler for OAuth and how can I change the folder path as per my requirements? What is the need of getUserFolderPath in Provider interface?

Accepted Solutions (0)

Answers (0)