• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

"oauth" permissions Incorrect

Community Beginner ,
May 19, 2024 May 19, 2024

Copy link to clipboard

Copied

We have added authorisation using the addOnSdk.app.oauth.authorize. 

with AUTHORIZATION_URL similar to https://narrato.io/adobe-app/configuration

When trying to use the Narrato Add on after creating a private listing, the pop up fails to load with 
Error: The "authorizationUrl" in the request does not match any entry in "oauth" permissions. To allow authorization, add the hostname of "authorizationUrl" to the "oauth" permissions array in the manifest.

Upon checking the source files and debugging, we see that the manifest object doesn't contain oauth array  and is later passed on to check for the domain name match which is failing. 
Can you look into whats going wrong. Manifest file attached.
Bug Unresolved
TOPICS
Add-ons

Views

51

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 Comment
New Here ,
Jun 06, 2024 Jun 06, 2024

Copy link to clipboard

Copied

LATEST

Hola,

 

I was having this same issue during local development and really couldn't figure out what I was doing wrong. My authorizationUrl's host name was 100% in my permissions.oauth array. I even tried copying the values from the [dropbox example](https://developer.adobe.com/express-add-ons/docs/guides/develop/#authorization-with-oauth-20) with no success

 

Eventually I just guessed that some part of the manifest build/bundle was being cached too aggressively

 

'Empty cache and hard reload' on Chrome managed to fix the problem for me

Votes

Translate

Translate

Report

Report