This repository was archived by the owner on Jan 24, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
When asking for the oidc provider, the --oidc-issuer-url is flagged as "not defined" #591
Comments
It's in the master branch, but it's not in the v2.2 release (which is over a year old). |
Great. After a lot of study I realized that and tried to build a copy with
`dist.sh` - didn't work. Not sure if it's my platform so hesitant to submit
an issue on that one.
…On Sun, May 13, 2018 at 4:28 PM, Pierce Lopez ***@***.***> wrote:
It's in the master branch, but it's not in the v2.2 release (which is over
a year old).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#591 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAC38hJAw8m0D0bNNZ78yyp6MNV1mPG2ks5tyKWTgaJpZM4T840o>
.
--
John G. Norman <https://www.linkedin.com/in/johngnorman> • VP,
Technology • Iora
Health <http://www.iorahealth.com>
101 Tremont Street, 6th floor, Boston, MA 02108
651-356-9929
|
|
Super. I'll try it.
…On Sun, May 13, 2018 at 6:19 PM, Pierce Lopez ***@***.***> wrote:
dist.sh does a lot of stuff you don't need. To build oauth2_proxy:
1. install the "dep" tool from https://github.com/golang/dep (download
a stand-alone binary from Releases, put it somewhere in your PATH e.g.
/usr/local/bin/, name it dep, make it executable)
2. checkout the oauth2_proxy repo into your GOPATH, e.g. git clone
https://github.com/bitly/oauth2_proxy
<https://github.com/bitly/oauth2_proxy> $HOME/go/src/github.com/bitly/
oauth2_proxy
3. cd into that repo
4. run dep ensure
5. run go build
6. the result is a single stand-alone binary named oauth2_proxy
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#591 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAC38qqb2Jc0oemUq7Y2r5i58cgjWaprks5tyL-AgaJpZM4T840o>
.
--
John G. Norman <https://www.linkedin.com/in/johngnorman> • VP,
Technology • Iora
Health <http://www.iorahealth.com>
101 Tremont Street, 6th floor, Boston, MA 02108
651-356-9929
|
|
Closing 'cos original issue might be coming in 2.3. God willing. :-) |
Yeah ... this repo is not very maintained unfortunately. The build worked for me because of dep's cache. The following change was sufficient to make it work from a fresh state: --- a/Gopkg.toml
+++ b/Gopkg.toml
@@ -4,7 +4,7 @@
#
[[constraint]]
- name = "github.com/18F/hmacauth"
+ name = "github.com/mbland/hmacauth"
version = "~1.0.1"
[[constraint]]
@@ -37,6 +37,7 @@
[[constraint]]
name = "gopkg.in/fsnotify.v1"
+ source = "gopkg.in/fsnotify/fsnotify.v1"
version = "~1.2.0"
[[constraint]] |
Yeesh. `dep ensure` looks good, but the build . . .
```
$ go build
# oauth2_proxy
./oauthproxy.go:249:27: p.provider.GetUserName undefined (type
providers.Provider has no field or method GetUserName)
./options.go:275:8: undefined: providers.OIDCProvider
./options.go:279:5: p.Verifier undefined (type providers.Provider has no
field or method Verifier)
```
…On Sun, May 13, 2018 at 8:55 PM, Pierce Lopez ***@***.***> wrote:
Yeah ... this repo is not very maintained unfortunately. The build worked
for me because of dep's cache. The following change was sufficient to make
it work from a fresh state:
--- a/Gopkg.toml+++ b/Gopkg.toml@@ -4,7 +4,7 @@
#
[[constraint]]- name = "github.com/18F/hmacauth"+ name = "github.com/mbland/hmacauth"
version = "~1.0.1"
[[constraint]]@@ -37,6 +37,7 @@
[[constraint]]
name = "gopkg.in/fsnotify.v1"+ source = "gopkg.in/fsnotify/fsnotify.v1"
version = "~1.2.0"
[[constraint]]
(fixed in #574 <#574> and #577
<#577>)
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
<#591 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAC38rFvUHuoyc95R9sVQPv8nXazvgB5ks5tyOQNgaJpZM4T840o>
.
--
John G. Norman <https://www.linkedin.com/in/johngnorman> • VP,
Technology • Iora
Health <http://www.iorahealth.com>
101 Tremont Street, 6th floor, Boston, MA 02108
651-356-9929
|
based on what you pasted earlier, it looks like you're putting the |
Thanks. Here's what it took:
|
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Per the documentation, tried to specify
--oidc-issuer-url
(with both a single dash and double dash)But got this:
flag provided but not defined: -oidc-issuer-url
Seems like the oidc provider is simply missing.
The text was updated successfully, but these errors were encountered: