Code Monkey home page Code Monkey logo

oauth-2.0's People

Contributors

davidrecordon avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

oauth-2.0's Issues

Write a RSA profile

OpenSocial uses OAuth today to support server to server authentication via RSA public/private key pairs. I think that we could develop an authorization profile where a RSA key is used to retrieve an access token and then not have to support RSA as one of the signature mechanisms.

Method to specify a transparent iframe request for pure client profile

Currently there isn't a way to differentiate between when a client is expecting to handle UI from the authorization server versus when the user has already authorized the client and it is just requesting a new access token via JavaScript.

Also add more description around authorization server keeping track of when user has already approved the client.

Cleanup oauth_callback language in pure client profile

From Marcel:
About the callback url in the Pure Client Profile, the current spec indicates that the server either redirects to the provided "oauth_callback" or uses the pre-registered one associated with the client application.

It seems necessary to additionally say that if an oauth_callback is provided the server MUST ensure that it has an identical host to the pre-registered callback url. This callback url is, from my vantage point, the only mechanism in the Pure Client Profile that affords even a modicum of security. Malicious attempts to get an access token using the Pure Client Profile are ultimately fruitless if you can't get the access token to be redirected back to you.

Unsophisticated server side code could be duped by a malicious callback that does something similar to SQL injection to trick the server side code into thinking a provided callback url is for the same domain when in fact it isn't, e.g. oauth_callback=http://evil.com?tricking_you=http://trusted.domain.com. Perhaps this too should be mentioned as a precaution to take.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.