Hi, thanks for the great codeforge.
Unfortunately, Forgejo v12 breaks all existing OAuth clients due to a breaking change in the issuer string:
PR: remove the trailing slash from the issuer in OAuth claims. If the Forgejo instance is used as an OAuth2 provider, all OIDC clients must ensure they read the updated configuration. For instance, if the OAuth2 client is a Forgejo instance, the already configured authentication source must be updated from the /admin/auths web page. Nothing needs to be modified, it is enough to click on the Update authentication source button.
https://codeberg.org/forgejo/forgejo/milestone/12836
This change is not documented in the Forgejo v12 blog or Codeberg social media.
I am a bit frustrated, as I have been locked out of my Kubernetes cluster while I was on vacation due to multiple of my OIDC clients breaking. Example of kube-login OIDC being broken:
error: get-token: authentication error: oidc error: oidc discovery error: oidc: issuer did not match the issuer returned by provider, expected "https://codeberg.org/" got "https://codeberg.org"
While I do not check the Codeberg Mastodon often, I would have liked to see some notice about this. I think that this is something that should be included in the main changelog, as I believe it affects all users of Codeberg OAuth.
In any case, thank you for the great codeforge and I appreciate the new features being worked on.
### Comment
Hi, thanks for the great codeforge.
Unfortunately, Forgejo v12 breaks all existing OAuth clients due to a breaking change in the issuer string:
> PR: remove the trailing slash from the issuer in OAuth claims. If the Forgejo instance is used as an OAuth2 provider, all OIDC clients must ensure they read the updated configuration. For instance, if the OAuth2 client is a Forgejo instance, the already configured authentication source must be updated from the /admin/auths web page. Nothing needs to be modified, it is enough to click on the Update authentication source button.
https://codeberg.org/forgejo/forgejo/milestone/12836
This change is not documented in the Forgejo v12 blog or Codeberg social media.
I am a bit frustrated, as I have been locked out of my Kubernetes cluster while I was on vacation due to multiple of my OIDC clients breaking. Example of kube-login OIDC being broken:
```
error: get-token: authentication error: oidc error: oidc discovery error: oidc: issuer did not match the issuer returned by provider, expected "https://codeberg.org/" got "https://codeberg.org"
```
While I do not check the Codeberg Mastodon often, I would have liked to see some notice about this. I think that this is something that should be included in the main changelog, as I believe it affects all users of Codeberg OAuth.
In any case, thank you for the great codeforge and I appreciate the new features being worked on.