How can I see what external service I used to log in?

If you sign in with a third-party identity which wasn’t previously used and doesn’t match an existing URI it will offer to create an account, but not do so until you click through.

If you use a third-party account which has a matching URI (typically email address) this will sign you into the same account. That’s how SSO works, when you first enable SSO any identity which matches a local identity is automatically matched. It depends entirely on the data provided by the source of SSO.