Azure SSO oauth2 - the redirect URI specified in request does not match the redirect URIs configured for the application - Hash issue in URI

Has anyone came across this issue when setting up oauth2 for SSO with Azure Active Directory?
There should be a ‘#cases’ at the end of the url but Azure removes the hash from my redirectUri

I’d be interested to hear if anyone has successfully added SSO to login page for oauth2 with Azure and how they achieved this.

Many thanks.