Flask Framework Cookbook by Shalabh Aggarwal
Author:Shalabh Aggarwal
Language: eng
Format: epub
Tags: COM060160 - COMPUTERS / Web / Web Programming, COM051360 - COMPUTERS / Programming Languages / Python, COM060180 - COMPUTERS / Web / Web Services and APIs
Publisher: Packt Publishing
Published: 2019-07-12T13:29:51+00:00
<a href="{{ url_for('auth.google_login', next=url_for('auth.home')) }}">Login via Google</a>
How it works...
The Google login works in a manner similar to the Facebook login from the previous recipe.
Using Twitter for authentication
OAuth was actually born while writing the OpenID API for Twitter. In this recipe, we will integrate Twitter login with our application.
Getting ready
We will continue by building over the Using Google for authentication recipe. It is easy to implement Twitter authentication – simply leave out the Facebook or Google-specific parts from the previous authentication recipes.
First, we have to create an application from the Twitter Application Management page (https://developer.twitter.com/en/apps). It will automatically create Consumer API keys (API key and API secret key) for us to use, as shown in the following screenshot:
Download
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Content Management | Programming |
User Experience & Usability | User Generated Content |
Web Design | Web Marketing |
Web Services | Website Analytics |
Hello! Python by Anthony Briggs(9379)
The Mikado Method by Ola Ellnestam Daniel Brolund(9314)
Dependency Injection in .NET by Mark Seemann(8863)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7407)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7122)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6252)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(5962)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5515)
Kotlin in Action by Dmitry Jemerov(4647)
Audition by Ryu Murakami(4100)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(3893)
Functional Programming in JavaScript by Mantyla Dan(3723)
Svelte with Test-Driven Development by Daniel Irvine(2931)
Learning React: Functional Web Development with React and Redux by Banks Alex & Porcello Eve(2839)
WordPress Plugin Development Cookbook by Yannick Lefebvre(2606)
Architecting Modern Java EE Applications: Designing lightweight, business-oriented enterprise applications in the age of cloud, containers, and Java EE 8 by Daschner Sebastian(2560)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(2546)
Test-Driven Development with PHP 8 by Rainier Sarabia(2533)
React Native - Building Mobile Apps with JavaScript by Novick Vladimir(2340)