Giter Site home page Giter Site logo

Comments (4)

jstrachan avatar jstrachan commented on July 17, 2024

so I'm thinking we either:

(i) refactor the login stuff in fabric8-runtime-console into a service that we can opt out of in fabric8-ui and just use ngx-login-client directly or

(ii) refactor the core parts of fabric8-runtime-console out as an npm module (or separate repo) and let the login stuff sit in fabric8-ui

(iii) have 2 separate components that extend fabric8-runtime-console; one that uses vanilla OAuth in OpenShift; the other that uses ngx-login-client

As we need fabric8-runtime-console that runs on vanilla Kubernetes/OpenShift without using ngx-login-client so that we can just talk OAuth to OpenShift/Keycloak.

I'm guessing ngx-login-client can't handle the case where fabric8-runtime-console is running as a client directly on OpenShift with no planner/core API backend right?

from fabric8-runtime-console.

joshuawilson avatar joshuawilson commented on July 17, 2024

Or we can update the login-client to handle generic oauth

from fabric8-runtime-console.

jstrachan avatar jstrachan commented on July 17, 2024

yeah - current plan is I think to

  • patch ngx-login-client so it can be configured to either use generic OAuth (e.g. angular2-oauth2) or use KeyCloak/Almighty stuff
  • patch fabric8-runtime-console to use ngx-login-client for its login stuff

from fabric8-runtime-console.

jstrachan avatar jstrachan commented on July 17, 2024

lets separate out the "make ngx-login-client support vanilla OAuth" issue fabric8-ui/ngx-login-client#20

then this issue becomes mostly 'migrate to ngx-login-client"

from fabric8-runtime-console.

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.