Execute the following apex in Anonymous Apex Execute Window in Developer Console.
Sample Code:
String strURL = URL.getOrgDomainUrl();
strURL += '/secur/frontdoor.jsp?sid=' + UserInfo.getSessionId().SubString(15);
System.debug( 'URL: ' +strURL );
Use the URL to access Salesforce.