feign-oauth2-spring-cloud-starter

Spring Cloud Netflix Feign OAuth2 Starter

License

License

Categories

Categories

H2 Data Databases OAuth2 Security Feign Net HTTP Clients
GroupId

GroupId

io.jmnarloch
ArtifactId

ArtifactId

feign-oauth2-spring-cloud-starter
Last Version

Last Version

1.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

feign-oauth2-spring-cloud-starter
Spring Cloud Netflix Feign OAuth2 Starter
Project URL

Project URL

https://github.com/jmnarloch/feign-oauth2-spring-cloud-starter
Source Code Management

Source Code Management

https://github.com/jmnarloch/feign-oauth2-spring-cloud-starter.git

Download feign-oauth2-spring-cloud-starter

How to add to project

<!-- https://jarcasting.com/artifacts/io.jmnarloch/feign-oauth2-spring-cloud-starter/ -->
<dependency>
    <groupId>io.jmnarloch</groupId>
    <artifactId>feign-oauth2-spring-cloud-starter</artifactId>
    <version>1.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/io.jmnarloch/feign-oauth2-spring-cloud-starter/
implementation 'io.jmnarloch:feign-oauth2-spring-cloud-starter:1.0.0'
// https://jarcasting.com/artifacts/io.jmnarloch/feign-oauth2-spring-cloud-starter/
implementation ("io.jmnarloch:feign-oauth2-spring-cloud-starter:1.0.0")
'io.jmnarloch:feign-oauth2-spring-cloud-starter:jar:1.0.0'
<dependency org="io.jmnarloch" name="feign-oauth2-spring-cloud-starter" rev="1.0.0">
  <artifact name="feign-oauth2-spring-cloud-starter" type="jar" />
</dependency>
@Grapes(
@Grab(group='io.jmnarloch', module='feign-oauth2-spring-cloud-starter', version='1.0.0')
)
libraryDependencies += "io.jmnarloch" % "feign-oauth2-spring-cloud-starter" % "1.0.0"
[io.jmnarloch/feign-oauth2-spring-cloud-starter "1.0.0"]

Dependencies

compile (3)

Group / Artifact Type Version
org.springframework.boot : spring-boot-configuration-processor Optional jar 1.2.5.RELEASE
org.springframework.cloud : spring-cloud-starter-feign jar 1.0.3.RELEASE
org.springframework.security.oauth : spring-security-oauth2 jar 2.0.7.RELEASE

test (6)

Group / Artifact Type Version
org.mockito : mockito-all jar 1.10.19
org.springframework.boot : spring-boot-starter-web jar 1.2.5.RELEASE
junit : junit jar 4.12
org.springframework.boot : spring-boot-starter-test jar 1.2.5.RELEASE
com.netflix.feign : feign-core jar 8.7.1
org.springframework.cloud : spring-cloud-starter-ribbon jar 1.0.3.RELEASE

Project Modules

There are no modules declared in this project.

Spring Cloud Netflix Feign OAuth2

A Spring Cloud Feign extension that propagates OAuth2 authorization tokes.

Build Status Coverage Status

Features

Configures Feign to propagate the OAuth2 authorization token.

Setup

Add the Spring Cloud starter to your project:

<dependency>
  <groupId>io.jmnarloch</groupId>
  <artifactId>feign-oauth2-spring-cloud-starter</artifactId>
  <version>1.0.0</version>
</dependency>

Properties

The only supported property is feign.oauth2.enabled which allows to disable this extension.

feign.oauth2.enabled=true 

License

Apache 2.0

Versions

Version
1.0.0