Flutter Health Package (4.3.0) D/FLUTTER HEALTH(21559): Access Denied - flutter

User encounters "D/FLUTTER HEALTH(21559): Access Denied!" error after selecting the mail to connect to "Google Fit"
Package for me it's only working in test mode. when I set the project to production mode, it stops working.
do you have a solution for this?
I set the oauth id. I have given the necessary permissions.
OAuth ID Verf:
OAuth Scope:
Maniesft Permissions:
Flutter Permissions:
I expected it to work in production mode as well as it worked in test mode. But in production mode, after selecting his mail on the "connect to google fit" screen, he gets the Access Denied error.

Related

Azure "MySQL in App" An attempt was made to access a socket in a way forbidden by its access permissions

I activated “MySQL in app” on Azure and clicked the “Manage” link. A phpMyAdmin login page launches.
Login does not accept any username/password combo including what I find in MYSQLCONNECTSTR_localdb.ini.
Is there any other setup required to access the tool, or is there another tool I could use to create a new db on MySQL in App?
I found the problem. If the website has been stopped and restarted you have to first connect to the website URL from a browser.
Once you do that, the instance is running and you can connect to phpMyAdmin.
It will launch without a login screen.

There was an error getting a Chat authorization token. Refresh and try again

I recently created a chatbot via http://dev.botframework.com/bots (the page initially displayed the info that I did not have any bots). The form redirected me to Azure Portal where I chose a new "Web App Bot" option. I also created all required resources (RG and even setup a new tenant with admin rights).
After successful deployment I got the following issues:
Test in Web Chat in bot settings (Azure Portal) shows "There was an error getting a Chat authorization token. Refresh and try again."
Channels in bot settings shows "Unable to find the bot with the specified id."
dev.botframework.com/bots shows there are no bots created
Have anyone had this issue?
I also get same issue and it got resolved, Please refer below url , it may help you as well.
https://github.com/Microsoft/BotFramework-Emulator/issues/1068

WSO2 IS SAML2.0 Deactivates user after single login

I downloaded WSO2 IS, took care of all the prerequisites and started it using "wso2server.bat --run" command.
It's running and I am able to configure it in Management Console as Identity Provider (SAML 2.0). I also added my app as Service Provider (SAML 2.0). SSO seems to be working - I navigate to my app, it redirects to WSO2 IS where I log in using default admin/admin. I am then redirected to assertion service in my app when I am authenticating a user. Everything great so far!
The problem is that when I close the browser (using incognito mode) and try to repeat that process and login to WSO2 IS using the same user (admin/admin) I get error message:
"Login failed! Please recheck the username and password and try again."
I also get similar message in console:
[2018-02-08 15:57:39,258] ERROR {org.wso2.carbon.identity.scim.common.listener.SCIMUserOperationListener} - Trying to login from an inactive account of user: admin
How is that possible? It looks like the second I use given user during SSO process - that account gets deactivated. I can't even login to WSO2 IS Management Console.
I did not change any configuration other than mentioned above.
I would appreciate any help.

Call Microsoft Graph API - App only unauthorized error

I am trying to make request to the Graph API using a service with no UI. I downloaded the following sample code and followed the instructions: https://blog.kloud.com.au/2015/12/14/implementing-application-with-o365-graph-api-in-app-only-mode/
I successfully get an Access Token, but when using it to make a request to get organization information (required Read Directory Data access), I get 403 Unauthorized.
I have registered my app in Azure AD (where I am a co-administrator).
I have specified Microsoft Graph in the 'permissions to other applications' section, and given Read Directory Data access.
Interestingly there is a note below saying 'You are authorized to select only delegated permissions which have personal scope'. Even though I clearly did. Why? I suspect this is the source of my problem.
Likewise I have checked my demo app against these instructions: https://graph.microsoft.io/en-us/docs/authorization/app_only, but it makes no mention of what role in Azure you need to have.
in this SO post's answer, there is mention of still needing to Consent. I haven't found any documentation about this.
You are authorized to select only delegated permissions which have personal scope
This issue is caused that the app is created by none admin and when they visit the portal then will see this message.
To grant the app-only permission to the application, we need to be the administrator of the tenant. It is different with the co-administrator. To user the Client Credential flow, I suggest that you contact the admin of the tenant to create an application for you. And if you were just for testing purpose, you can create a free tenant and register the application yourself.
Update
We need the assign the Global administrator director role as figure below to make the application works for the client credential flow:

Google for Work not connected to Google Developers Console

We have been using Google for Work for years now and have a domain setup thru godaddy. We got it so we would have a descent email server without having to worry about it. I then signed up for the Google Developers Console to expand the options we have available and move our local apache/php business software to the cloud. I correctly setup a project with a lamp instance which also works great.
Problem is I cant add projects thru the
https://console.developers.google.com/project?authuser=0
it returns
Error Developers Console has not been activated for your account.
Your account may be suspended or disabled. If you are a Google Apps
user, ask your domain administrator to enable Apphosting Admin on your
account.
But from here I can add new projects
https://code.google.com/apis/console
If I goto the Google for Work console App Engine apps it says
No services have been installed.
Add services to your domain
I click the link to add the service
and goto the Other Services
Google App Engine Provide existing Google App Engine services to your
users.
Enter App ID:*
What is the App ID? I have already authorized the domain we are using for the services.
If I goto Google for Work Domain admin and try to add the other domain we have it says
We are sorry, but you do not have access to Webmaster tool. Please log
in to your Admin Console to enable Webmaster tool. Learn more
Its also adding the domain name to the Project ID: which causes this error in the SDK console
:\Program Files\Google\Cloud SDK>gcloud compute ssh
example.com:api-project-??????? --zone us-central1-a ERROR:
(gcloud.compute.ssh) Could not fetch instance:
- Invalid value 'example.com:api-project-???????'. Values must match the following regular expression: '[a-z](? z0-9]{0,61}[a-z0-9])?'
Im really confused
Go to admin.google.com, login with our organisation account, go to Apps -> Additional Google Services -> Enable the services you need.