You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<li> Create another html and name it <spanclass='mono orange'> oauth-receiver.html </span> containing <spanclass='mono orange'> <oauth-receiver></span> element (<ahref="#auth-receiver-html"> view </a>)</li>
<h3>Register client with Authorization Server</h3>
96
+
<p>
97
+
<ul>
98
+
<li>
99
+
For this demo I am going to use <b>BitBucket</b> as the OAuth provider, so SignUp with https://bitbucket.org/ if you dont have an account
100
+
</li>
101
+
<li>
102
+
<b>Register OAuth Client in Bitbucket: </b> In my case the client is https://mrin9.github.io. <br/>
103
+
In your case it could be localhost:{port} or the domain from where you are hosting your html containing RapiDoc element
104
+
<ul>
105
+
<li>
106
+
While registering provide the <spanclass="blue">Redirect URL</span> as the url of <spanclass="blue mono"> oauth-receiver.html </span> that you created above
107
+
</li>
108
+
<li>
109
+
Upon successful registration, you should be provided with a client_id and client_secret
110
+
</li>
111
+
</ul>
112
+
</li>
113
+
</ul>
114
+
</p>
115
+
116
+
<h3> Setup Client </h3>
117
+
<b>Client: </b> This is the app's domain that host the html containing <spanclass='mono'> <rapi-doc></span>
118
+
element.<br/>
119
+
In case of RapiDoc OAuth demo, since we host it from Github pages, it is https://mrin9.github.io<br/><br/>
120
+
Below are the two files that our server must have<br/><br/>
121
+
122
+
<aid='index-html' class="blue mono">index.html</a> (This is our main file that contains the <spanclass='mono'> <rapi-doc></span> element )
0 commit comments