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 )
45
56Add 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+
910Add the following dependencies in ` build.gradle `
1011```
1112dependencies {
@@ -16,8 +17,8 @@ dependencies {
1617}
1718```
1819
19- Usage
20- -----
20+ ## Usage
21+
2122Add this to your application.yml
2223```
2324grails:
@@ -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+
4861Apache 2
You can’t perform that action at this time.
0 commit comments