How to configure HTTP binding for REST API using authentication and header - Ignition 8.1

I am not able to connect to the server when using authentication as a bearer token.
I am using Identity Provider to get the token from session variable obtained from redirect url.