kinto.js
kinto.js copied to clipboard
Add groups to users automatically via Oauth
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.!
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:
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