Product: PowerShell Universal
Version: 1.4.6
When using OIDC you have access to $AccessToken and $IDToken. Is there a way to grab more information from the response? I’m in need of the refresh token. The token expires in the middle of lengthy scripts.
Asked a similar question myself this week - I think the answer is no at the moment, but a work around may be to grab a new token, save it in a $session: variable along with its refresh token and then use that.
I haven’t investigated properly yet, but in theory should work.