teamcity-oauth icon indicating copy to clipboard operation
teamcity-oauth copied to clipboard

Conflict with jetbrains internal github.com authentication

Open bygjames opened this issue 4 years ago • 1 comments

Using oauth for gsuite and native github for github.com authentication.

Error is "Unauthenticated since retrieved 'state' doesn't correspond to current TeamCity session." during login

But only if the authentication module order loads teamcity-oauth before github.com

image

this order loads will login with no issue.

image

bygjames avatar Feb 03 '21 01:02 bygjames

@pwielgolaski Hi, right now the OAuthAuthenticationScheme handles all unauthenticated requested that have state and code parameters, while it should use and check a specific request URL. It will probably help here

dmitry-treskunov avatar Feb 04 '21 09:02 dmitry-treskunov