by

Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
  • Aug 11 14:53
    stevehu commented #747
  • Aug 11 14:51

    stevehu on issue747

    (compare)

  • Aug 11 14:51
    stevehu closed #747
  • Aug 11 14:51

    stevehu on master

    fixes #747 Add a generic status… (compare)

  • Aug 11 14:51
    stevehu closed #748
  • Aug 11 14:50
    stevehu opened #748
  • Aug 11 14:50

    stevehu on issue747

    fixes #747 Add a generic status… (compare)

  • Aug 11 14:49
    stevehu opened #747
  • Aug 01 17:20

    stevehu on master

    upgrade to version 2.0.17-SNAPS… (compare)

  • Aug 01 17:16

    stevehu on 1.6.x

    upgrade to version 1.6.27-SNAPS… (compare)

  • Aug 01 12:39

    stevehu on 2.0.16

    (compare)

  • Aug 01 11:39

    stevehu on master

    light-bot checkin CHANGELOG.md (compare)

  • Aug 01 03:46

    stevehu on 1.6.26

    (compare)

  • Aug 01 03:02

    stevehu on 1.6.x

    light-bot checkin CHANGELOG.md (compare)

  • Aug 01 03:00

    stevehu on 1.6.x

    upgrade to version 1.6.26 befor… (compare)

  • Aug 01 02:16

    stevehu on 1.6.x

    light-bot checkin CHANGELOG.md (compare)

  • Aug 01 01:19

    stevehu on 1.6.x

    light-bot checkin CHANGELOG.md (compare)

  • Aug 01 01:15

    stevehu on master

    upgrade to version 2.0.16 befor… (compare)

  • Aug 01 01:10

    stevehu on 1.6.x

    upgrade to version 1.6.25 befor… (compare)

  • Jul 31 20:46
    stevehu commented #744
Steve Hu
@stevehu
No. It is the client closed the connection. It is very normal in HTTP protocol.
went-li
@went-li
image.png
前端的呢~
都正常就是登录不了~~就很麻烦 了
Steve Hu
@stevehu
Like I said you shouldn't call 6881 port.
You are using localhost but the certificate is self-signed and you browser doesn't like it. Open the link in the browser and accept the risk first.
went-li
@went-li
这个是错误返回的吧~~前端我改成了网关的了呀~还有那里有~
Steve Hu
@stevehu
However, what you are doing doesn't make any sense to me.
Try to follow the tutorial step by step. Once you get it working, then you can start customization.
The url contains 6881 port numbers :)
went-li
@went-li
我没有找到这个6881是怎么来的
went-li
@went-li
login-view 、"startHttps": "HTTPS=true react-scripts start", 这个命令 用不了~~启用的http://localhost:3000
Steve Hu
@stevehu
It works for Linux. For windows, it is another syntax.
went-li
@went-li
?是什么呢 我没查到~
went-li
@went-li
image.png
还是差个什么环境吧
Steve Hu
@stevehu
Have you read the link I send to you just above your picture?
went-li
@went-li
是的这是看了~测了
Steve Hu
@stevehu
This is the syntax for windows. set HTTPS=true&&npm start
You don't have set
went-li
@went-li
ok https 启动好了~ 但依然没有与后台交互
Steve Hu
@stevehu
I don't know what is going on as you have customized and there is no virtual host available. I don't think it will work with localhost. You need to follow one of the tutorials first to make sure it works and then start customization.
went-li
@went-li
其实我并没有自定什么 ,只是将oauth2 和router 在IDEA 运行了,之前 login -view 直接不能在本地打包运的,后来改node 的版本 好了
Steve Hu
@stevehu
You cannot use localhost as the virtual host needs real domains.
I am using lightapi.net and signin.lightapi.net
or dev.lightapi.net and dev.signin.lightapi.net for dev environment.
went-li
@went-li
那这样~我前端的login-view 部署到另一台机上~~
总满足条件吧
Steve Hu
@stevehu
it doesn't matter if you use one computer or two computers.
virtual host means you can host two or more domains from one instance on one computer.
Here is my /etc/hosts.
#192.168.1.144 lightapi.net signin.lightapi.net

#192.168.1.144 ob.lightapi.net obsignin.lightapi.net

#192.168.1.144 login.lightapi.net

#192.168.1.144 dev.lightapi.net dev.signin.lightapi.net

#192.168.1.144 dev.lightapi.net

#192.168.1.144 codegen.lightapi.net
I don't know how to do it on windows.
went-li
@went-li
没怎么看懂但有点思路~偿试一下
对了还启动oauth2 -consle , 但是一样的不能访问~~~
image.png
Steve Hu
@stevehu
we don't use oauth2-console.
went-li
@went-li
提示好像也是资跨域的问题~~
Steve Hu
@stevehu
It is obsolete and will be removed soon.
went-li
@went-li
有门当头痛
Steve Hu
@stevehu
Take a look at the view in the light-portal
135 branch has the latest code.
went-li
@went-li
我要url地址
went-li
@went-li
这个试例有什么不一样~?
went-li
@went-li
没理实际的登
我想那前台端事例调通主要是想给我们的前端人员一个参考,因为我直接对后台调试中 auth2/code 的get 和post 只通了get, 也没理解实际登录时它分们的使用方式 ~
Steve Hu
@stevehu
In most cases, we need to use post so that we can provide a UI for users to login. Get most times will be used for LDAP or SPENGO integration within an organization for single sgin-on.
went-li
@went-li
是的我也是这样理解,可是什么 ,为什么 post 登录就是用不了呢~~~ get可以的