Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

angular-oauth2-oidc

Package Overview
Dependencies
Maintainers
1
Versions
95
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

angular-oauth2-oidc - npm Package Compare versions

Comparing version 2.0.0 to 2.0.1

2

package.json
{
"name": "angular-oauth2-oidc",
"version": "2.0.0",
"version": "2.0.1",
"repository": {

@@ -5,0 +5,0 @@ "type": "git",

@@ -7,3 +7,6 @@ # angular-oauth2-oidc

- generator-angular2-library: https://github.com/jvandemo/generator-angular2-library
- [generator-angular2-library](https://github.com/jvandemo/generator-angular2-library) for scaffolding a angular library
- [jsrasign](https://kjur.github.io/jsrsasign/) for validating token signature and for hashing
- [Identity Server](https://github.com/identityserver) (used for Testing with an .NET/.NET Core Backend)
- [Keycloak (Redhad)](http://www.keycloak.org/) for Testing with Java

@@ -242,19 +245,2 @@ ## Resources

### Validate id_token (legacy, deprecated)
In cases where security relies on the id_token (e. g. in hybrid apps that use it to provide access to local resources)
you could use the callback ``validationHandler`` to define the logic to validate the token's signature.
The following sample uses the validation-endpoint of [IdentityServer3](https://github.com/IdentityServer/IdentityServer3) for this:
```
this.oauthService.tryLogin({
validationHandler: context => {
var search = new URLSearchParams();
search.set('token', context.idToken);
search.set('client_id', oauthService.clientId);
return http.get(validationUrl, { search }).toPromise();
}
});
```
### Calling a Web API with OAuth-Token

@@ -261,0 +247,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc