cloudentity / oauth2c

User-friendly OAuth2 CLI
https://cloudentity.github.io/oauth2c/
Apache License 2.0
768 stars 29 forks source link

Allow passing oauth configuration instead of using the /.well-known endpoint #101

Closed ludat closed 4 months ago

ludat commented 10 months ago

I have a server that supports oauth2 but doesn't have a /.well-known/openid-configuration.

I can use it with a lot of libraries by setting the token and authentication endpoints, and it works, would it be possible for this cli to accept the parameters that it gets from the endpoint via cli arguments?

IIRC that endpoint is only mandatory for oidc, not oauth2.

chrisclayson commented 6 months ago

I +1 this request ... I have a similar requirement.

mbilski commented 4 months ago

Added in https://github.com/cloudentity/oauth2c/pull/110