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

loki plugin getUser response is not SCIM compliant #18

Closed
mohitzim opened this issue Jun 4, 2019 · 2 comments
Closed

loki plugin getUser response is not SCIM compliant #18

mohitzim opened this issue Jun 4, 2019 · 2 comments

Comments

@mohitzim
Copy link

mohitzim commented Jun 4, 2019

Hi jelhub

I am using loki plugin and doing filter request as following :
https://domain/Users?filter=userName+eq+%22bjensen1%22

It works fine when user is found, but when user is not found, its sending 404 response instead of 200 with empty array.
Azure AD expects following response when user is not found :

{
	"schemas": ["urn:ietf:params:scim:api:messages:2.0:ListResponse"],
	"totalResults": 0,
	"Resources": [],
	"startIndex": 1,
	"itemsPerPage": 20
}

Can you please explain regarding this.

Thanks & Regards

@jelhub
Copy link
Owner

jelhub commented Jun 4, 2019

Hi,
Azure AD as IdP requires SCIM 2.0 to be used by plugin.

"scimgateway": {
  ...
  "scim": {
	"version": "2.0"
	...

Also make sure you are running latest version (v2.1.4)
Problem reported was fixed in v2.0.2

Regards,
Jarle

@jelhub jelhub closed this as completed Jun 9, 2019
@mohitzim
Copy link
Author

Thanks @jelhub. This worked with version change in config.

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

No branches or pull requests

2 participants