Skip to content

Support non-tls providers for the oauth command http:// #1247

@aucampia

Description

@aucampia

I would like to use step oauth with a local test instance of keycloak, but I can't because it only accepts https:// urls:

if o.Provider != "google" && o.Provider != "github" && !strings.HasPrefix(o.Provider, "https://") {

The error it gives when I try is also misleading:

$ step oauth --client-id=test-client-000 \
>   --provider=http://localhost:8080/realms/test/.well-known/openid-configuration
use a valid provider: google or github

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions