Changing the action of a form with JavaScript/jQuery

jQuery (1.4.2) gets confused if you have any form elements named “action”. You can get around this by using the DOM attribute methods or simply avoid having form elements named “action”. <form action=”foo”> <button name=”action” value=”bar”>Go</button> </form> <script type=”text/javascript”> $(‘form’).attr(‘action’, ‘baz’); //this fails silently $(‘form’).get(0).setAttribute(‘action’, ‘baz’); //this works </script>

Does OpenID Connect support the Resource Owner Password Credentials grant?

Yes, OpenID Connect supports all OAuth 2.0 grant types including Resource Owner Password Credentials Grant and Client Credentials Grant. As we know, Authorization Code Grant and Implicit Grant are typical 3-legged flows including interaction between a client, an authorization server and a user. While the Resource Owner Password Credential Grant and Client Credential Grant are … Read more

Steam API Authentication

There is a need for OpenID. That’s the method that Valve uses according to their documentation. You don’t mention what your application is written in, so I can only guess that you are doing this via a web page. In that case, I recommend using the LightOpenID library. From there, this sample code should be … Read more

What’s the difference between OpenID and OAuth?

OpenID is about authentication (ie. proving who you are), OAuth is about authorisation (ie. to grant access to functionality/data/etc.. without having to deal with the original authentication). OAuth could be used in external partner sites to allow access to protected data without them having to re-authenticate a user. The blog post “OpenID versus OAuth from … Read more