kinto.js icon indicating copy to clipboard operation
kinto.js copied to clipboard

Add groups to users automatically via Oauth

Open SimonKlausLudwig opened this issue 2 years ago • 2 comments

Hey, is it possible to automatically assign the oauth groups to a user ? I dont want to manually assign the same groups which we manage in azure.

Thanks for the great projec.!

SimonKlausLudwig avatar Jan 13 '22 10:01 SimonKlausLudwig

This would have to be done on the server side. The code of OpenID authentication is here https://github.com/Kinto/kinto/blob/master/kinto/plugins/openid/init.py but I fear that in order to accomplish what you want, you'll have to dig into Pyramid authentication system :grimacing:

leplatrem avatar Jan 18 '22 16:01 leplatrem

Hello! I hope it's okay if I've tried to attempt this for a class project. I have an idea on how to approach this but it may not work! I'll link the PR here soon

khanfarr avatar Apr 15 '24 04:04 khanfarr