File tree Expand file tree Collapse file tree 1 file changed +22
-9
lines changed Expand file tree Collapse file tree 1 file changed +22
-9
lines changed Original file line number Diff line number Diff line change 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 )
4
5
5
6
Add a Google OAuth2 provider to the [ Spring Security OAuth2 Plugin] ( https://github.com/grails-plugins/grails-spring-security-oauth2 ) .
6
7
7
- Installation
8
- ------------
8
+ ## Installation
9
+
9
10
Add the following dependencies in ` build.gradle `
10
11
```
11
12
dependencies {
@@ -16,8 +17,8 @@ dependencies {
16
17
}
17
18
```
18
19
19
- Usage
20
- -----
20
+ ## Usage
21
+
21
22
Add this to your application.yml
22
23
```
23
24
grails:
@@ -43,6 +44,18 @@ Logged with google?
43
44
<oauth2 : ifLoggedInWith provider =" google" >yes</oauth2 : ifLoggedInWith >
44
45
<oauth2 : ifNotLoggedInWith provider =" google" >no</oauth2 : ifNotLoggedInWith >
45
46
```
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
+
48
61
Apache 2
You can’t perform that action at this time.
0 commit comments