I have a completed ServerBackEnd Web Api that receives requests from a frontend web application and returns a response for them.
My ServerBackend uses JWT Bearer tokens.
The purpose of my PCF is to replace the the frontend web application and send authorized requests to the backend.
I would like to avoid working in React as I am unfamiliar with the language and it would take too long to make a proof of concept.
Is there a way to authenticate those request inside the PCF without it ?
I made successful get request that did not require a bearer token using the fetch method inside PCF.
You can create a PCF component that doesn't use React (most of mine don't)
But I suspect your biggest issue won't be React is will be CORS - Cross-Origin Resource Sharing which may course you problems if you can't get the headers set correctly https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS
If however CORS isn't an issue https://medium.com/better-programming/authentication-and-authorization-using-jwt-with-node-js-4099b2...
I am using Azure AD authentication for my ServerBackend API.
I apologize for not mentioning it earlier.
So a JWT Token needs to come from there.
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.