How to authenticate for GraphQL API?

Hello,

just one question:
If I want to use GraphQL, what method do I need to use to authenticate?

Is it OAuth like in the v8 API?
Or anything else?
And what’s the correct endpoint for authenticating?

Thanks,
Chris