Skip to content

Commit

Permalink
feat: adds OAuth2 client (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
Roman authored Oct 17, 2019
1 parent d4ea589 commit f13694c
Show file tree
Hide file tree
Showing 11 changed files with 561 additions and 22 deletions.
7 changes: 7 additions & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
TEST_APPLICATION_ID=
TEST_CLIENT_ID=
TEST_CLIENT_SECRET=
TEST_SCOPE=
TEST_ACCESS_TOKEN=
TEST_REFRESH_TOKEN=
TEST_OAUTH_REDIRECT_PORT=3000
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,9 @@ module.exports = {
'prettier',
'prettier/@typescript-eslint',
'plugin:prettier/recommended'
]
],
rules: {
'@typescript-eslint/explicit-function-return-type': ['off'],
'@typescript-eslint/camelcase': ['warn', { 'properties': 'always' }]
}
};
7 changes: 7 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ jobs:
npm install
npm run lint
npm test
npm run test:passthrough
npm run build
env:
TEST_ACCESS_TOKEN: ${{ secrets.TEST_ACCESS_TOKEN }}
TEST_APPLICATION_ID: ${{ secrets.TEST_APPLICATION_ID }}
TEST_CLIENT_ID: ${{ secrets.TEST_CLIENT_ID }}
TEST_CLIENT_SECRET: ${{ secrets.TEST_CLIENT_SECRET }}
TEST_REFRESH_TOKEN: ${{ secrets.TEST_REFRESH_TOKEN }}
TEST_SCOPE: ${{ secrets.TEST_SCOPE }}
CI: true
Loading

0 comments on commit f13694c

Please sign in to comment.