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

Fix realm issues #79

Merged
merged 4 commits into from
Mar 11, 2015
Merged

Fix realm issues #79

merged 4 commits into from
Mar 11, 2015

Conversation

bjoerge
Copy link
Member

@bjoerge bjoerge commented Mar 11, 2015

This fixes two issues:

    1. A request to checkpoint at a domain with no associated realm will now return a 412 (Precondition failed), e.g.:
$ curl -I http://this.domain.is.valid.but.has.no.realm/api/checkpoint/v1/identities/me
HTTP/1.1 412 Precondition Failed
No realm is associated with the domain 'this.domain.is.valid.but.has.no.realm'
    1. A request for an identity id that is in another realm than the realm associated with the request host will not be returned. Instead /identities/me will return {} as if the identity doesn't exists at all.

bjoerge added a commit that referenced this pull request Mar 11, 2015
@bjoerge bjoerge merged commit 0009a25 into master Mar 11, 2015
@bjoerge bjoerge deleted the fix-realm-issues branch March 11, 2015 12:23
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.

1 participant