1.0.8 • Published 7 years ago

github-securityprovider-connect v1.0.8

Weekly downloads
1
License
MIT
Repository
-
Last release
7 years ago

github-securityprovider-connect

Security provider to integrate Github OAuth2 with your connect application, veritying that a user belongs to an organization

How to use

  • Create a new instance of the class GithubSecurityProvider passing the url where the user must be redirected when the app must authenticate him
  • Call getAuthorizeMiddleware to get connect middleware to apply to requests that require a used logged in
  • Call getAuthenticateMiddleware to get connect middleware to apply to requests that handle the authentication process (the OAuth2 callback)

Requirements

This component required the following environment variables: - GITHUB_CLIENT_ID: The github app client id - GITHUB_CLIENT_SECRET: The github app client secret - GITHUB_CALLBACK_URL: The github app OAuth2 callback url - GITHUB_ORGANIZATION: The github organization used to perform authorization

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago