Share via

OIDC call back error HTTP STATUS 400

Anass 0 Reputation points
2025-09-26T08:19:51.4433333+00:00

Hello team,

I have a problem when trying to login as user via Microsoft OIDC flow! The request is received by Azure, authentication is successful in Azure access logs, the response with cookie is sent back to the app, but I receive an error message "HTTP Status 400 - Bad Request"!

This flow was working before and this new error apears just yesterday without any change done in app side or Azure conf!

The request URL is like the following "https://app-domain/frontend/endpoint/microsoft/authenticate", and the I added the redirect URI "https://app-domain/frontend/endpoint/microsoft/back" to the "Redirect URIs" section in App Registration Authentication tab.

Could you help me to understand this issue and how to resolve it please ?

Many thanks in advanc efor your help.

Best Regards

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Most helpful
  1. Aditya N 2,990 Reputation points Microsoft External Staff Moderator
    2025-09-26T12:34:49.9966667+00:00

    Hello @Anass

    Thank you for confirming that the issue is resolved which was due to HTTP header size. As mentioned in the query, the Azure authentication is done, post sending the token it is application will take over the flow.

    Thanks,
    Aditya

    Was this answer helpful?

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.