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(9624)
The Mikado Method by Ola Ellnestam Daniel Brolund(9528)
Dependency Injection in .NET by Mark Seemann(9069)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7582)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7308)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6375)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6203)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5639)
Svelte with Test-Driven Development by Daniel Irvine(5445)
Test-Driven Development with PHP 8 by Rainier Sarabia(5065)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(5053)
Kotlin in Action by Dmitry Jemerov(4844)
Web Development with Django by Ben Shaw Saurabh Badhwar(4488)
Audition by Ryu Murakami(4333)
React Application Architecture for Production by Alan Alickovic(4209)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4168)
Functional Programming in JavaScript by Mantyla Dan(3874)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(3495)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(3405)