Open Esther125 opened 9 months ago
@Esther125
Change username and email mapping to:
- OAUTH2_USERNAME_MAP=email
- OAUTH2_EMAIL_MAP=email
Also add this, to see is there more logging:
- DEBUG=true
For docker, see logs with:
docker logs wekan-app
For OAUTH2_REQUEST_PERMISSION, maybe it needs full URL to permission like here:
https://github.com/wekan/wekan/wiki/Google-login Or look at bottom of /var/log/syslog
For source, see logs at console where you started with start-wekan.sh or start-wekan.bat
@Esther125
post-logout-redirect-uris:
- "http://localhost:3000/logged-out"
There is not yet logout endpoint, see #5061
@RowhamD
What do you think about this?
@xet7 Hello, thanks for your advice. I already done the changes below but the error still exists:
I checked my source logs and it seems that there wasn't any error logs there and the spring server log is the same as my previous post. Do you have any idea how to fix this? Thanks a lot.
I used GitLab as my OIDC provider before, but now I switch to a self-host spring-authentication-server. I already connect the OIDC buttom with my authentication server, but after I login an 404 error occurs. (Which means I can jump to the server login page and I can use my account and password login, but I can't redirect back to my app after the login. I am not sure whether the problem is in the redirect session or there are other problems.)
spring-authentication-server code I referred: https://github.com/spring-projects/spring-authorization-server (I run the default application version)
settings in my applications.yml:
OAUTH settings in my Wekan app:
The log in server:
I really appreciate any help and suggestions!