Spring Security OAuth2 for Canvas

This small project provides some supporting classes for using Spring Security OAuth2 with Canvas.

License

License

Categories

Categories

H2 Data Databases OAuth2 Security
GroupId

GroupId

uk.ac.ox.ctl
ArtifactId

ArtifactId

canvas-spring-oauth2
Last Version

Last Version

0.3
Release Date

Release Date

Type

Type

jar
Description

Description

Spring Security OAuth2 for Canvas
This small project provides some supporting classes for using Spring Security OAuth2 with Canvas.
Project URL

Project URL

https://github.com/oxctl/canvas-spring-oauth2
Project Organization

Project Organization

Centre for Teaching and Learning, University of Oxford
Source Code Management

Source Code Management

https://github.com/oxctl/canvas-spring-oauth2

Download canvas-spring-oauth2

How to add to project

<!-- https://jarcasting.com/artifacts/uk.ac.ox.ctl/canvas-spring-oauth2/ -->
<dependency>
    <groupId>uk.ac.ox.ctl</groupId>
    <artifactId>canvas-spring-oauth2</artifactId>
    <version>0.3</version>
</dependency>
// https://jarcasting.com/artifacts/uk.ac.ox.ctl/canvas-spring-oauth2/
implementation 'uk.ac.ox.ctl:canvas-spring-oauth2:0.3'
// https://jarcasting.com/artifacts/uk.ac.ox.ctl/canvas-spring-oauth2/
implementation ("uk.ac.ox.ctl:canvas-spring-oauth2:0.3")
'uk.ac.ox.ctl:canvas-spring-oauth2:jar:0.3'
<dependency org="uk.ac.ox.ctl" name="canvas-spring-oauth2" rev="0.3">
  <artifact name="canvas-spring-oauth2" type="jar" />
</dependency>
@Grapes(
@Grab(group='uk.ac.ox.ctl', module='canvas-spring-oauth2', version='0.3')
)
libraryDependencies += "uk.ac.ox.ctl" % "canvas-spring-oauth2" % "0.3"
[uk.ac.ox.ctl/canvas-spring-oauth2 "0.3"]

Dependencies

compile (3)

Group / Artifact Type Version
org.springframework.security : spring-security-oauth2-client jar 5.2.1.RELEASE
org.springframework : spring-web jar 5.2.1.RELEASE
com.google.code.findbugs : annotations jar 3.0.1

provided (1)

Group / Artifact Type Version
javax.servlet : javax.servlet-api jar 3.0.1

Project Modules

There are no modules declared in this project.

Canvas Spring Security OAuth2

Build Status

This project contains a few supporting files for building Spring Security OAuth2 client that work well with the Canvas LMS by Instructure. There is documentation of their OAuth2 setup which may be helpful in understanding this library.

Using

This project is release to the central maven repository and can be added as a maven dependency to another project:

        <dependency>
            <groupId>uk.ac.ox.ctl</groupId>
            <artifactId>canvas-spring-oauth2</artifactId>
            <version>0.2</version>
        </dependency>

Building

To build this library use Apache Maven:

mvn install

This will build a JAR that can be used as a dependency in another project.

Releasing

This project is deployed to the central repository, once ready to release you can have the release plugin tag everything:

mvn -Prelease release:clean release:prepare

then if that completes successfully a release bundle can be pushed to the staging area of the Sonatype OSS repository with:

mvn -Prelease release:perform

We don't automatically close the staged artifacts so after checking that the files are ok you can login to the repository and release it.

License

This project is Apache 2 licensed.

uk.ac.ox.ctl

Centre for Teaching and Learning, University of Oxford

Versions

Version
0.3
0.2