If you already learned Business Platform, you need not this Step.
Let's go to Operation
Go to Sandbox(Open in new window).
Click the "Login" button.
You can see that you are redirected to the Login page.
You can see the name and Email address you used to login at the top of this page.
Logout is not yet implemented.
To edit and update "caas_training/app/controllers/sandbox/logout_controller.rb", execute the following command by copying and pasting the entire text.
cat << EOT > app/controllers/sandbox/logout_controller.rb
require 'active_support/core_ext'
class Sandbox::LogoutController < ApplicationController
def index
redirect_target = "#{request.base_url}/sandbox"
query = { url: redirect_target }.to_query
redirect_url = "https://devu.accounts.ricoh.com/portal/logout.html?#{query}"
redirect_to(redirect_url)
end
end
EOT
Deployment is required after changing the file.
Push the container image with the following command.
az acr login --name your-acr-name
docker build -t your-registry.azurecr.io/your-training-image:{YOUR_TAG} .
docker push your-registry.azurecr.io/your-training-image:{YOUR_TAG}
Go to your Azure CaaS operation dashboard, and change the release tag to {YOUR_TAG}.
After changing, click the "Apply settings" button.
Click the "Logout" button.
You can see that you are redirected to the Logout page.
Let's go to Operation