Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Authorization credentials are not compiled into web-build #25

Open
alexgit2k opened this issue Aug 30, 2024 · 0 comments
Open

Authorization credentials are not compiled into web-build #25

alexgit2k opened this issue Aug 30, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@alexgit2k
Copy link

Describe the bug
"Agora Customer ID" and "Agora Customer Certificate" are not included within the build and therefore fail to authorize.

To Reproduce
Steps to reproduce the behavior:

  • Go to 'https://appbuilder.agora.io/'
  • Create new project
  • Click on App Features -> Configurations
  • Enter authorization credentials in "Agora Customer ID" and "Agora Customer Certificate"
  • Click 'Save'
  • Click 'Download Source Code'
  • Extract
  • cd agora-app-builder
  • npm i
  • npm start
  • Choose 'Install'
  • Choose 'Build'
  • Choose plattform 'Web'
  • Choose type 'Production build'
  • Deploy to a webserver and call via browser
  • See error in console:
POST https://managedservices-prod.rteappbuilder.com/v1/query
{"error":{"message":"Invalid authorization credentials. Check the Authorization header.","code":602}}

Expected behavior
Successfull authorization.

Additional context
The fields CUSTOMER_ID and CUSTOMER_CERTIFICATE in config.json seem to be the authorization-fields, but are always empty no matter what is entered in the App-builder.

Manually population in config.json also did not make any difference.

Environment (please complete the following information):

  • Deployment Method Manual
  • Go Version None
  • Node Version 20.17.0
@alexgit2k alexgit2k added the bug Something isn't working label Aug 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants