polyvariant / sttp-oauth2   0.19.2

Apache License 2.0 Website GitHub

OAuth2 client library implemented in Scala using sttp

Scala versions: 3.x 2.13 2.12
Scala.js versions: 1.x

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