Heroku-Addon Provisioning - Auth0 - heroku

I'm facing an issue while trying to add the auth0 addon to my Heroku app which I've created in Private Space.enter image description here

Related

Error after changing my Application ID URI to CDN endpoint

I'm trying to deploy my application built on the team toolkit scaffolding for multi-tenant. I created a CDN endpoint and updated my state JSON object to reflect the new front-end endpoint. After provisioning, deploying and making the account setting change to multi-tenant. I uploaded my app to our company tenant and I'm getting the following error in my tab configuration where the user is supposed to be able to log in.
OutOfRangeInputOne of the request inputs is out of range. RequestId:47fca9cc-f01e-004a-7a11-e434e9000000 Time:2022-10-19T23:24:05.3740757Z
Is there any workaround to get a team's toolkit app to be multi-tenant supported? I am trying to get this app validated for the teams store.
You can follow the steps here to enable multi-tenant in Teams Toolkit:
Provision your Tab project.
Open .fx\states\state.{envName}.json and note the value ofdomain under fx-resource-front-hosting.
Create Azure CDN and CDN endpoint and point to frontend storage. Note you need to choose endpoint type as Storage static website when creating your CDN.
Open templates\azure\provision\azureStorageTab.bicep file, and find the following two lines:
output endpoint string = 'https://${siteDomain}'
output domain string = siteDomain
and replace with:
output endpoint string = 'https://sample.azureedge.net'
output domain string = 'sample.azureedge.net'
Open templates/appPackage/aad.manifest.json, find signInAudience and set value as AzureADMultipleOrgs
Open .fx/configs/azure.parameter.${env}.json and find the following line:
"m365TenantId": "{{state.fx-resource-aad-app-for-teams.tenantId}}",
and replace with:
"m365TenantId": "common",
Run Provision and Deploy in your project.

Google Cloud Platform project with the Gmail API: Create token for Desktop Application

Scope: I want to access my Gmail via python and the Gmail API on Raspbery pi /Raspian or Windows 10.
Following the official guide from Google I created a project and enabled the Gmail API, Authorization credentials for a desktop application according to this guide for Desktop app, downloaded it and renamed it to credentials.json when running quickstart.py I get as expected:
>>> # get the Gmail API service
... service = gmail_authenticate()
Please visit this URL to authorize this application: https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=[XXX.apps.googleusercontent.com]&redirect_uri=http%3A%2F%2Flocalhost%3A34551%2F&scope=https%3A%2F%2Fmail.google.com%2F&state=[xxx]&access_type=offline
When opening the URL in the browser:
I follow the link to unsafe:
and get the link to localhost:
http://localhost:34551/?state=[XXX]&code=[XXX]&scope=https://mail.google.com/
Question:
How can I get the app authorized / get the client_secret.json, etc?
Installing xampp solved the issue.
The windows IIS did not work in this case

Heroku verify code in Google Authenticator app is gone

so i've factory reset my Android phone and Google Authenticator app is automatically uninstalled because of that.
The problem is when I'm install Google Authenticator app and login with the same Google account it's all gone including my FB, Heroku, etc for verifying code. I'm glad my FB 2-FA doesn't need Google Auth code.
The point is how to recover my Heroku account if I cannot login to verify my authenticator code? please help :)

Using Cloudinary with Heroku

I'm trying to use Cloudinary to handle the upload of images in my app. I created a Cloudinary account for it and this works perfectly in production.
I've deployed my app to Heroku and can't managed to successfully connect my Heroku app with Cloudinary. My app appears online but the images stored in Cloudinary don't display + the upload function doesn't work as well - i guess it's because the link with cloudinary is broken so the server doesn't know where to get the images or store the files.
I've first manually added the Cloudinary Url in Heroku's config vars and it didn't work. I then installed the Cloudinary add-on on Heroku and, when I install it in Ressources, Heroku redirects me to a newly created cloudinary account (it seems that adding the Cloudinary add-on to heroku creates a brand new Cloudinary account).
My problem is that I want to use my existing Cloudinary account in my Heroku app and I can't figure out how to connect both.
in my code, i'm storing my details in an env file, and on the server-side, I'm using my account details like so:
require("dotenv").config();
cloudinary.config({
cloud_name: process.env.CLOUD_NAME,
api_key: process.env.API_KEY,
api_secret: process.env.API_SECRET
});

Installing Newly Published Oauth2 based Google Marketplace App

On the process of migrating from OpenId based login to Oauth2 based login of Google Marketplace App SSO, we built an Oauth2 based app & we opensourced our gapps oauth2 app
( https://github.com/Aplopio/django_gapps_oauth2_login )
We published our OAuth2 Login based app to users with a specific domain name account or people with the link.
But we faced some issues while installing:
After agreeing to install on the entire domain, the pop-up did not get closed.
The Get Ready to Install, on clicking Continue again opened the same pop-up.
By closing the pop-up, I was redirected to my app, performing the Oauth2 Login authentication.
Has anyone faced this issue? If so how did you resolve it?
Please update if it's a known issue while installing new google marketplace app.

Resources