ocadotechnology / sttp-oauth2

OAuth2 client library implemented in Scala using sttp

Version Matrix

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

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

The latest release is: release-badge

Documentation

Visit the documentation at https://ocadotechnology.github.io/sttp-oauth2 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.

Copyright © 2021 Ocado