Merge pull request #18943 from totten/5.32-token-inspect
[civicrm-core.git] / ext / oauth-client / ang / oauthClientCreateHelp.aff.html
CommitLineData
128850fd
TO
1<div oauth-util-import="CRM.oauthUtil.redirectUrl" to="redirectUrl"></div>
2<div class="help">
3 <p>{{ts('Please register with your web-service provider first. Be sure to:')}}</p>
4 <ul>
5 <li>
6 <p>
7 {{ts('Configure the "Redirect URL":')}}
8 </p>
9 <pre>{{redirectUrl}}</pre>
10 <div ng-if="redirectUrl.startsWith('http:/') && !redirectUrl.match('//(localhost|127\.0\.0\.1)')">
11 <p>
12 {{ts('WARNING: Most web-service providers require "https://" URLs. Alternatively, "http://" may be accepted for strictly local URLs ("localhost" or "127.0.0.1").')}}
13 </p>
14 <p>
15 {{ts('If you are doing development or testing on a local HTTP virtual-host, then consider a work-around like "bin/local-redir.sh".')}}
16 </p>
17 </div>
18 </li>
19
20 <li ng-if="options.provider.options.scopes.length > 0">
21 <p>
22 {{ts('Configure the scopes:')}}
23 </p>
24 <pre>{{options.provider.options.scopes.join("\n")}}</pre>
25 </li>
26
27 <li>
28 {{ts('Determine the client credentials ("Client ID" and "Client Secret").')}}
29 </li>
30 </ul>
31 <p>{{ts('Finally, copy the client credentials below:')}}</p>
32</div>