diff --git a/web/.env b/web/.env new file mode 100644 index 0000000..675657e --- /dev/null +++ b/web/.env @@ -0,0 +1,9 @@ +OIDC_CLIENT_ID=fitness-oidc +OIDC_CLIENT_SECRET=egebuqzZfVnjjBG9JDQ8tjW3TzV9gJurvT7qfB6c2SX2nPBNeaGycDfx4788QzJd +OIDC_REDIRECT_URI=https://fitness.matt-cloud.com/pgapi/auth/oidc/callback +OIDC_AUTH_ENDPOINT=https://auth.matt-cloud.com/oidc/auth +OIDC_TOKEN_ENDPOINT=https://auth.matt-cloud.com/oidc/token +OIDC_USERINFO_ENDPOINT=https://auth.matt-cloud.com/oidc/userinfo +OIDC_LOGOUT_ENDPOINT=https://auth.matt-cloud.com/logout +# Optional: the default redirect after logout +OIDC_POST_LOGOUT_REDIRECT_URI=https://fitness.matt-cloud.com/ \ No newline at end of file diff --git a/web/composer.json b/web/composer.json index 017b410..116bee9 100644 --- a/web/composer.json +++ b/web/composer.json @@ -1,6 +1,6 @@ { "require": { "guzzlehttp/guzzle": "^7.0", - "firebase/php-jwt": "^6.12" + "firebase/php-jwt": "^6.12.0" } } \ No newline at end of file