Thank you @dawid.matuszczyk for your assistance!
I’ve made the change you suggested, and I think I’m on the right track now. I’m receiving however a Consent Required
error during the getAccessTokenSilently
method call.
If you have any suggestions on that it would be much appreciated!
Edit: To be clear, the error is not followed by a consent dialog. I assume it’s because I’m using a “silent” method call.
Edit: I caught the error and used theloginWithPopup
method to handle the consent grant. It’s working well now!
Thank you!