cancel
Showing results for 
Search instead for 
Did you mean: 

Not able to get authenticate for OAuth Token

optimisticjatin
Champ in-the-making
Champ in-the-making
I have created application on Developer Portal and when I try to access the alfresco using the cloud, I get redirected to a login page for Access/Deny but when I enter my username and password, it says Authentication Failed. But with the same username and password I am able to login directly and move to the dashboard. Please guide, where the problem is:

Below is the code that I am using:
—————————————-

<!DOCTYPE html>
<html>
<head>
<title>Alfresco OAuth Sample Demo</title>
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="Expires" content="-1">
</head>
<body>
<h1>Welcome to the Alfresco OAuth Sample App</h1>
<form action="https://api.alfresco.com/auth/oauth/versions/2/authorize">
client_id: <input name="client_id" value="l7xx3db35ffe61584b0e836f44ea02dbfc0f" size="50px" >
This must match the registered value
<br />
redirect_uri: <input name="redirect_uri" value="http://www.infosys.com" size="70px">
* This must match the registered value
<br />
scope: <input  name="scope" value="public_api" >
<br />
response_type: <input name="response_type" value="code" readonly="readonly" ><br />
<input type="submit"></form>
</html>
3 REPLIES 3

jpotts
World-Class Innovator
World-Class Innovator
The account you created on the Alfresco Developer Portal is not the same thing as an Alfresco Cloud account. Those are two separate sets of credentials. So if you are writing an application that as a registered developer, you'll use your Alfresco Developer Portal to manage your application keys. Then, when you want to access Alfresco in the Cloud, the user running your application will grant access to your application using their Alfresco in the Cloud username and password.

Are you using your Alfresco in the Cloud credentials on the grant page?

Jeff

mikstein
Champ in-the-making
Champ in-the-making
I have the same problem of "Authentication failed"!
I have a developer's account.
But how do I register myself as an Alfresco Cloud account?

Mike
mikstein@cisco.com

jpotts
World-Class Innovator
World-Class Innovator
To sign up for an Alfresco in the cloud account, just go to http://www.alfresco.com/products/cloud/signup.

Jeff