• Deutsch
  • English
  • Anmeldung OTOBO Community
+49 (0)9427 68 39 000
OTOBO
  • SOFTWARE
    • Software | Überblick
    • IT Service Management
    • Customer Service Management
    • Enterprise Service Management
    • Demo
    • Download
    • Dokumentation
  • SERVICES
    • Überblick Services
    • Beratung
    • Training
    • Entwicklung
    • OTRS Migration zu OTOBO
    • Support
    • Managed Service
    • Support-Portal
  • UNTERNEHMEN
    • Über uns
    • Karriere
    • Partner
    • Kontakt
    • Newsletter
  • RESSOURCEN
  • COMMUNITY
    • Open Source
    • Community Forum
    • Download
    • Dokumentation
    • OTOBO übersetzen
  • Click to open the search input field Click to open the search input field Suche
  • Menü Menü

Schlagwörter: oauth2 401 Unauthorized perform post

Ansicht von 1 Antwort-Thread
  • Autor
    Beiträge
    • 11. August 2022 um 14:14 Uhr - Views: 690 #13547
      Massimo Bianchi
      Teilnehmer

        Hello,

        I am trying the oauth2 plugin to overcome the MS limitation planned for end of Sepember, but I am struck…

        1. I registered an application in Azure
        2. I setup a redirect URI to the local IP (since it’s not published) : https://172.22.20.226:8443/otobo/index.pl?Action=AdminMailAccount
        3. I assigned the DELEGATED API permissions with ADMIN CONSENT
          1. email
            IMAP.AccessAsUser.All
            offline_access
            POP.AccessAsUser.All
            SMTP.Send
            User.Read
        4. I created the SECRET
        5. I modified the Povider inserting my tenant id

         

        I am still getting errors…

        Wed Aug 10 14:20:12 2022 (Europe/Rome) error OTOBO-CGI-11 Could not request access token
        Wed Aug 10 14:20:12 2022 (Europe/Rome) error OTOBO-CGI-11 Got: ‚401 Unauthorized‘!
        Wed Aug 10 14:20:12 2022 (Europe/Rome) error OTOBO-CGI-11 Can’t perform POST on https://login.microsoftonline.com/4d0aca28-2980-409e-8efa-7351d66d1be2/oauth2/v2.0/token: 401 Unauthorized

        Any idea on how to debug this problems ?

         

        Thanks,

        Massimo

         

         

         

         

         

      • 11. August 2022 um 14:28 Uhr #13548
        Massimo Bianchi
        Teilnehmer

          As in the best tales, I discovered the error just after posting the thread.

          For others: when you create the application:

          1. must be a „WEB“ application type
          2.  you must select ONLY „ID TOKEN“, and NOT „ACCESS TOKEN“, and NOT BOTH

           

           

      • Autor
        Beiträge
      Ansicht von 1 Antwort-Thread
      • Das Thema „ Question: how to debug „Got: ‚401 Unauthorized‘!““ ist für neue Antworten geschlossen.

      Foren durchsuchen

      Anmeldung

      Anmeldung

      Konto erstellen
      Passwort vergessen?

      Login via Social

      Profil

      Bitte vervollständigen Sie nach der Registrierung Ihr Profil, das vereinfacht die spätere Kommunikation enorm. Ihre Profileinstellung finden Sie, wenn Sie auf Ihr Avatarbild klicken.

      Sie können Ihren Avatar ändern, indem Sie sich mit Ihrer E-Mail-Adresse unter gravatar.com registrieren.

      Letzte Aktivitäten

      • Queues ändern per Script oder Massenänderung
      • Mandantenfähigkeit
      • Dynamische Felder in AgentTicketNote mit ACL verstecken
      • FAQ: kaputtes Copy & Paste von Bildern zwischen Artikeln
      • Benachrichtigung „Ticket wurde mir entzogen“ möglich?

      Unternehmen

      Über uns
      Karriere
      Stellenbörse
      Partner werden
      Kontakt
      Newsletter

      OTOBO | Simplify work and create exceptional service experiences.

      Die Source Code Owner und Maintainer hinter OTOBO.

      Software

      Service Management-Plattform
      OTOBO Demo
      OTOBO Download
      OTOBO Dokumentation

      Security-Problem melden:
      security@otobo.org

      Services

      Support-Portal
      Beratung
      Training
      Support
      Managed Services
      Erweiterung
      OTRS Migration
      Partner finden

      Community

      Open Source
      Community Forum
      Mitmachen
      OTOBO Developer
      OTOBO@GitHub

      © 2026 Rother OSS GmbH | All rights reserved.
      • Cookie-Einstellungen
      • Impressum
      • Datenschutz
      • Haftungsausschluss
      Nach oben scrollen Nach oben scrollen Nach oben scrollen