I am using wsfederation(with pingfederate as IDP) for authenticating.
This is working fine for getting access token first time, but when the token got expired, I need to get a new token or refresh token.
In .NET framework 4.7.2 it is working fine as we uses WS2007FederationHttpBinding
and WSTrustChannelFactory
to get new token.
But in .NET CORE I did not get any way to get the access token forcefully.
Do anyone have any idea on how do I get the new token by calling a API from my controller?