{"repo":"leaonline/oauth2-server","free":true,"listed":false,"github":"https://github.com/leaonline/oauth2-server","clone":"git clone https://github.com/leaonline/oauth2-server.git","description":"OAuth 2 Server package for Meteor to create your own OAuth 2 authorization server. Zero config. Uses continuous updated @node-oauth/oauth2-server library","language":"JavaScript","stars":22,"topics":["meteor","meteorjs","oauth2","nodejs","hacktoberfest","authorization-code-grant","authorization-server"],"license":"MIT","category":"auth-billing-email","readme_excerpt":"Meteor OAuth2 Server This package is a implementation of the package @node-oauth/oauth2-server for Meteor. It can run without express (we use Meteor's builtin WebApp ) and implements the authorization code workflow and works like the Facebook's OAuth popup. Changelog View the full changelog in the history page. Install This package is a full scale drop-in, so you just need to add it via Implementation The package comes with a default config, so you can start immediately. However, we made it all configurable for you. You can change various flags, routes and expiration times and collection names. The following sections will show you how to setup the server with a full configuration. Server implementation The following example uses the full configuration. The used values represent the current default values. server/oauth2server.js Additional validation Often, you want to restrict who of your users can access which client / service. In order to decide to give permission or not, you can register a handler that receives the authenticated user and the client she aims to access: Client/Popup implementation You should install a router to handle client side routing independently from the WebApp routes. You can for example use: and then define a client route for your popup dialog (we use Blaze in this example but it will work with any of your preferred and loved frontends): client/main.html client/main.js client/authorize.js client/authorize.html client/style.css API and Documentation W","default_branch":null,"files":null,"tree":[],"storefront":"/r/leaonline","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/leaonline/oauth2-server/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}