Code Monkey home page Code Monkey logo

Comments (5)

pacphi avatar pacphi commented on May 30, 2024

Why not introduce an API Gateway? You might look at this sample project for inspiration. https://github.com/artemMartynenko/spring-cloud-gateway-oauth2-sso-sample-application

from cf-butler.

dashaun avatar dashaun commented on May 30, 2024

I'm a USER, deploying to my own org.

I'm required to use SSO for login.

I can only use TOKEN_PROVIDER="userpass"

Is this possible?

What do I do for CF_USERNAME and CF_PASSWORD?

from cf-butler.

pacphi avatar pacphi commented on May 30, 2024

You can use TOKEN_PROVIDER=sso. You must authenticate as the user before deployment. Then use the refresh token in ~/.cf/config.json. See https://github.com/pacphi/cf-butler#with-sso-authorization. In this case CF_USERNAME and CF_PASSWORD do not need to be defined, rather CF_REFRESH-TOKEN. Keep in mind if you use a user other than admin, you will not have the full complement of features available, nor will you get full reporting of workloads on foundation.

from cf-butler.

dashaun avatar dashaun commented on May 30, 2024

This is working as documented! This can be closed.

from cf-butler.

pacphi avatar pacphi commented on May 30, 2024

Thank you @dashaun!

from cf-butler.

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.