Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fusionauth/fusionauth-spring-security
FusionAuth OpenID Connect Library for Spring Security
https://github.com/fusionauth/fusionauth-spring-security
fusionauth oauth2 open-id-connect spring-boot spring-security-oauth2 spring-security-openid
Last synced: 2 months ago
JSON representation
FusionAuth OpenID Connect Library for Spring Security
- Host: GitHub
- URL: https://github.com/fusionauth/fusionauth-spring-security
- Owner: FusionAuth
- License: mit
- Created: 2018-10-17T19:22:14.000Z (about 6 years ago)
- Default Branch: main
- Last Pushed: 2024-07-28T05:57:30.000Z (5 months ago)
- Last Synced: 2024-07-28T06:46:19.250Z (5 months ago)
- Topics: fusionauth, oauth2, open-id-connect, spring-boot, spring-security-oauth2, spring-security-openid
- Language: Java
- Homepage: https://fusionauth.io
- Size: 35.2 KB
- Stars: 4
- Watchers: 13
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
FusionAuth Spring Security
====This library provides an OpenID Connect implementation for FusionAuth and Spring Security.
## Maven
```xmlio.fusionauth
fusionauth-spring-security
1.0.5```
Use our Example to get going and read through this tutorial to understand more about using Spring Security with FusionAuth.
* https://github.com/FusionAuth/fusionauth-spring-security-example
* https://fusionauth.io/blog/2018/10/24/easy-integration-of-fusionauth-and-springIf you encounter an issue with this library please open an Issue on this project, or if you get stuck integrating FusionAuth in your application open an issue here https://github.com/FusionAuth/fusionauth-issues/issues.
## Configuration
Example configuration where the base URL of FusionAuth is `login.piedpiper.com` and the Spring application is running on port `8081`.
```properties
# Copy this file to application.properties and fill in the clientId and clientSecret
server.port=8081
fusionAuth.clientId=
fusionAuth.clientSecret=
fusionAuth.accessTokenUri=https://login.piedpiper.com/oauth2/token
fusionAuth.userAuthorizationUri=https://login.piedpiper.com/oauth2/authorize
fusionAuth.userInfoUri=https://login.piedpiper.com/oauth2/userinfo
fusionAuth.redirectUri=http://localhost:8081/login
```License
----
Some portions of this code were forked/based on the code available here: https://github.com/eugenp/tutorials
which are licensed under MIT. The full license is available under [LICENSE](LICENSE).