Checkout with "project access token" does not work

I’m using a self-managed gitlab (v15.0) and try to checkout a file by a project access token but i got always redirected to the sso (sso is used to login to the gitlab frontend).
I tried the following command: curl https://project_1_bot:[TOKEN]@[PROJECT_PATH]

I also tried to use a deploy token but got the same result.

Any Idea what could be the problem? Is there a restriction when an sso is configured?

Note: The checkout does work when i use ssh.