Group Abstract Group Abstract

Message Boards Message Boards

0
|
9.6K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

Private Permissions to Cloud Applications

Posted 12 years ago
POSTED BY: Robert Fine
2 Replies

Are you still seeing this problem today? I think that there were some recent issues with the cloud servers. I tried the following, and it worked just fine with my accounts (note that I deleted the apifunction, so it's url won't work):

In[1]:= CloudConnect["chadk@wolfram.com", "xxx"]
Out[1]= "chadk@wolfram.com"

In[2]:= co = 
 CloudDeploy[APIFunction["x" -> "Number", #x + 1 &], 
  Permissions -> {"user@gmail.com" -> "x"}]
Out[2]= CloudObject["https://www.wolframcloud.com/objects/287f4f2e-\
90c3-402d-a732-2f5e9e54f4af"]

In[3]:= URLExecute[co, {"x" -> 3}]
Out[3]= 4

In[4]:= CloudConnect["user@gmail.com", "xxx"]
Out[4]= "user@gmail.com"

In[5]:= URLExecute[co, {"x" -> 3}]
Out[5]= 4
POSTED BY: Chad Knutson
Posted 12 years ago

Thanks for the response.

The behavior that is problematic is when user@gmail.com, who has a free cloud account, is not logged into that account and pastes the generated url into a browser (I have tried Safari, Chrome, and IE).

A Sign-in screen appears and I fill in the required credentials and click "Sign-In": enter image description here

However, the "Hello" page is not returned. Rather I get this error page: enter image description here

Interestingly, I have realized that this action has in fact logged user@gmail.com into his Wolfram Programming Cloud account. So that next time the url is run in the browser "Hello" appears in Programming Cloud desktop.

enter image description here

My preference is to have the user be able to cleanly log into my cloud application without having previously logged into his cloud account.

Is this possible.

POSTED BY: Robert Fine
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard