infor-cloud / m3-h5-sdk

https://infor-cloud.github.io/m3-h5-sdk/
34 stars 20 forks source link

MT Login Tool with MFA #181

Open macalat opened 1 year ago

macalat commented 1 year ago

Is there a new version for MT Login Tool that will work on an MT tenant where Multi-factor authentication is enabled?

swuendri commented 1 year ago

And odin login doesn't work well? What happens?

macalat commented 1 year ago

It does. But I prefer to use MT Login tool.

macalat commented 11 months ago

Hi,

Following up on the question please.

It seems the FormService does not work locally with odin login. I tried the one mentioned here https://github.com/infor-cloud/m3-h5-sdk/issues/83#issuecomment-772350875 but I got the same error image

image

Running the project locally will return H5 logon failed image

How do I make FormServicework locally withodin login? With MT Login Tool this just works before.

Thank you so much!

wesped0 commented 11 months ago

I think the puppetter library has been updated and the current code in login.js does not work. The following change in the getAllCookies method works for me.

image