Code Monkey home page Code Monkey logo

Comments (10)

michaelstaib avatar michaelstaib commented on June 9, 2024 1

Its not a bug as we have not implemented any authorization on the fusion gateway. At the moment its not supported. With the current version authorization is supposed to be handled by the subgraph.

We have a feature for authorization on the backlog for version 13.8.

I am closing this issue as it is by design that the gateway has no authorization capabilities as of now.

This is expected:

I had header propagation configured and it works fine when subgraph has authorisation and fusion server does not.

from graphql-platform.

michaelstaib avatar michaelstaib commented on June 9, 2024

You need to configure header propagation

from graphql-platform.

michaelstaib avatar michaelstaib commented on June 9, 2024

https://thecodeblogger.com/2021/05/25/request-header-propagation-in-net-core-web-applications/

from graphql-platform.

Meh3 avatar Meh3 commented on June 9, 2024

I had header propagation configured and it works fine when subgraph has authorisation and fusion server does not. The problem is when the fusion server also has authorisation. In my repro steps no request is even sent to subgraphs and problems occur. The fusion server can't even be initialised because the ApplyPolicy enum type appears twice in the fusion graph (or at least that is how I understand it from the log).

from graphql-platform.

Meh3 avatar Meh3 commented on June 9, 2024

Thanks for reopening. I'm wondering if this should be marked as a bug rather than a question?
Can you give us a rough estimate of when we can expect a fix?
Thanks

from graphql-platform.

michaelstaib avatar michaelstaib commented on June 9, 2024

We are also not sure yet if there should be authorization in the gateway as this would duplicate logic that is already executed on the subgraphs. We are still discussing this topic internally. Join the fusion channel on slack as we are constantly posting the current roadmap there and giving hints as to how we implement certain aspects of the roadmap.

from graphql-platform.

michaelstaib avatar michaelstaib commented on June 9, 2024

slack.chillicream.com

from graphql-platform.

Meh3 avatar Meh3 commented on June 9, 2024

Thanks for the answer.
I think authorisation on the fusion server side would be beneficial. It would be nice to have a global common authentication and authorisation and not have to repeat it (or use it) on every subgraph/application. So the need is to have authentication/authorisation (at least the common part) on the gateway side and not on the subgraph side.

from graphql-platform.

Meh3 avatar Meh3 commented on June 9, 2024

Ps:
I'm writing from the perspective of a larger company that has a cloud platform and many products around it with a single point of access.

from graphql-platform.

slbentley avatar slbentley commented on June 9, 2024

@michaelstaib referring to your comment about Fusion and authorization, on Jul 30 you said authorization for fusion was on the backlog for 13.8. I see now that we've jumped from 13.7 to 14.0 preview. Does the preview have authorization? Also as far as contacting you via Slack, which you mention in your class as well as in this thread, my company does not allow slack in house so unfortunately ATM this is my best known way of communicating with you. Any better alternatives?

from graphql-platform.

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.