Skip to content

Commit a4e6fee

Browse files
committed
Updated README with version table and badges
1 parent dcc7239 commit a4e6fee

File tree

1 file changed

+22
-9
lines changed

1 file changed

+22
-9
lines changed

README.md

Lines changed: 22 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
Spring Security OAuth2 Google Plugin
2-
====================================
3-
[ ![Download](https://api.bintray.com/packages/grails/plugins/spring-security-oauth2-google/images/download.svg) ](https://bintray.com/grails/plugins/spring-security-oauth2-google/_latestVersion)
1+
# Spring Security OAuth2 Google Plugin
2+
3+
[![Java CI](https://github.com/grails-plugins/grails-spring-security-oauth2-google/actions/workflows/gradle.yml/badge.svg)](https://github.com/grails-plugins/grails-spring-security-oauth2-google/actions/workflows/gradle.yml)
4+
[![Release](https://github.com/grails-plugins/grails-spring-security-oauth2-google/actions/workflows/release.yml/badge.svg)](https://github.com/grails-plugins/grails-spring-security-oauth2-google/actions/workflows/release.yml)
45

56
Add a Google OAuth2 provider to the [Spring Security OAuth2 Plugin](https://github.com/grails-plugins/grails-spring-security-oauth2).
67

7-
Installation
8-
------------
8+
## Installation
9+
910
Add the following dependencies in `build.gradle`
1011
```
1112
dependencies {
@@ -16,8 +17,8 @@ dependencies {
1617
}
1718
```
1819

19-
Usage
20-
-----
20+
## Usage
21+
2122
Add this to your application.yml
2223
```
2324
grails:
@@ -43,6 +44,18 @@ Logged with google?
4344
<oauth2:ifLoggedInWith provider="google">yes</oauth2:ifLoggedInWith>
4445
<oauth2:ifNotLoggedInWith provider="google">no</oauth2:ifNotLoggedInWith>
4546
```
46-
License
47-
-------
47+
48+
## Versions
49+
50+
| Branch | Grails Version |
51+
|--------|----------------|
52+
| 1.x | 3+ |
53+
| 2.x | 7.0.0 |
54+
55+
56+
### Note:
57+
No working version for Grails 6.x at the moment (see https://github.com/grails-plugins/grails-spring-security-oauth2-google/issues/4)
58+
59+
## License
60+
4861
Apache 2

0 commit comments

Comments
 (0)