Sharing PowerApps to External Users without microsoft account login - powerapps-canvas

I am developing an power apps which I want to be accessed by user without microsoft account login.
Is there any way to access it?
I tried searching on google but didn't find any thing related to that.
If anyone has done this please share details with me.

Related

How to login with Google account through the API [For Testing]

can you guys help me please to find any information about it, I'm sure there are good sources in which I could find all answers.
I have a testing project which requires me to login with a Google account into the web site, but the problem is that I cannot do it manually, like enter all data such as pass and mail itself, there are a lot of things preventing test to log in, different security stuff doesn't allow to use it like that.
I have tried to find some info but there are only "how to implement a google auth 2.0 into your web application", I believe that's not what I need.
I need just to log in into google account using some Testing framework, that's all.

I can't open my Web App Link on Google App Scripts when multiple Gmail accounts logged in

Great day to you!.
I have found an issues when open Web App with multiple Gmail accounts logged in as an image attached.
My Web App link: https://script.google.com/macros/u/3/s/AKfycbzKLT0u7rE-hQbdJss2-1J-hyiWirkwUglfk6S8ColrARApgnFAJgyTStDf7pdxLCwp/exec
After several searches on Google and Stack Overflow,
My current findings are:
Sign out all accounts and sign only one account (Google Web App Multiple Google Accounts Error)
Open New Incognito Tab then sign in one account
(Google Web App Multiple Google Accounts Error)
Create alert pop-ups(https://sites.google.com/site/scriptsexamples/home/announcements/multiple-accounts-issue-with-google-apps-script)
However, I think it's an extremely better if they can open Web App Link while they are logging in multiple Google accounts.
Therefore, my question is
"How do we open Web App by Google App Script while Google accounts logged in?"
Thank you.
This is a well known issue and is filed on Google Issue Tracker
While this issue is being worked on, unfortunately the only feasiable workaround is toUnfortunately is to NOT being signed in with multiple accounts.
I also recommend you to "star" this issue on Issue Tracker to increase the visibility and hopefully accelerate fixing.
I had a similar problem in the company I work for and we found a way to work around it. Maybe it is the same to you, or it could help someone else.
We had to access to our web app with the company account (g-suite accounts), but some of us had multiple accounts logged in. Basically, we needed to open the web app with a specific account, the one of our company domain.
Our solution was to log out all the accounts and then to start to log them in again, beginning with the account that have to access the web app. In this way, that account became the main account and it can finally open the web app, since they belong to the same domain.
This solved the problem for us.

Google Picker API for sharing documents

I have implemented the Picker API for my Web App and there is only one inconvenient.
The App permit a user to open a project and share all kind of documents. One of the methods available to share documents with others is throughout Google Drive, so the User select the documents within its account and the App show the links to download the content shared.
All works fine but the issue is related with permissions. If other users click on any link, it indicates that he needs permission from the owner, so he must wait until access is granted.
Is there any way to avoid this? I mean, the owner share the files knowing it can be downloaded by any other user from the website.
Thanks in advance.

Web App execution/access scope

When I deploy my GAS project as a web app, I choose to execute the application as the user accessing it. The option for 'Who has access to the app' I can choose just myself, or everyone in my domain. This I understand.
However, in our Google Apps environment - the domain I belong to is one of many 'sub-domains' under one 'tld' domain to which I have an admin account. I don't have privileges to go full exploring in the control panel to see the exact organization, but I know that I can share docs to everyone in all domains via my Drive. How can I get my script to operate in a similar manner?
There are a couple of good resources on this topic.
Stackoverflow question which links to this
Google support answer
With Google Drive, "You cannot restrict sharing to the users in a single domain". I haven't found an answer to this, but this was the closest that I could find. It seems that you will just have to test if "Anyone in my domain" actually means "Anyone in my organization." If you can test this and report back, I will update this answer.

How secure is a Web App code and his scriptDb data?

We have a Web App written in Apps Script (using spreadsheets on each user's domain) and using ScriptDb (just to store some specific information from each user's domain.)
This is the scenario in terms of access to each piece:
script project (the code): "private to only me"
published web app: "execute the app as the user accessing the web app" and "anyone has access to the app"
this web app will be registered in Chrome Web Store
And these are my questions in terms of access to the information:
How secure is the code of this web app? (who can access?)
How secure is the data stored on ScriptDb? (who can access?)
What are the chances if any, of somebody hacking into the Script code or the ScriptDb data?
Thanks, Fausto
I try my best to give you what I best know of, anyone please feel free to correct me if I am wrong.
ScriptDB is tie to your account and if in the case where your code is only share to you, it will be only you able to access it and IIRC if the app execute as the user accessing the web app, it will be that user's scriptDB and nothing to do with yours.
So if you ask how secure is your code, I think one of the way to access all your code is when your account got hacked and the person will be able to access all your codes and the data store in ScriptDB. As for somebody hacking into the Script code or ScriptDB data chances, I think is pretty low if you keep your account safe.