mirror of
https://github.com/plankanban/planka.git
synced 2026-02-24 19:08:59 +03:00
Cannot login planka with Forgejo's OAuth2, please help me! #509
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @zyppe on GitHub (May 18, 2024).
I want to connect it, so I added an OAuth2 application in my Forgejo (a gitea's fork), and I add these items in the configuration: OIDC_ISSUER, OIDC_CLIENT_ID, OIDC_CLIENT_SECRET. Then it can show login with SSO and jumped to my Forgejo, but when I login in, it just tell me UNKNOWN ERROR. What items do I ignored?
Here is the document about Forgejo as OAuth2 provide:
https://docs.gitea.com/development/oauth2-provider
@eternity1984 commented on GitHub (Jun 24, 2024):
@zyppe
How is OIDC_ISSUER set in your environment?
The following error probably occurred internally.
@zyppe commented on GitHub (Jul 8, 2024):
I just set OIDC_ISSUER to my domain(end with /)
and OIDC_SCOPES=openid email profile
Of course, I have set OIDC_CLIENT_ID, OIDC_CLIENT_SECRET.
It just tell me unknown error.
@eternity1984 commented on GitHub (Jul 8, 2024):
Umm...
What did you use to start Planka in your environment?
...docker-compose or helm? please show me your configuration file.
If you run the
$ npm startcommand to start the develop environment for the first time, you may have forgotten to initialize the database. Please run the following command:$ npm run server:db:init@zyppe commented on GitHub (Jul 11, 2024):
Sorry that I dropped to use planka. Still thanks for your help!