1.0.0 • Published 3 years ago

@ryanburnette/remove-google-oidc-query-params v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

remove-google-oidc-query-params

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

npm install @ryanburnette/remove-google-oidc-query-params

Usage

Usage with webpack.

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.

<script src="remove-google-oidc-query-params.js"></script>
<script type="text/javascript">
  removeGoogleOidcQueryParams();
</script>