Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Simple OAuth Sample application using html and Javascript
HTML JavaScript
Latest commit c0287c1 @covolution covolution Merge pull request #9 from melahn/master
Update image URL to avoid a 404

This is a Sample Alfresco OAuth Application demonstrating the server-side web application flow

Getting started

Follow these instructions:

  • Ensure you have an up to date Java VM installed and port 8181 is not in use
  • Edit src/main/webapp/config.js and put in the client_id, client_secret and callback urls you used when you registered at The Alfresco Developer Portal (For this app, the redirect_uri should be http://localhost:8181/oauthsample/mycallback.html)
  • type: gradlew jettyRun
  • In a web browser go to http://localhost:8181/oauthsample

Note: You don't need to install any other software (only a Java VM and web browser is required).


Copyright (C) 2012 Alfresco Software Limited

This file is part of an unsupported extension to Alfresco.

Alfresco Software Limited licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Something went wrong with that request. Please try again.