A system, comprising: a non-transitory memory; and one or more hardware processors coupled to the non-transitory memory and configured to read instructions from the non-transitory memory to cause the system to perform operations comprising: starting up a native application executed on a client device; providing authentication credentials associated with a user via an application programming interface, API, of a server, to request for a session token; in response to receiving the session token from the server by the native application, initiating a device session between the native application and the server based on the session token; invoking, by the native application, an embedded web browser directly driven by the native application by providing the session token and a uniform resource locator, URL, to an entry point of a web flow to be executed on the embedded web browser; transmitting the session token and the URL from the embedded web browser to the server to automatically authenticate the user in a web session between the embedded web browser and the server, achieving a seamless continuation of the already active device session running from the native application without requiring the authentication credentials; wherein the one or more hardware processors are configured to cause the system to perform further operations comprising: monitoring, by the native application, the URLs being requested by the embedded web browser; and upon request of a predefined URL, closing the embedded web browser by the native application. a non-transitory memory; and one or more hardware processors coupled to the non-transitory memory and configured to read instructions from the non-transitory memory to cause the system to perform operations comprising: starting up a native application executed on a client device; providing authentication credentials associated with a user via an application programming interface, API, of a server, to request for a session token; in response to receiving the session token from the server by the native application, initiating a device session between the native application and the server based on the session token; invoking, by the native application, an embedded web browser directly driven by the native application by providing the session token and a uniform resource locator, URL, to an entry point of a web flow to be executed on the embedded web browser; transmitting the session token and the URL from the embedded web browser to the server to automatically authenticate the user in a web session between the embedded web browser and the server, achieving a seamless continuation of the already active device session running from the native application without requiring the authentication credentials; wherein the one or more hardware processors are configured to cause the system to perform further operations comprising: monitoring, by the native application, the URLs being requested by the embedded web browser; and upon request of a predefined URL, closing the embedded web browser by the native application. starting up a native application executed on a client device; providing authentication credentials associated with a user via an application programming interface, API, of a server, to request for a session token; in response to receiving the session token from the server by the native application, initiating a device session between the native application and the server based on the session token; invoking, by the native application, an embedded web browser directly driven by the native application by providing the session token and a uniform resource locator, URL, to an entry point of a web flow to be executed on the embedded web browser; transmitting the session token and the URL from the embedded web browser to the server to automatically authenticate the user in a web session between the embedded web browser and the server, achieving a seamless continuation of the already active device session running from the native application without requiring the authentication credentials; wherein the one or more hardware processors are configured to cause the system to perform further operations comprising: monitoring, by the native application, the URLs being requested by the embedded web browser; and upon request of a predefined URL, closing the embedded web browser by the native application. monitoring, by the native application, the URLs being requested by the embedded web browser; and upon request of a predefined URL, closing the embedded web browser by the native application.