HTTPS clone with SSO login possible?

When using HTTPS urls to clone from Gitea, a authentication token is usually used, I am wondering if it would be possible to use the website SSO Login instead using a oauth flow that asks for a pin to activate the login. I am not sure if that is possible with when using the standard git client at all, it would be great if that would be possible without creating a auth token (which would mean the token is created by the oauth flow and maintained in the client)

Yes, It’s possible. You can use GitHub - hickford/git-credential-oauth: A Git credential helper that securely authenticates to GitHub, GitLab and BitBucket using OAuth. which supports Gitea integrations.

Thank you, that works exactly as I need