onenote
onenote copied to clipboard
HTTP Basic Auth dialog not popping up
Hi,
I'm having issues using P3X OneNote with my corporate account. Upon first launch, I got the classic Microsoft sign-in form. I've put in my corporate e-mail address and got redirected to my corporation's sign-in page. Normally, at that moment an HTTP Basic Auth dialog would pop up, but in the P3X OneNote app, it doesn't and I'm stuck on a white screen, with the loaded URL visible in the bottom purple bar.
Is there something I can do about this? Provide logs, perform the auth manually and transfer cookies/tokens etc?
To reproduce:
- Try to go through a Microsoft sign in with the account
[email protected]
via a browser - Observe an HTTP Basic Auth popup, abort the process
- Try to sign in via the P3X OneNote app with the account
[email protected]
- No HTTP Basic Auth dialog present, stuck on a white screen forever
Thanks for your support!
You can get the OneNote webview console like this:
NODE_ENV=debug ~/opt/P3X-OneNote-2019.10.301.AppImage
for me i am stuck here:
if you can provide a test login you can send me authorization to https://patrikx3.com/contact
maybe i can help, but i am restriced to w webview which is like an iframe and it can be hard, but maybe it is a configuration to electron to allow http basic auth popup
ok, there is a https://stackoverflow.com/questions/38511746/electron-basic-auth-pop-up-not-working
but i am in a webview i am not sure it will work on the default app.on('login', () => {})
event, maybe on the webview event.
the problem is that i cannot debug for you, unless you provide a test account... the stackoverflow answer is 3 years old, and it is not for a webview as onenote online is working. the problem is that i cannot capture the username/password to pass it to the app and there is another problem that i have a webview which is like a iframe, which is another context and there is security problem.
there is a 1 year old answer but it says it is not working. - https://github.com/leftstick/teams-ubuntu/issues/13
of course they are saying it is possible but unless a test account i have no control like this.
https://discuss.atom.io/t/webview-basic-auth/50092
i think it is possible to make it to work, but given it is hard to provide a corporate login i cannot debug and implement, the info is here (yes it is possible in a webview/iframe): https://electronjs.org/docs/api/web-contents#event-login
I have this same issue. I can't authenticate with my corporate server.
if you provide a corporate login i could probably fix it, but given i have no corporate access, it is impossible.
if you provide a corporate login i could probably fix it, but given i have no corporate access, it is impossible.
Do you have access to a university-provided Office365 account you can test with ? I'm having a similar problem. It shows me my university's own login screen... but it just doesn't accept the login. Works fine in Chrome.. doesn't work in this app.
if you provide a corporate login i could probably fix it, but given i have no corporate access, it is impossible.
Do you have access to a university-provided Office365 account you can test with ? I'm having a similar problem. It shows me my university's own login screen... but it just doesn't accept the login. Works fine in Chrome.. doesn't work in this app.
if you provide a corporate login i could probably fix it, but given i have no corporate access, it is impossible.