Error when using OAuth

We use OAuth for authenticating out APIs.
We have a Auth Button, which should lead you into the OAuth flow.
But since today whenever we click the button it shows this error:

Here is the error: TypeError: Cannot read properties of undefined (reading 'id')

We tried to roll back all the changes but it doesn't seem to be on our end.

Here's an image:

The error comes from

What is behind the button? Looks like there is some key that isn’t being populated?