You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
AzureAD authentication started failing from 2.0.603 when offline_access was added without the Microsoft Graph prefix.
To Reproduce
Steps to reproduce the behavior:
Upgrade to 2.0.603 or above
Login using AzureAD
Will encounter 502 error
Expected behavior
Login will work as expected
Screenshots
Forgot to take the screenshot
Additional context
Patched the scope to https://graph.microsoft.com/offline_access and it started working. Some production environments require fully qualified scopes to work.
The text was updated successfully, but these errors were encountered:
My issue is actually caused by kubernetes nginx that got a 502 due to the limited proxy_buffer sizing. The offline_access refresh_tokens requires a larger buffer size that kubernetes doesn't handle by default.
Adding these to my ingress solved it:
nginx.ingress.kubernetes.io/proxy-buffer-size: "64k"
nginx.ingress.kubernetes.io/proxy-buffers: "8 64k"
Describe the bug
AzureAD authentication started failing from 2.0.603 when offline_access was added without the Microsoft Graph prefix.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Login will work as expected
Screenshots
Forgot to take the screenshot
Additional context
Patched the scope to https://graph.microsoft.com/offline_access and it started working. Some production environments require fully qualified scopes to work.
The text was updated successfully, but these errors were encountered: