Coder Social home page Coder Social logo

Keycloak support about tabby-web HOT 5 OPEN

eugeny avatar eugeny commented on August 17, 2024 5
Keycloak support

from tabby-web.

Comments (5)

kaaass avatar kaaass commented on August 17, 2024 3

I have removed the default social login method and implemented OIDC in my fork. To enable this, the following environment variables should be set:

  • SOCIAL_AUTH_OIDC_OIDC_ENDPOINT: URL of your oidc provider. Please note that the other config is auto-detected, so be sure that <SOCIAL_AUTH_OIDC_OIDC_ENDPOINT>/.well-known/openid-configuration presents and contains the necessary information.
  • SOCIAL_AUTH_OIDC_KEY: Client ID
  • SOCIAL_AUTH_OIDC_SECRET: Client secrets

And the redirection URL will be: https://<Tabby>/api/1/auth/social/complete/oidc/

from tabby-web.

nlahmi avatar nlahmi commented on August 17, 2024 2

+1
Well, not necessarily keycloack but I suppose the ability to use custom oauth/oidc providers would make me install this in my homelab right now

from tabby-web.

nlahmi avatar nlahmi commented on August 17, 2024

Nice! why not PR it?

from tabby-web.

matbgn avatar matbgn commented on August 17, 2024

I can only double the comment from @nlahmi, why not PR it here @kaaass?

from tabby-web.

kaaass avatar kaaass commented on August 17, 2024

It's mainly because my patch removed other default social login methods (Github, Microsoft, ...) for convenience. It's okay for self-hosting, but from README, since this repository "is the exact code that runs at https://tabby.sh/," removing them might not be a good idea. I could re-add them again, but that means I need to implement something to enable/disable the login method (tabby.sh doesn't need OIDC), including the frontend stuff. Since I'm unfamiliar with angular (the frontend framework tabby-web use), I just hardcoded the OIDC login button in my fork, which is unconfigurable thus might not be a good idea to PR this.

from tabby-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.