https://github.com/ryanburnette/remove-google-oidc-query-params
https://github.com/ryanburnette/remove-google-oidc-query-params
Last synced: 21 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/ryanburnette/remove-google-oidc-query-params
- Owner: ryanburnette
- License: isc
- Created: 2022-02-24T20:19:02.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-26T19:33:27.000Z (over 3 years ago)
- Last Synced: 2025-03-14T04:12:06.778Z (4 months ago)
- Language: JavaScript
- Size: 44.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [remove-google-oidc-query-params][1]
This browser JavaScript library exports a function that removes Google OIDC
query params left over from the process of acquiring a token.Warning: This project is specific to my use cases and is not well-developed.
## Installation
```bash
npm install @ryanburnette/remove-google-oidc-query-params
```## Usage
Usage with webpack.
```js
import removeGoogleOidcQueryParams from '@ryanburnette/remove-google-oidc-query-params';
removeGoogleOidcQueryParams();
```Usage with script tag. This requires that you serve the compiled js file from
the dist directory.```html
removeGoogleOidcQueryParams();
```
[1]: https://github.com/ryanburnette/remove-google-oidc-query-params