POST/api/v2/auth/dex/principal/access-requests
Dex connectorInternal integration
Backchannel endpoint used by Dex when it refuses a person access to an application. Dex sends the key from the Principal sign-in refusal, or the client, connector and user it signed in. Principal answers with the application name, the person and whether a request can reach the organization admins, and keeps a one-time key for the Request access button.
Request body application/json · handler.DexAccessRequestOfferRequest
Optional7 fields
accessRequeststring
Key from the Principal sign-in refusal. When set, the other fields are ignored.
issuerstring
clientIDstring
connectorIDstring
userIDstring
namestring
emailstring
Responses
200
OK
handler.DexAccessRequestResponse · 6 fields
accessRequeststringrequired
applicationNamestringrequired
applicationHoststringrequired
namestringrequired
emailstringrequired
statestringrequired
opensentlimitedunavailable400
Bad Request: the request does not name exactly one application of this Principal.
401
Unauthorized: invalid connector credentials.
404
Not Found: the access request key is unknown or expired.
Common errors: 413 429 500 504. They mean the same for every operation, see Errors.