linagora / linshare

LinShare
https://www.linshare.org/
GNU Affero General Public License v3.0
476 stars 86 forks source link

[6.0.2] How to enable the JWT? #270

Open e1uc1dat0r opened 1 year ago

e1uc1dat0r commented 1 year ago

When I followed the guide (https://github.com/linagora/linshare/blob/master/documentation/EN/administration/how-to-use-jwt.md) to generating the id_rsa and id_rsa.pub at the path "/etc/linshare/" and restart the tomcat9, I couldn't login any more. So, how to enable the JWT correctly? Is there any step by step guide? Do I need to enable the ssl engine of Apache2?

lacrimal commented 1 year ago

Do you have enabled "JWT permanent token" for your particular domain ? That was my issue with JWT.

e1uc1dat0r commented 1 year ago

Do you have enabled "JWT permanent token" for your particular domain ? That was my issue with JWT.

Yes, I comfirm that I've enabled "JWT Permanent Token".

e1uc1dat0r commented 1 year ago

Do you have enabled "JWT permanent token" for your particular domain ? That was my issue with JWT.

Have you genrated the id_rsa and id_rsa.pub at the path "/etc/linshare/"?

e1uc1dat0r commented 1 year ago

Do you have enabled "JWT permanent token" for your particular domain ? That was my issue with JWT.

image I got this error message.