Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

*: allow call connectors to share a single a single callback #638

Merged
merged 2 commits into from
Oct 27, 2016

Conversation

ericchiang
Copy link
Contributor

@ericchiang ericchiang commented Oct 27, 2016

Let the server handle the state token instead of the connector. As a
result it can throw out bad requests earlier. It can also use that
token to determine which connector was used to generate the request,
allowing all connectors to share the same callback URL.

Callbacks now all look like:

https://dex.example.com/callback

Instead of:

https://dex.example.com/callback/(connector id)

Even when multiple connectors are being used.

Closes #597

Eric Chiang added 2 commits October 27, 2016 10:23
Let the server handle the state token instead of the connector. As a
result it can throw out bad requests earlier. It can also use that
token to determine which connector was used to generate the request
allowing all connectors to share the same callback URL.

Callbacks now all look like:

    https://dex.example.com/callback

Instead of:

    https://dex.example.com/callback/(connector id)

Even when multiple connectors are being used.
"state" means something specific to OAuth2 and SAML so we don't
want to confuse developers who are working on this.

Also don't use "session" which could easily be confused with HTTP
cookies.
@ericchiang ericchiang merged commit d7912a3 into dexidp:dev Oct 27, 2016
@ericchiang ericchiang deleted the dev-share-a-single-callback branch November 22, 2016 20:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants