10-14-2023 01:58 AM
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.
10-14-2023 04:14 AM
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"
10-15-2023 06:36 AM
@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
10-15-2023 06:40 AM
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
10-15-2023 06:48 AM
@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
10-15-2023 08:18 AM
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.
10-15-2023 08:21 AM
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.
10-15-2023 11:17 AM
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!
11-27-2023 04:29 PM
whenever I am trying to use in my component
```
12-02-2023 02:03 AM
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.
Explore our Alfresco products with the links below. Use labels to filter content by product module.