File tree Expand file tree Collapse file tree 7 files changed +8
-25
lines changed Expand file tree Collapse file tree 7 files changed +8
-25
lines changed Original file line number Diff line number Diff line change 1
1
[bumpversion]
2
- current_version = 0.0.2
2
+ current_version = 0.0.3
3
3
commit = False
4
4
tag = False
5
5
Original file line number Diff line number Diff line change 1
- version := "0.0.2 "
1
+ version := "0.0.3 "
2
2
3
3
.DEFAULT_GOAL := help
4
4
Original file line number Diff line number Diff line change @@ -20,11 +20,11 @@ An oauth2 protected [graphQL playground](https://github.com/graphql/graphql-play
20
20
21
21
### Binary Release
22
22
23
- Please see [ releases] ( https://github.com/autom8ter/oauth-graphql-playground/releases/tag/v0.0.2 ) to download and add the program to your path directly
23
+ Please see [ releases] ( https://github.com/autom8ter/oauth-graphql-playground/releases/tag/v0.0.3 ) to download and add the program to your path directly
24
24
25
25
#### Using Containers
26
26
27
- - Docker: ` docker pull colemanword:oauth-graphql-playground:v0.0.2 `
27
+ - Docker: ` docker pull colemanword:oauth-graphql-playground:v0.0.3 `
28
28
29
29
- [ sample k8s manifest] ( k8s.yaml )
30
30
Original file line number Diff line number Diff line change 1
1
version : ' 3.7'
2
2
services :
3
3
oauth-graphql-playground :
4
- image : colemanword/oauth-graphql-playground:v0.0.2
4
+ image : colemanword/oauth-graphql-playground:v0.0.3
5
5
env_file :
6
6
- ./.env
7
7
ports :
Original file line number Diff line number Diff line change @@ -83,25 +83,8 @@ func (p *Playground) Playground() http.HandlerFunc {
83
83
}
84
84
return
85
85
}
86
- token , err := p .session .GetToken (req )
87
- if err != nil {
88
- p .logger .Error ("playground: failed to get token - redirecting" , zap .Error (err ))
89
- if err := p .session .RedirectLogin (w , req ); err != nil {
90
- p .logger .Error ("playground: failed to redirect" , zap .Error (err ))
91
- }
92
- return
93
- }
94
86
w .Header ().Add ("Content-Type" , "text/html" )
95
- if p .useIDToken {
96
- playground .Execute (w , map [string ]string {
97
- "token" : token .IDToken ,
98
- })
99
- } else {
100
- playground .Execute (w , map [string ]string {
101
- "token" : token .Token .AccessToken ,
102
- })
103
- }
104
-
87
+ playground .Execute (w , map [string ]string {})
105
88
}
106
89
}
107
90
Original file line number Diff line number Diff line change 1
1
package version
2
2
3
- const Version = "0.0.2 "
3
+ const Version = "0.0.3 "
Original file line number Diff line number Diff line change 69
69
valueFrom :
70
70
fieldRef :
71
71
fieldPath : status.podIP
72
- image : " colemanword/oauth-graphql-playground:v0.0.2 "
72
+ image : " colemanword/oauth-graphql-playground:v0.0.3 "
73
73
imagePullPolicy : Always
74
74
ports :
75
75
- containerPort : 5000
You can’t perform that action at this time.
0 commit comments