What authentication type use to interact with APIs?

Hello everyone :slight_smile:

I would like to know, what authentication type use to interact with APIs ?

Of course, an authentication which is secure.

For example : I would like to interact with Groupfolders app (GitHub - nextcloud/groupfolders: πŸ“πŸ‘©β€πŸ‘©β€πŸ‘§β€πŸ‘¦ Admin-configured folders shared by everyone in a group.). But, it is necessary to be admin.
The only solution I found is to use a basic auth.

I don’t know the JWT system. But, I understand is a secure for the authentication.

From my understanding there is only basic auth.

Hmmm… In general, you can use a JWT token to authenticated for an API, for example.

Here are 2 examples to use JWT token (but, in french, sorry) :

  1. https://www.youtube.com/watch?v=S-xBAo47W58
  2. https://www.youtube.com/watch?v=XPXrNI-fux4