infor-cloud / m3-h5-sdk

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

Odin serve multi tenant now working with ION api FIle #101

Closed deepaka4 closed 2 years ago

deepaka4 commented 3 years ago

I am trying to login through ION API file using odin login cammand but recieve below error while calling API.

Initial Chunk Files | Names | Size vendor.js | vendor | 5.00 MB scripts.js | scripts | 1.83 MB polyfills.js | polyfills | 508.82 kB styles.css, styles.js | styles | 381.01 kB main.js | main | 21.28 kB runtime.js | runtime | 6.58 kB

| Initial Total | 7.73 MB

Build at: 2021-07-14T18:40:47.833Z - Hash: d61b76c7dd0a7833a9e3 - Time: 15220ms

Warning: C:\Users\Deepak\work\H5_SDK\proj1\SDK-PROJ-TEST1\src\app\app.module.ts depends on '@infor-up/m3-odin'. CommonJS or AMD dependencies can cause optimization bailouts. For more info see: https://angular.io/guide/build#configuring-commonjs-dependencies

Angular Live Development Server is listening on localhost:8080, open your browser on http://localhost:8080/

√ Compiled successfully. [HPM] Rewriting path from "/m3api-rest/csrf" to "/M3/m3api-rest/csrf" [HPM] GET /m3api-rest/csrf ~> http://localhost:8080 Faking response to CSRF request [HPM] Rewriting path from "/m3api-rest/execute/MNS150MI/GetUserData;metadata=true;maxrecs=100;excludempty=false?_rid=51E5JB2PZVQ1LKTW" to "/M3/m3api-rest/execute/MNS150MI/GetUserData;metadata=true;maxrecs=100;excludempty=false?_rid=51E5JB2PZVQ1LKTW" [HPM] GET /m3api-rest/execute/MNS150MI/GetUserData;metadata=true;maxrecs=100;excludempty=false?_rid=51E5JB2PZVQ1LKTW ~> http://localhost:8080 Removing fnd-csrf-token header from ION API request Authorization header file must be read. Header = Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IkluZm9yQWNjZXNzVG9rZW5TaWduaW5nQ2VydGlmaWNhdGUtMTU3NjM2MzI3NyJ9.eyJzY29wZSI6IiIsImNsaWWSdDiwMGV6QOu2oGHefwWOoecx51sEmBYHi5UGkkopbgTFbva_7gB5Fv4OqwK7n7pZ_PcO9lyl-J_s4ws8v7VwqefDuB2h7JxhnBg4IL7kSs85sjXZf7_NaIxNVlU1wkaNo0iRVxzM-i8ZmSRZTPTnSwCJbuZMhn8U-GT6cLuVZ79swNnDNh2TUQ20AkNBWcvzaxwQWRWwumVoDzjoq-8cPgIHd8NaSZhiqh6c5EGy3ztxWuwBv2SlSCsPGTJEAvrrUBExrXKfMp0TPaEqUZRv_U3DKWiRh9PkU_JjPMJnfN9dqZOiGKtr0-HEg Expires = Invalid Date

image

anhallbe commented 3 years ago

Hi! I don't see any errors in the logs you provided?

The Expires = Invalid Date part is not an error, although it looks like it with the "invalid" wording. Will add a TODO to fix the log output.

Are you getting any errors in the browser?

anhallbe commented 2 years ago

Closing due to inactivity