Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
#489 make taupage config option naming consistent for enabling intros…
Browse files Browse the repository at this point in the history
…pection, remove faulty support
  • Loading branch information
smirnov committed Apr 10, 2018
1 parent 36907ee commit 4709979
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions build/setup.d/55-setup-taupage-yaml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,3 @@ fi
if [ -n "$TOKENINFO_BUSINESS_PARTNERS" ]; then
echo "tokeninfo_business_partners: $TOKENINFO_BUSINESS_PARTNERS" >> /meta/taupage.yaml
fi
if [ -n "$TOKENINFO_ENABLE_INTROSPECTION" ]; then
echo "tokeninfo_enable_introspection: $TOKENINFO_ENABLE_INTROSPECTION" >> /meta/taupage.yaml
fi
2 changes: 1 addition & 1 deletion runtime/etc/init/planb-tokeninfo.conf
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ script
export OPENID_PROVIDER_CONFIGURATION_URL="$config_openid_provider_configuration_url"
export REVOCATION_PROVIDER_URL="$config_revocation_provider_url"
export BUSINESS_PARTNERS="$config_tokeninfo_business_partners"
if [ "$config_tokeninfo_introspection" = "true" ] || [ "$config_tokeninfo_introspection" = "True" ]; then
if [ "$config_local_planb_tokeninfo_introspection" = "true" ] || [ "$config_local_planb_tokeninfo_introspection" = "True" ]; then
export ENABLE_INTROSPECTION="true"
fi
/opt/taupage/bin/planb-tokeninfo
Expand Down

0 comments on commit 4709979

Please sign in to comment.