https://bugs.winehq.org/show_bug.cgi?id=54794
Bug ID: 54794 Summary: Autodesk Fusion360: New SSO login will not open web browser Product: Wine Version: 8.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: skala.antonin@gmail.com Distribution: ---
Created attachment 74289 --> https://bugs.winehq.org/attachment.cgi?id=74289 Running processes
Autodesk rolled out new update (03 April) adding new SSO login instead of build-in one. Clicking on Sign In button should open default browser and redirect user into logIn page, but no browser will open (no error visible inside console).
We tried to set http/https in HKEY_CLASSES_ROOT registers, also install windows version of Firefox and ivent it runs, Fusion still refuses to open it.
Listing processes show, that new login component run (AdskIdentityManager.exe)
Exact steps we tried can be found there: https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/319
Installer: https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Ad... -O Fusion360installer.exe
https://bugs.winehq.org/show_bug.cgi?id=54794
Ben Jackson benjackson990@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |benjackson990@gmail.com
--- Comment #1 from Ben Jackson benjackson990@gmail.com --- Created attachment 74309 --> https://bugs.winehq.org/attachment.cgi?id=74309 Terminal output from application
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #2 from Ben Jackson benjackson990@gmail.com --- Using WineHQ-Devel 8.5 latest from the WineHQ repo. Fedora 37
Application can be installed with the following commands (at least on Fedora) ``` rm -r ~/.wfusion360 export env WINEPREFIX=~/.wfusion360 export env WINEDEBUG=fixme-all wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetrick... -O winetricks -P ~/Downloads chmod +x ~/Downloads/winetricks ~/Downloads/winetricks win10 wget -N https://dl.appstreaming.autodesk.com/production/installers/Fusion%20360%20Ad... -P ~/Downloads wine ~/Downloads/Fusion\ 360\ Admin\ Install.exe --quiet
wine 'C:\users\Public\Desktop\Autodesk Fusion 360.lnk' ```
The application loads up until the login window, at which point when the button is pressed, the expected process is for a pop-up to appear, and a login page to open in the web browser. Unfortunately this does not happen, and instead gives no response. The following lines appear in the terminal, every time login is pressed, and at a fixed time interval
"Finished request Handshake. But response is empty. Finished request Handshake. But response is empty. Handshake failed "
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #3 from Ben Jackson benjackson990@gmail.com --- Further investigation reveals the likely cause of the issue is a un-implemented key type of "CAPIPRIVATEBLOB"
``` 0178:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4 0178:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4 02b4:fixme:bcrypt:key_import_pair unsupported key type L"CAPIPRIVATEBLOB" 02b4:fixme:bcrypt:get_key_property unsupported algorithm 9 02b4:fixme:msvcrt:_set_abort_behavior _WRITE_CALL_REPORTFAULT unhandled 02b4:fixme:bcrypt:key_import_pair unsupported key type L"CAPIPRIVATEBLOB" 02b4:fixme:bcrypt:get_key_property unsupported algorithm 9 0178:fixme:bcrypt:key_import_pair unsupported key type L"CAPIPRIVATEBLOB" 0178:fixme:bcrypt:get_key_property unsupported algorithm 9 Finished request Handshake. But response is empty. Finished request Handshake. But response is empty. Handshake failed ```
https://bugs.winehq.org/show_bug.cgi?id=54794
Piotr Caban piotr.caban@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |piotr.caban@gmail.com
--- Comment #4 from Piotr Caban piotr.caban@gmail.com --- I've created MR that implements missing bcrypt bits: https://gitlab.winehq.org/wine/wine/-/merge_requests/3537
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #5 from Piotr Caban piotr.caban@gmail.com --- *** Bug 54845 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #6 from Tony763 skala.antonin@gmail.com --- Hi Piotr Caban , I just tested Wine 8.14 with Your merged PR. Errors about handshake are gone. SSO login stil not work, these fixme shows, when I hit Sign in button, now.
03e0:fixme:bcrypt:BCryptCreateHash ignoring object buffer 04ec:fixme:bcrypt:BCryptCreateHash ignoring object buffer 0474:fixme:mpr:WNetGetUniversalNameW (L"C:\users\tony\AppData\Roaming\Autodesk\ADPSDK\JSON\36ae20f9-17ec-42d5-9a4d-13b0e5c5c784_2.json.user.saving", 0x00000001, 0000000000000000, 000000000178EEB0): stub 0474:fixme:mpr:WNetGetUniversalNameW (L"C:\users\tony\AppData\Roaming\Autodesk\ADPSDK\JSON\36ae20f9-17ec-42d5-9a4d-13b0e5c5c784_2.json.user", 0x00000001, 0000000000000000, 000000000178EEB0): stub 047c:fixme:bcrypt:BCryptCreateHash ignoring object buffer 0448:fixme:bcrypt:BCryptCreateHash ignoring object buffer 0448:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4 0448:fixme:cryptasn:CryptDecodeObjectEx Unsupported decoder for lpszStructType 1.3.6.1.4.1.311.2.1.4 0420:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm 0420:fixme:bcrypt:BCryptGenRandom ignoring selected algorithm
Thank You for Your effort.
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #7 from Tony763 skala.antonin@gmail.com --- This one is also interesting:
0abc:fixme:combase:RoGetActivationFactory (L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager", {6aca7c92-a581-4479-9c10-752eff44fd34}, 000000000081DC08): semi-stub 0abc:err:combase:RoGetActivationFactory Failed to find library for L"Windows.Security.Authentication.Web.Core.WebAuthenticationCoreManager"
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #8 from Tony763 skala.antonin@gmail.com --- Created attachment 75036 --> https://bugs.winehq.org/attachment.cgi?id=75036 Run log Wine 8.14
Full log
https://bugs.winehq.org/show_bug.cgi?id=54794
BlakeWine winehq.org@faern.net changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |winehq.org@faern.net
--- Comment #9 from BlakeWine winehq.org@faern.net --- What is needed to move this from UNCONFIRMED? Lots of people seem to run into this issue, including me.
However, I was able to get past the login thanks to the help in https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/341#issuec.... The fix is "simply" to run Fusion with `FUSION_IDSDK=false`. I should note that I run it via Bottles however.
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #10 from Ben Jackson benjackson990@gmail.com --- Setting the environment variable to `FUSION_IDSDK=false` is more of a work around, by asking the application to call the legacy login method (currently utilized by Autodesk for the Online web portal/remote desktop sessions). However, this functionality may be removed by Autodesk at anytime, so it would be good to get the intended login working
https://bugs.winehq.org/show_bug.cgi?id=54794
--- Comment #11 from Ben Jackson benjackson990@gmail.com --- 'FUSION_IDSDK=false' is dead in the water, after Autodesk rebranded and cleaned out the legacy login mode
However the change made in Wine 8.14 indeed has worked, and we are now able to login to Fusion (No-longer Fusion 360) via the Web browser SSO
Thank you Piotr Caban for all your work, its really appreciated.
I believe this bug is fully resolved, as the product is now working as expected thanks to the PR in Wine versions upwards of 8.14
https://bugs.winehq.org/show_bug.cgi?id=54794
Tony763 skala.antonin@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #12 from Tony763 skala.antonin@gmail.com --- Fixed by MR 3537. Additionally mimetype must be set:
#Create mimetype link to handle web login call backs to the Identity Manager cat > $HOME/.local/share/applications/adskidmgr-opener.desktop << EOL [Desktop Entry] Type=Application Name=adskidmgr Scheme Handler Exec=env WINEPREFIX="$ROOTFOLDER/wineprefixes/default" wine "C:\Program Files\Autodesk\webdeploy\production\99249ee497b13684a43f5bacd5f1f09974049c6b\Autodesk Identity Manager\AdskIdentityManager.exe" %u StartupNotify=false MimeType=x-scheme-handler/adskidmgr; EOL xdg-mime default adskidmgr-opener.desktop x-scheme-handler/adskidmgr
See https://github.com/cryinkfly/Autodesk-Fusion-360-for-Linux/issues/381#issuec... for details (and credits)
https://bugs.winehq.org/show_bug.cgi?id=54794
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #13 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 9.3.