Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/premium-minds/oidc-token-manager-java

this library handles the server 2 server tokens from an OIDC provider
https://github.com/premium-minds/oidc-token-manager-java

hacktoberfest java oidc

Last synced: about 2 months ago
JSON representation

this library handles the server 2 server tokens from an OIDC provider

Awesome Lists containing this project

README

        

# OIDC Client Token Manager for Java

This library handles the server 2 server tokens from and OIDC provider.

## Maven project
![Maven Central](https://img.shields.io/maven-central/v/com.premiumminds.oidc/oidc-token-manager)

Add the following maven dependency to your project `pom.xml`:

```xml

com.premiumminds.oidc
oidc-token-manager
1.2

```
Check out [sonatype repository](https://oss.sonatype.org/index.html#nexus-search;quick~oidc-token-manager) for latest snapshots and releases.

## Example usage

Include the [Nimbus OAuth 2.0 SDK with OpenID Connect extensions](https://search.maven.org/search?q=a:oauth2-oidc-sdk) to your maven project.

TokenManager tokenManager =
new NimbusOIDCTokenManagerBuilder(new URI("http://provider/token"), "client_id")
.clientSecret("client_secret").build();
BearerAccessToken token = tokenManager.getAccessToken();

## Continuous Integration

[![Java CI with Maven](https://github.com/premium-minds/oidc-token-manager-java/actions/workflows/maven.yml/badge.svg)](https://github.com/premium-minds/oidc-token-manager-java/actions/workflows/maven.yml)

## Licence

Copyright (C) 2020 [Premium Minds](https://www.premium-minds.com/)

Licensed under the [GNU Lesser General Public Licence](https://www.gnu.org/licenses/lgpl.html)