Access token vending server for OAuth2
- carton install
- Edit `config/production.pl`
- Start server
$ carton install
+{ app_name => '__YOUR_APP_NAME__', description => '__YOUR_APP_DESCRIPTION__', client_id => '__YOUR_APP_CLIENT_ID__', client_secret => '__YOUR_APP_CLIENT_SECRET__', authorize_uri => 'http://example.com/authorize', access_token_uri => 'http://example.com/access_token', redirect_uri => 'http://URL_TO_THIS_SERVER.com/token', # <= Perhaps, it should be blank (e.g. on GitHub OAuth) scope => [qw/read write/], };
$ carton exec -- plackup -E production script/oauth2tokenvendingserver-server
Copyright (C) moznion.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.