The invention discloses a smoother unified
authentication access method, and belongs to the technical field of
information security. The method comprises the following steps that: an entry control module executes Token existence judgment and address source judgment, and obtains a unified
authentication address through a fetch method; the front-
end system dynamically creates a hidden iframe loading unified
authentication address, and establishes a message monitor; the lightweight
callback processing module detects a running environment, extracts code information, and sends the code information to a parent window through a postMessage method; the entry control module receives code information, verifies a source, stores the code information to a
temporary variable, and triggers a custom event; and the routing interception
authority control module obtains code information, sends an authorized login request to a rear end, stores Token after completing user identity
verification, and enters a
system. According to the method, authentication is completed in the current page through an iframe and post Message communication mechanism, so that repeated page skipping and repeated resource loading are avoided, non-
perception silent authentication is realized, and user experience and
system performance are improved.