Giter VIP home page Giter VIP logo

Comments (11)

IlyaSavich avatar IlyaSavich commented on May 30, 2024 1

I see it fails on CatalogAuthResolverContext.ts when tries to get catalog entities await this.catalogApi.getEntityByRef(entityRef, { token });

from backstage.

freben avatar freben commented on May 30, 2024

Are you deployed behind a reverse proxy like for example oauth2proxy? Could it be configured to inject authorization headers of its own? We've seen some cases like that, where an intermediary proxy was ruining the Backstage token passing, so that the backend receiving the calls could not recognize the auth it received. Reconfiguring the proxy made the problem go away in those instances

from backstage.

IlyaSavich avatar IlyaSavich commented on May 30, 2024

the problem is it fails not on external call, but when tries to get catalog entity after successful auth in okta, so it fails on inter-module communication

from backstage.

freben avatar freben commented on May 30, 2024

"It" is the browser here, making a request to a backend plugin (catalog), am I understanding that correctly?

from backstage.

IlyaSavich avatar IlyaSavich commented on May 30, 2024

nope, auth plugin makes request to catalog plugin

from backstage.

freben avatar freben commented on May 30, 2024

When you did this upgrade to the new Backstage release, did you update both the auth plugin and the catalog plugin to the newest versions?

Is your backend instance migrated to the new backend system?

Did you have a custom TokenManager in place in your backend?

from backstage.

IlyaSavich avatar IlyaSavich commented on May 30, 2024

What do you mean by upgrading plugin to the newest version ? if backstage deps then yes

I migrated backend to the new backend system, but some internal plugins are still not migrated

I don't have custom TokenManager

from backstage.

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.