Skip to content

Commit

Permalink
Added missing imports
Browse files Browse the repository at this point in the history
  • Loading branch information
StorytellerCZ committed Oct 19, 2022
1 parent ba3529b commit 7f29e3f
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 1 deletion.
4 changes: 4 additions & 0 deletions line-oauth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# Changelog
## 1.2.3 - 2022-10-19
* Added missing imports into the code
* Added settings.json settings setup to README

## 1.2.2 - 2021-06-24
* Made compatible with Meteor 2.3

Expand Down
17 changes: 17 additions & 0 deletions line-oauth/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,23 @@ ServiceConfiguration.configurations.upsert(
)
```
OR via settings json:
```json
{
"packages": {
"service-configuration": {
"line": {
"loginStyle": "popup",
"scope": ["profile", "openid", "email"],
"channelId": "youChannelId",
"secret": "yourSecretCode"
}
}
}
}
```
#### loginStyle
Login style, either `popup` or `redirect`. `popup` is the recommended method.
Expand Down
4 changes: 4 additions & 0 deletions line-oauth/line_client.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
import { ServiceConfiguration } from 'meteor/service-configuration';
import { Random } from 'meteor/random'
import { OAuth } from 'meteor/oauth'

Line = {};
// Request LINE credentials for the user
// @param options {optional}
Expand Down
1 change: 1 addition & 0 deletions line-oauth/line_server.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { Meteor } from 'meteor/meteor';
import { ServiceConfiguration } from 'meteor/service-configuration';
import { OAuth } from 'meteor/oauth'
const jsonwebtoken = Npm.require('jsonwebtoken');
Line = {};

Expand Down
2 changes: 1 addition & 1 deletion line-oauth/package.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Package.describe({
name: 'storyteller:line-oauth',
summary: 'LINE OAuth flow',
version: '1.2.2',
version: '1.2.3',
git: 'https://github.com/StorytellerCZ/meteor-accounts-line'
});

Expand Down

0 comments on commit 7f29e3f

Please sign in to comment.