Giter Site home page Giter Site logo

Comments (4)

phodal avatar phodal commented on May 18, 2024

鉴权要么是用 token 要么是用 cookie,聚合发布的时候,他们都是同域,不存在这样的问题。只需要在基座应用里,实现登录功能即可。

from microfrontends.

bigbigbo avatar bigbigbo commented on May 18, 2024

那如果我子应用独立部署,也想能登陆怎么处理比较好(如果跳转到聚合应用里登陆并且部署在不同域的情况下会有问题)?是把登陆这块也拎出来作为一个子应用而不是基座应用里实现,然后想要独立部署子应用,那就连带着把登陆也部署了,就是至少部署1个子应用和1个登陆应用。

from microfrontends.

phodal avatar phodal commented on May 18, 2024

可以,哈哈

from microfrontends.

bigbigbo avatar bigbigbo commented on May 18, 2024

谢谢回答。今天你的书就要到手了,到时在拜读下:smiley:

from microfrontends.

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.