Eric Luo
Eric Luo
Required by: https://v2ex.com/t/872898#r_11997527 k8s-gatekeeper should be a middleware connecting k8s with both Casbin + Casdoor
- https://github.com/python-social-auth/social-app-django - https://studygyaan.com/django/how-to-add-social-login-to-django - https://medium.com/@namantam1/login-with-facebook-and-google-in-django-using-social-auth-app-django-d042bfeb04cb
Add Casdoor to: https://github.com/singingwolfboy/flask-dance/tree/main/flask_dance/contrib
The signout() API can be called from application's frontend to Casdoor backend, so Casdoor will delete the Beego session (and invalidate the cookie of the browser). This API will help...
We can add this middleware to the list: https://doc.traefik.io/traefik/v2.0/middlewares/overview/#available-middlewares Like: https://doc.traefik.io/traefik/v2.0/middlewares/forwardauth/ Or plugin: https://doc.traefik.io/traefik-pilot/plugins/plugin-dev/
See example: ![image](https://github.com/casibase/casibase/assets/3787410/5c5651e0-cd72-4fc0-9ed5-9c0fbb974db5) ![image](https://github.com/casibase/casibase/assets/3787410/1321e811-b82c-4a38-b1f7-455118481235)
We have the following existing code, but it may not work very well. Need to fix existing issues and make it work. https://github.com/casibase/casibase/blob/a265905906e7546e94577933241bf92274b96028/model/local.go#L255-L264
After signing in with Google, we want to get the phone number and country fields in the UserInfo struct retrieved from Google. See some posts that are related: - https://stackoverflow.com/questions/37876125/how-can-we-get-the-phone-number-with-google-oauth-api-and-facebook-api-used-for...