Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Info

Login using OAuth2.0 is available since MediaHaven version 18.4. It is the preferred way of authenticating for new integrations.

...

2. Obtaining a token

Client Credentials Grant a.k.a. interactive flow.

Info

If your app offers a UI, you are required to use this flow

...

Note

When logging in multiple times, it must always be done with the same method as the first time otherwise you will get unauthorized when on the next attempt with a different flowmethod. If you wish to switch to a different flow method the user must be deleted first in MediaHaven.

Flow / Method

SAML
External
Authentication

Active Directory
External Authentication

MediaHaven
Internal
Authentication

https://mediahaven.atlassian.net/wiki/spaces/CS/pages/872251552/OAuth2.0#Client-Credentials-Grant-a.k.a.-interactive-flow.

(tick)

(tick)
(if MediaHaven authentication is allowed in the OAuth portal)

(tick)
(if MediaHaven authentication is allowed in the OAuth portal)

https://mediahaven.atlassian.net/wiki/spaces/CS/pages/872251552/OAuth2.0#Resource-Owner-Password-Credentials

(error)

(tick)

(tick)

...