I got this working…didn’t use msal-node…tried msal-browser, but eventually I used an implicit grant request for the access token then client credentials grant type for the json data - little bit tricky…the key thing to remember was that a server side call for an access token using azure, gives a response where the access token is preceded by #, nothing can be read in the response server-side after the #, once I knew this it was easy to fix. The client secret and the call using the secret is all done in the backend. Used Postman and webhook.site for debugging, very useful…Would love to know if anyone has got msal working on wix?
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| bearer token generation Help | 0 | 215 | August 19, 2020 | |
| Oauth2 in Wix Corvid | 0 | 305 | June 1, 2020 | |
| How to accept POST submission with token or user id/pwd | 2 | 491 | April 9, 2018 | |
| Access login protected third party endpoint | 5 | 1033 | January 1, 2018 | |
| 3rd party auth token | 2 | 141 | November 10, 2020 |