Nativefier: Microsoft Office 365 Natifier Apps Open a Separate Window in Default Browser, Refuses to Login in Nativefie-d App.

Created on 21 Jan 2019  路  8Comments  路  Source: jiahaog/nativefier

Description

Microsoft Office 365 Natifier Apps Open a Separate Window in Default Browser. Once I log into my account on the default browser, the Nativefie-d app still doesn't catch my login information and refuses to load.

Steps to reproduce issue

  1. Download and install latest Node.JS from www.nodejs.org
  2. Download and install Nativefier
  3. Attempt to create an Office365 Web App in Nativefier - for instance, http://www.onenote.com/
  4. Run the Nativefie-d app by double-clicking.

Details

  • Are you nativefying a public website?
    Yes.
  • Feature request? Have you looked at nativefier --help to see if an existing option could fit your needs?
    N/A
  • Full nativefier command used to build your app: nativefier --name "OneNote" "http://www.onenote.com/"
  • Version of Nativefier (run nativefier --version): v7.6.10
  • Version of node.js (run node --version): v12.0.0-nightly201901218b2e861da1
  • OS: Ubuntu 18.10 (AMD64); "#14-Ubuntu SMP PREEMPT Wed Dec 5 12:12:14 UTC 2018" + "Linux 4.18.0-13-lowlatency (x86_64)"

Most helpful comment

I was able to get the onenote to work with this argument:
--internal-urls "."
That keeps everything internal. It just doesnt work for opening documents in excell online and such. Those look like they open a new window, then it just dissapears

try instead --internal-urls "(.*)"
worked for me

nativefier -p linux -a x64 -n "msoffice" https://www.office.com/ --internal-urls "(.*)"

All 8 comments

I believe this may have something to do with the OAuth and the way the Nativefier wrapper handles it.

I've managed to login with the followin command:

nativefier "https://office.live.com/start/Excel.aspx" --name "Excel Online" --internal-urls "d.docs.live.net|login.live.com|onedrive.live.net|onedrive.live.com"

The problem I'm having is that the app can't open the file for whatever reason. Maybe there's an URL lacking but I couldn't figure out which one yet.

I have the same problem, the above command still login in the browser

Hey! I had the same issue, trying to log into youtube music.
What worked for me was:

  • right click the "sign in" - open link in new window
  • give email, pw and code etc.. - browser will open (ignore it)
  • right click "sign in" again - open link in new window - ...login process continues
  • choose account, close all webapp windows
  • open up the webapp container again
  • works (for me at least)
    I hope this helped, as I cannot provide any coding

I was able to get the onenote to work with this argument:
--internal-urls "."
That keeps everything internal. It just doesnt work for opening documents in excell online and such. Those look like they open a new window, then it just dissapears

I was able to get the onenote to work with this argument:
--internal-urls "."
That keeps everything internal. It just doesnt work for opening documents in excell online and such. Those look like they open a new window, then it just dissapears

try instead --internal-urls "(.*)"
worked for me

nativefier -p linux -a x64 -n "msoffice" https://www.office.com/ --internal-urls "(.*)"

I was able to get the onenote to work with this argument:
--internal-urls "."
That keeps everything internal. It just doesnt work for opening documents in excell online and such. Those look like they open a new window, then it just dissapears

try instead --internal-urls "(.*)"
worked for me

nativefier -p linux -a x64 -n "msoffice" https://www.office.com/ --internal-urls "(.*)"

I would add a user agent like Edge to force additional functional compatibility with tools like MS Teams

--internal-urls "."

This worked for me - Thanks much!
I was trying to nativefier "Service Now" App.

Was this page helpful?
0 / 5 - 0 ratings