adobe / asset-share-commons

A modern, open-source asset share reference implementation built on Adobe Experience Manager (AEM)
https://opensource.adobe.com/asset-share-commons/
Apache License 2.0
88 stars 107 forks source link

User configuration issue #678

Closed jstadler1218 closed 10 months ago

jstadler1218 commented 2 years ago

Question? When we create "local" AEM users (not managed through Adobe's Managed users tool) for use with ASC site, we experience issues with User Menu on page not recognizing/displaying the username from time to time. This means there is still a "login" link in the upper right of the screen, instead of the logged in user's name and the "logout" link.

Are there best practices to creating users and CUGs for use with ASC?

Documentation can be found here: https://opensource.adobe.com/asset-share-commons/. It might answer your question!

godanny86 commented 2 years ago

@jstadler1218 what version of ASC are you on?

jstadler1218 commented 2 years ago

2.1.12

godanny86 commented 2 years ago

Also what version of AEM?

For users that are having issues, do you see any errors in the browser? There should be an ajax request to /libs/granite/security/currentuser.json from [0]. I'm curious what the response is for those that are not working... For persistence between navigation for the Cart and downloads we also store some amount of content in the browser storage. Wondering if there is an issue there?

Is the behavior consistent across browsers? Might also be good to try an incognito window as well to see if there is something that gets cached.

On the back-end there shouldn't be anything special for user management for ASC.

[0] - https://github.com/adobe/asset-share-commons/blob/develop/ui.apps/src/main/content/jcr_root/apps/asset-share-commons/clientlibs/clientlib-site/js/profile.js

jstadler1218 commented 2 years ago

Latest version of AEM Cloud Services; 2021.12.6151.20211217T120950Z

Yes, I believe we experience across browsers and private windows, but will verify.

I will try the request when we experience the issue and update.