yes, I able
If you want to hide the login I think you need to rewrite it in a way that transforms this component in a service
alfresco-ng2-components/login.component.ts at master · Alfresco/alfresco-ng2-components · GitHub
and you need to set the provider to "OAUTH" and add in your app.config.json that information:
app.config.json
{ "oauth2" : { "host": "http://myhost.com", "authPath": "/my-custom-auth/token", "clientId": "my-client-id", "secret": "" } }
If I were you I will start before trying to use the login component in OAUTH mode like explained here:
alfresco-ng2-components/login.component.md at master · Alfresco/alfresco-ng2-components · GitHub
I suggest also to move to ADF 2.2.0 that contains some fixes for the OAUTH.
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.