@muze-nl/metro-oidc 0.5.3 → 0.5.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -42,8 +42,11 @@ The metro oidc middleware doesn't use the id_token, or verify any of its content
42
42
  ```javascript
43
43
  import oidc from '@muze-nl/metro-oidc'
44
44
 
45
- let id_token = oidc.idToken()
45
+ let id_token = oidc.idToken({issuer:"oidc issuer url"})
46
46
  ```
47
47
 
48
+ `idToken()` expects either the store or the issuer option that you passed on to the `oidcmw()` function.
49
+
50
+
48
51
  [project-stage-badge: Experimental]: https://img.shields.io/badge/Project%20Stage-Experimental-yellow.svg
49
52
  [project-stage-page]: https://blog.pother.ca/project-stages/