diff --git a/README.md b/README.md index a3c3b207..a71a8349 100644 --- a/README.md +++ b/README.md @@ -74,7 +74,7 @@ $ docker run --rm \ -p 8080:8080 \ -p 8081:8081 \ -p 3000:80 \ - ekofr/authz:v0.2.1-standalone + ekofr/authz:v0.4.0-standalone ``` Here, we use SQLite in-memory as database. diff --git a/frontend/src/service/common/oauth.ts b/frontend/src/service/common/oauth.ts index 13efd0fc..23172c2d 100644 --- a/frontend/src/service/common/oauth.ts +++ b/frontend/src/service/common/oauth.ts @@ -1,3 +1,3 @@ export const getOauthButtonLabel = (): string | undefined => process.env.REACT_APP_OAUTH_BUTTON_LABEL || 'Sign-in wigh Single Sign-On (SSO)'; export const getOauthLogoUrl = (): string | undefined => process.env.REACT_APP_OAUTH_LOGO_URL; -export const isOauthEnabled = (): boolean => process.env.REACT_APP_OAUTH_ENABLED ? true : true; \ No newline at end of file +export const isOauthEnabled = (): boolean => process.env.REACT_APP_OAUTH_ENABLED ? true : false;