Hey,
I'm using ADF 6.1.1 with APS 2.4. When I use the component <adf-identity-user-info ></adf-identity-user-info> it shows nothing. I also tried to call the service directly, but it gets all values as undefined, although I successfully log in, and I can see my list of apps.
What could be the problem and how I can fix it?
Thank you in advance.
According to the docs this component requires single-sign-on configuration with the Identity Service. If you are not using AIS, you might want to use dedicated "adf-content-user-info" or "adf-process-user-info"
@denys firstly thanks for your support.
I want to log in to both APS and ACS in the same interface (this worked just fine when I used ADF 4) how can I achieve that?
I tried to log in into only APS : this is my proxy:
module.exports = {
"/activiti-app": { target: "https://172.16.68.148:8443", secure: false, changeOrigin: true, }, };
"$schema": "../node_modules/@alfresco/adf-core/app.config.schema.json", "ecmHost": "{protocol}//{hostname}{:port}", "bpmHost": "{protocol}//{hostname}{:port}", "providers": "BPM", "authType": "BASI
you need setting providers to "ALL" in order to login at both systems at once. both systems should have the same account created for that purpose. And you have typo in "BASIC" auth parameter
@denys I canged my proxy and app config like the below, but still doesn't work:
module.exports = { "/alfresco": { target: "http://172.16.68.149:8080", secure: false, changeOrigin: true, }, "/activiti-app": { target: "https://172.16.68.148:8443", secure: false, changeOrigin: true, }, };
"$schema": "../node_modules/@alfresco/adf-core/app.config.schema.json", "ecmHost": "{protocol}//{hostname}{:port}", "bpmHost": "{protocol}//{hostname}{:port}", "providers": "ALL", "authType": "BASIC", "identityHost": "{protocol}//{hostname}{:port}/auth/realms/alfresco",
My account is set properly in both APS and ACS and it does work with ADF 4
Thanks
Regards
You can check how ACA is using that https://github.com/Alfresco/alfresco-content-app/blob/develop/app/proxy.conf.js.
It's hard troubleshooting the auth issues without any techincal details and error details from the browser tab, or details on how you configured everything.
but as I've mentioned above, identity-user-info needs SSO, not basic auth for sure. we have Alfresco Content Application which is open source replacement for Share, and where you can see the code and how things work there.
I tried the same config in ACA but it doesn't work.
I'm doing the same config I did with ADF 4 I haven't change nothing and yet it doesn't work.
@denys What kind of details I could provide for better help!
whenever I am trying to use in my component
```
Experiencing issues with ADF Identity User Info component in version 6.1.1? Reach out to the ADF community or support for assistance. Collaborative solutions often emerge, ensuring a smoother development experience.
Discussions, help and advice about the Alfresco Development Framework.
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.