Hello All, The TokenUtil class (TokenUtil (The Adobe AEM Quickstart and Web Application.) ) is deprecated in AEM 6.5 . What is the alternate method to create AuthenticationInfo objects. In the documentation it says "use Oak 1.7.8 or newer external IDP instead". But its not quite clear. Have anyone tried the alternate approach. Please give any pointers.
Are there any working examples? The example on docs page isn't clear.
We are using something like this
AuthenticationInfo authinfo = TokenUtil.createCredentials(request, response, this.repository, userId, true);
but need to update to AEM 6.5