Failed to refresh the token against ADFS - Azure Stack Hub environment
rkhaled0 opened this issue · 2 comments
rkhaled0 commented
Dear,
I'm facing this following error when talking to an ASH platform + ADFS.
azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://xxx StatusCode=404 -- Original Error: adal: Refresh request failed...
This issue seems to be already fixed here with adfs environment autodetection (if loginEndpoints ends with/adfs
).
https://github.com/hashicorp/go-azure-helpers/blob/main/authentication/config.go#L50
Could we reproduce this behaviour during OAuth config instantiation ? https://github.com/Azure/go-autorest/blob/master/autorest/adal/config.go#L56
version: github.com/Azure/go-autorest/autorest/adal v0.9.13
Regards
patrickdillon commented
Not sure if this is related, but are you using adfs
as the magic string for your tenant?
rkhaled0 commented
Not sure if this is related, but are you using
adfs
as the magic string for your tenant?
Correct, !