Dex: incorrect response for github connector is user not in required org

Created on 29 Apr 2019  路  3Comments  路  Source: dexidp/dex

if the user is not in the required github or then dex returns 500 along with "Failed to authenticate: github: user "wibble" is not in required orgs or teams".

However - this should not be a 500 error code but a 403 - the user is authenticated - they just have no authorisation to proceed.

or to put it another way the Internal server error makes it look to the user as though this is something that can be fixed by retrying.

areconnector help wanted

Most helpful comment

can i take this one?

All 3 comments

Yeah, it would be good to be able to differentiate these! 馃槂

can i take this one?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

NexoMichael picture NexoMichael  路  7Comments

reasonerjt picture reasonerjt  路  3Comments

ericchiang picture ericchiang  路  7Comments

srenatus picture srenatus  路  3Comments

vasartori picture vasartori  路  3Comments