waqaskhan540 / identityserver-token-exchange

A solution for exchanging external (Facebook,Google,Twitter etc) tokens with IdentityServer access token.
GNU General Public License v3.0
15 stars 20 forks source link

User has been disabled error #9

Open senzacionale opened 5 years ago

senzacionale commented 5 years ago

Hello,

I am getting strange error: User has been disabled. I am getting correctly request from google oauth2 and send it to IdentityServer.

[10:21:17 ERR] User has been disabled{"subjectId": "a046b845-ffb7-4fcd-b686-17dc370ee100"}, details: {"ClientId": "auth-api", "ClientName": "auth-api", "GrantType": "external", "Scopes": "address auth-api email offline_access openid profile roles", "AuthorizationCode": null, "RefreshToken": null, "UserName": null, "AuthenticationContextReferenceClasses": null, "Tenant": null, "IdP": null, "Raw": {"grant_type": "external", "provider": "google", "external_token": "ya29.xxx-xxx", "scope": "openid profile email address offline_access auth-api roles", "client_id": "auth-api"}, "$type": "TokenRequestValidationLog"}

Need user already exist in IdentityServer and be enabled? What if not exist yet?