polyvariant / sttp-oauth2

OAuth2 client library implemented in Scala using sttp
https://sttp-oauth2.polyvariant.org
Apache License 2.0
74 stars 22 forks source link
cats-effect oauth2 scala sttp

sttp-oauth2 - OAuth2 client library for Scala

This library aims to provide easy integration with OAuth2 providers based on OAuth2 RFC using sttp client. It uses circe for JSON serialization/deserialization.

Currently it supports methods (grant types) for obtaining authorization:

Quick start

To use this library add the following dependency to your build.sbt

Versions 0.19.0 and newer

"org.polyvariant" %% "sttp-oauth2" % "x.y.z"

Versions up to 0.18.0

"com.ocadotechnology" %% "sttp-oauth2" % "x.y.z"

The latest release is: release-badge

Documentation

Visit the documentation at https://sttp-oauth2.polyvariant.org for usage instructions.

Contributing

Feel free to submit feature requests and bug reports under Issues.

License

sttp-oauth2 is licensed under the Apache License, Version 2.0 (the "License"); you may not use this software except in compliance with the License.

Honorable mentions

sttp-oauth2 was initially created by Ocado Technology