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:
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"
Visit the documentation at https://sttp-oauth2.polyvariant.org for usage instructions.
Feel free to submit feature requests and bug reports under Issues.
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.
sttp-oauth2 was initially created by Ocado Technology