forked from googleworkspace/apps-script-oauth2
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from googleworkspace:master #2
Open
pull
wants to merge
50
commits into
adamlaska:master
Choose a base branch
from
googleworkspace:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Add PKCE support * Fix typo
Add StackOverflow sample
Use the `setParam` method of the OAuth2 library to add parameters. Cleaner code!
…nction for readability
* fix refresh token expiry lost during refresh * add failing test * revert previous changes to go with a different approach * stab at expires at variables * fix test and typo * fix typo * clean up code for easier review, minimize changes, follow previus patterns * add missing var * fix canRefresh logic * add setExpiresAt tests * remove extra comment * add tests and fix typo in logic Co-authored-by: Steve Bazyl <[email protected]>
…vulnerability Update dependency copy-props to 2.0.5 [SECURITY]
* chore: Created local '.github/workflows/lint.yml' from remote 'sync-files/defaults/.github/workflows/lint.yml' * chore: Created local '.github/workflows/test.yml' from remote 'sync-files/defaults/.github/workflows/test.yml' * chore: Created local '.github/CODEOWNERS' from remote 'sync-files/defaults/.github/CODEOWNERS' * chore: Created local '.github/sync-repo-settings.yaml' from remote 'sync-files/defaults/.github/sync-repo-settings.yaml' * chore: Created local '.github/workflows/automation.yml' from remote 'sync-files/defaults/.github/workflows/automation.yml' * chore: Created local 'SECURITY.md' from remote 'SECURITY.md'
…ync-files/defaults/.github/workflows/automation.yml' (#383)
…ync-files/defaults/.github/workflows/automation.yml' (#385)
…379) Previously, the getService method was public in most of the samples, letting any user of any sample application execute the method using google.script.run to exfiltrate the OAuth Client ID and Secret from the server. Now, these methods are made private by appending an _ to their names, preventing this issue.
* chore: Synced local '.github/sync-repo-settings.yaml' with remote 'sync-files/defaults/.github/sync-repo-settings.yaml' * chore: Synced local '.github/workflows/automation.yml' with remote 'sync-files/defaults/.github/workflows/automation.yml'
* Add sample for Onshape * Make getService private
…and breaks on current node versions (#390)
Release-As: 1.42.0
…and breaks on current node versions (#390)
Release-As: 1.42.0
…lts/.github/linters/' (#396)
* chore: Synced local '.github/workflows/automation.yml' with remote 'sync-files/defaults/.github/workflows/automation.yml' * chore: Synced local 'SECURITY.md' with remote 'SECURITY.md' * chore: Synced local '.github/linters/' with remote 'sync-files/defaults/.github/linters/'
While useful, disabling to allow detecting no-op doc changes in workflows.
Fixes `Module not found: Error: Can't resolve 'OAuth2' in '/Users/.../src' [...] Field 'browser' doesn't contain a valid alias configuration` when trying to import this package as an ES module.
This is referenced in some OAuth documentation including: * https://developer.cisco.com/docs/firepower-device-manager/#!authenticating-your-rest-api-client-using-oauth/requesting-a-custom-access-token * https://www.ibm.com/docs/en/api-connect/2018.x?topic=settings-configuring-timeouts-access-tokens-refresh-tokens
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
See Commits and Changes for more details.
Created by pull[bot]
Can you help keep this open source service alive? 💖 Please sponsor : )