shenyu icon indicating copy to clipboard operation
shenyu copied to clipboard

JWT Usage Issues

Open zhentaowang opened this issue 5 years ago • 7 comments

Describe the bug

"Cannot edit {" secretkey ":" "" "," filterpath ":" "}, and examples of usage are missing."

Environment

  • ShenYu version(s): 2.4.0

Steps to reproduce

Expected behavior

Debug logs

Click to expand
replace this line with your debug logs

zhentaowang avatar Aug 09 '21 08:08 zhentaowang

Hi, I can't get your point, can you provide more infomation?

midnight2104 avatar Aug 09 '21 10:08 midnight2104

I mean, the JWT usage description(https://shenyu.apache.org/zh/projects/shenyu/jwt-plugin/) in this document is not detailed enough, Can you give me a demo?

zhentaowang avatar Aug 09 '21 13:08 zhentaowang

I mean, the JWT usage description(https://shenyu.apache.org/zh/projects/shenyu/jwt-plugin/) in this document is not detailed enough, Can you give me a demo?

There is currently a lack of initialized SQL statements, you can add them directly to db. Or contact me.

impactCn avatar Aug 10 '21 06:08 impactCn

I mean, the JWT usage description(https://shenyu.apache.org/zh/projects/shenyu/jwt-plugin/) in this document is not detailed enough, Can you give me a demo?

There is currently a lack of initialized SQL statements, you can add them directly to db. Or contact me.

I know what you said. Now I want to modify these two configuration information on the web. I plan to modify index.40aac744.js to realize this function

zhentaowang avatar Aug 10 '21 06:08 zhentaowang

First, find this table image seconde image Write the parameters directly and open the plugin to determine whether the token is valid.

impactCn avatar Aug 10 '21 06:08 impactCn

I mean, the JWT usage description(https://shenyu.apache.org/zh/projects/shenyu/jwt-plugin/) in this document is not detailed enough, Can you give me a demo?

There is currently a lack of initialized SQL statements, you can add them directly to db. Or contact me.

I know what you said. Now I want to modify these two configuration information on the web. I plan to modify index.40aac744.js to realize this function

Modifying the js code may be too troublesome.

impactCn avatar Aug 10 '21 06:08 impactCn

ok,I've given up

zhentaowang avatar Aug 10 '21 06:08 zhentaowang