[GH-ISSUE #2511] Feedback for “Setting up OAuth Providers” #699

Open
opened 2026-02-26 18:48:06 +03:00 by kerem · 2 comments
Owner

Originally created by @OxygenGS on GitHub (Feb 17, 2026).
Original GitHub issue: https://github.com/documenso/documenso/issues/2511

This method does not work. I have followed all the steps for Microsoft OAuth, and once i try to login i get this error:

{
"code": "INVALID_REQUEST",
"message": "Invalid or missing state"
}

Am i missing something?

Originally created by @OxygenGS on GitHub (Feb 17, 2026). Original GitHub issue: https://github.com/documenso/documenso/issues/2511 This method does not work. I have followed all the steps for Microsoft OAuth, and once i try to login i get this error: { "code": "INVALID_REQUEST", "message": "Invalid or missing state" } Am i missing something?
Author
Owner

@github-actions[bot] commented on GitHub (Feb 17, 2026):

Thank you for opening your first issue and for being a part of the open signing revolution!

One of our team members will review it and get back to you as soon as it possible 💚

Meanwhile, please feel free to hop into our community in Discord

<!-- gh-comment-id:3914438983 --> @github-actions[bot] commented on GitHub (Feb 17, 2026): Thank you for opening your first issue and for being a part of the open signing revolution! <br /> One of our team members will review it and get back to you as soon as it possible 💚 <br /> Meanwhile, please feel free to hop into our community in [Discord](https://documen.so/discord)
Author
Owner

@wang2-lat commented on GitHub (Feb 21, 2026):

这个错误通常是 OAuth state 参数在回调时丢失或不匹配导致的。检查一下你的回调 URL 配置是否与 Microsoft Azure 注册的完全一致(包括协议、端口),并确认 session/cookie 配置正常以保持 state 参数。

<!-- gh-comment-id:3939038301 --> @wang2-lat commented on GitHub (Feb 21, 2026): 这个错误通常是 OAuth state 参数在回调时丢失或不匹配导致的。检查一下你的回调 URL 配置是否与 Microsoft Azure 注册的完全一致(包括协议、端口),并确认 session/cookie 配置正常以保持 state 参数。
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/documenso#699
No description provided.