Oauth2 login for 3rd Part Application

Hi,

I already manage to connect to Open EMR from a External 3rd Party Application, But every time the application connect to Open EMR it always ask for the user credentials, Is there a way to extend the expiry to every 6 months or is there a way not to have the login page?

Thanks
Casper