umbraco / Umbraco.AuthorizedServices

Umbraco Authorized Services is an open-source package designed to reduce the effort needed to integrate third party services that require authentication and authorization via an OAuth flow.
MIT License
14 stars 7 forks source link

Use authentication method for toggling visibility of revoke access ac… #23

Closed acoumb closed 1 year ago

acoumb commented 1 year ago

While documenting latest updates on AuthorizedServices, I came across a bug in the UI: the Revoke Access button was not visibile if AuthenticationMethod = OAuth2, because the authorization URL string used for toggling visibility was not properly set.

To address this, I'm passing the authentication method to the client-side and use its value to displaying the button.