Releases: labbsr0x/whisper-client
Fix oauth helper auth style param
Fix nil Login and Logout Redirect URL error message
This release fixes how errors on nil login and logout redirect urls gets sent to the user when using client.InitFromConfig
method.
Adds tests and fixes oauth2.getXOAuth2Client bug
This release adds automated unit tests to the oauth
package and fixes a bug when calling oauth2.getXOAuth2Client
at oauth.go
Adds config check to client.InitFromConfig
This release adds a config check to the client.InitFromConfig, in order to guarantee the config struct is valid when proceeding with the client's initialization.
Client Name and Public URL
To enable a better experience for Whisper's Consent page, whisper-client
now offers:
-
a mandatory
client-name
argument in all it's interfaces:cli
,.InitFromParams
and.InitFromConfig
. This name will substitute theUnknown
name from the Consent Page; -
an optional
public-url
argument to tall it's interfaces:cli
,.InitFromParams
and.InitFromConfig
. This url will enable the user to click on the app name at the Consent Page and get more info about an app.
This have BREAKING CHANGES with version v0.8.0
Interface improvements
This releases breaking changes to the whisper-client
codebase. Namely:
--login-redirect-uri
is now--login-redirect-url
;--logout-redirect-uri
is now--logout-redirect-url
;
This is for standardization purposes.
Also, client-secret
can now be empty, since whisper-client
api's can help with a public applications's authorization_code + pkce
grant flow.
Fix introspect token
This release fixes the client IntrospectToken api.
Make `code_verifier` and `state` explicit to client apps
This version makes it explicit the management of the code_verifier
and state
params for the exchange code operation.
Client apps are now required to explicitly manage such information, making this a breaking change.
Add Logout support
This release adds logout support and reviews the exchange token API.
Fix Hydra bug
v0.5.0 Adding url only if it isn't empty