Skip to content

Latest commit

 

History

History
13 lines (7 loc) · 608 Bytes

README.md

File metadata and controls

13 lines (7 loc) · 608 Bytes

externalAuthSample

Custom authentication for google and facebook

To use this project you must have created facebook app and google app. The following links are usefull for those who have no idea on how to create one for facebook and google.

https://developers.google.com/identity/sign-in/web/devconsole-project

https://developers.google.com/identity/protocols/OAuth2UserAgent

https://developers.facebook.com/docs/facebook-login/access-tokens

To run this code the redirect url in your facebook or google app should look like this "http://[email protected]/Home/CustomOauthCallback" which can also be https.