Prepare index page for oauth2/, client/ and resource/.