CLARIN/Python Paste Introduction

From PDP/Grid Wiki
Jump to navigationJump to search

Python Paste is a (web) framework useful for building WSGi applications. Its most visible component is Deploy, containing a configuration file for building a web application out of basic components. This page is an introduction to using Paste with a focus on authentication and authorization, more specific on OAuth2. Not much prior experience with Paste is required.

For another Paste introduction, please see moonshining.

Within Paste, repoze.who can used to manage authentication (api). Different plugins are used to provide HTTP, form-based and other forms of authentication (the external friendlyform plugin can be useful as well; see also some examples).

Hello static

Hello app

Basic authentication