06-08-2018 07:14 AM
Hello.
Has anyone got an example of using SSO authentication with Alfresco Development Framework?
In share and alfresco webdav we use this functionality.
Thanks!
06-08-2018 08:59 AM
With Kerberos you don't need to log in, so I guess you need to remove or change the authguard in the router
06-08-2018 09:25 AM
No, this does not work. And AuthGuard (https://issues.alfresco.com/jira/browse/ADF-2435) doesn't work...
06-08-2018 09:38 AM
DId you get a look to this issue ADF on SSO enabled ACS with my suggestions they where able to make it works
06-08-2018 09:44 AM
Yes, but in this case, if you delete the old ticket from browser, there will be a redirect to login page.
This is obviously not SSO ))
06-08-2018 09:50 AM
Is the ADF authGuard that redirect you to the login page, if you don't have it there will be no redirect.
1)You can write your own authguard that implement your logic
or
2) you can add a listener in the main app that if receive 401, because the ticket is deleted, redirect you where is needed
this.alfrescoApiService.getInstance().on('unauthorized', (error) => {
this.router.navigate(['/navigate-where-you-need']);
}
});
06-08-2018 10:00 AM
"if you don't have it there will be no redirect" - in this case will be an error 401
The application should receive a new ticket, but it doesn't have it.
06-08-2018 11:44 AM
Honestly, I am a bit confused, if you are using kerberos the new ticket should not be automatically provided?
The KDC issues a (TGT) if the TGT expires at some it should be transparently renewed by the user's session manager while they are logged in. How do you delete the ticket from the browser?
06-09-2018 10:03 AM
We have enabled logging, and have this error:
Any ideas?
06-09-2018 10:12 AM
And this log is from share:
It's ok.
Explore our Alfresco products with the links below. Use labels to filter content by product module.