Skip to content
This repository has been archived by the owner on Feb 11, 2023. It is now read-only.

Nemiro.OAuth.LoginForms v1.7

Latest
Compare
Choose a tag to compare
@alekseynemiro alekseynemiro released this 24 Aug 21:26

August 25, 2017

In this release, the authentication logic has changed.

Now the access token requests are executed, not the authorization code.

For most forms, the returnUrl parameter in the constructor is now required.

You may need to obtain new keys to perform authentication.

For example, for Google, you need to create a key for web applications, instead of standalone.

The old behavior can be returned by specifying a responseType in the designer with the value ResponseType.Code:

var login = new GoogleLogin
(
  clientId     : "934704666049-129jsvmelksmcmf250ir90aqn8pk4nak.apps.googleusercontent.com", 
  clientSecret : "OS7HZ1cfJnhdIFZ6fUsgamH-",
  returnUrl    : null, 
  scope        : "https://www.googleapis.com/auth/drive", 
  loadUserInfo : true, 
  responseType : ResponseType.Code
);