Commit Graph

173 Commits

Author SHA1 Message Date
Tony Tam
5f22a46672 Merge pull request #1682 from lucian303/oauth-client-secret
Make client secret optional, depending on grant type.
2015-10-26 16:24:31 -07:00
Lucian Hontau
19639aba2b Make client secret optional, depending on grant type. 2015-10-16 13:34:05 -04:00
Li Lin
00a5e4d838 fix for issue #1516: OAuth logout doesn't work 2015-08-11 16:38:03 +08:00
Tony Tam
83afb5b277 rebuilt 2015-07-22 18:19:27 -07:00
Tony Tam
5195447df6 Merge pull request #1419 from lucian303/oauth-client-secret
Add support for oauth client secret when calling the token URL. Fixes #1384. Fixes #1324.
2015-07-22 18:12:39 -07:00
Tony Tam
34e4a68da8 Merge pull request #1389 from bigtlb/develop_2.0
OAuth flow only selected scopes should be sent to Authorize endpoint #1388.
2015-07-22 18:00:08 -07:00
sonicd300
379609bb70 Added flexible scope separator 2015-07-16 15:18:08 -05:00
Lucian Hontau
1fd15c6b34 Add support for oauth client secret when calling the token URL. Fixes #1384. Fixes #1324. 2015-06-25 17:57:29 -04:00
Tom Baker
340da086ba OAuth flow only selected scopes should be sent to Authorize endpoint #1388.
Need to clear out previous popupDialog nodes, so previous checkboxes won't be considered.
2015-06-19 13:30:20 -05:00
Vladimir L
695dcc16b1 fixed issue with OAuth hint 2015-06-11 21:21:37 +02:00
Shawn Gong
9b8d663a0a removed unused bootstrap.min.js file 2015-06-04 14:14:48 -04:00
Shawn Gong
6cfa818b02 curl hack to showcase curl output in the swagger-ui 2015-05-26 14:39:19 -04:00
Josh Ponelat
ec86ee2df9 uncomment swagger-oauth and add script 2015-04-29 12:41:08 +02:00
vprefournier
6761fd7a98 Fix - Swagger/Swashbuckle OAuth2 Authorizations not set #1134 2015-04-11 06:27:01 -04:00
Mohsen Azimi
99eaf4eb23 Use SwaggerJS from npm
* Uses npm to download latest swagger-js (for now. When swagger-js is
   released we will replace git address with actual swagger-ui)

* Uses `postinstall` to generate `browser` folder of swagger-ui. This
 can go when swagger-ui is published.
2015-03-25 12:49:39 -07:00
Mohsen Azimi
ede1faa0c8 Add ability to override redirectUrl in swagger-oauth
Fixes #457
2015-03-24 13:33:18 -07:00
Mohsen Azimi
afe232747b Normalize all the line endings 2015-03-17 14:34:22 -07:00
Mohsen Azimi
d61cf24ae0 Append swagger-auth global functions to window and don't break backward 2015-03-16 15:07:14 -07:00
Jeremy Whitlock
bdb181cb08 Update swagger-js with latest
* For the e2e tests to run, we had to enable CORS in http-server.  The
  release of http-server that supports CORS hasn't come out yet so we
  have to use http-server@master until then.  Here is the commit I speak
  of: 30f4d1e008
2015-03-11 14:17:11 -06:00
Mohsen Azimi
33d5331e60 Merge branch 'master' of https://github.com/CatLabInteractive/swagger-ui into CatLabInteractive-master
Conflicts:
	dist/lib/swagger-oauth.js
	dist/swagger-ui.js
	dist/swagger-ui.min.js
	lib/swagger-oauth.js
2015-03-02 10:15:48 -08:00
Ivan Goncharov
cae9755076 Oauth 2.0: use space as delimiter for scopes. 2015-02-27 09:42:04 -08:00
Tony Tam
779db5da6a reverted files 2015-02-27 09:42:04 -08:00
Tony Tam
8f0d89c54a updated js lib 2015-02-27 09:42:04 -08:00
Mohsen Azimi
7622b38426 Add underscore source map file
Fixes #949
2015-02-27 09:41:37 -08:00
Tony Tam
9d0c6c50e7 updated from master 2015-02-27 09:37:25 -08:00
Stefano Travelli
bb1ebcef28 Fix OAuth2 login when no scope is defined 2015-02-27 09:36:29 -08:00
Thijs Van der Schaeghe
9c6582455e Adding (ignored) oauth2 state parameter. 2015-02-14 14:34:39 +01:00
Tony Tam
7ff221485b updated client lib 2015-02-12 11:27:18 -08:00
Tony Tam
f6be07ff9a Merge pull request #925 from swagger-api/feature/legacy-cleanup
Feature/legacy cleanup
2015-02-11 21:39:59 -08:00
Tony Tam
fd9fbd61e7 updated versions 2015-02-11 21:35:52 -08:00
Tony Tam
9ce5187312 updated files 2015-02-10 12:49:36 -08:00
Stefano Travelli
b975d4fee8 Include redirect_uri in access token request for OAuth2 authentication. 2015-02-10 14:43:51 +01:00
Tony Tam
61a87b8fd7 updated client, version 2015-02-09 10:22:44 -08:00
Tony Tam
59233adc9c updated js library to 2.1.1-M1 2015-02-02 20:19:06 -08:00
Tony Tam
df10a9b22c updated swagger-js to fix header 2015-02-02 08:55:56 -08:00
Tony Tam
038443fc22 merged from develop_2.0 2015-02-01 02:27:43 -08:00
Tony Tam
1be0f9fa35 fix for submit methods 2015-01-28 14:20:52 -08:00
Tony Tam
a75c9c191a fix for https://github.com/swagger-api/swagger-js/issues/210, #814, query param encoding issue 2015-01-22 22:48:14 -08:00
Tony Tam
ba57476181 fixed headers, file upload per #662 2015-01-06 17:45:06 -08:00
Tony Tam
f1e394b3c9 fix for #770 2014-12-09 22:25:29 -08:00
Tony Tam
886145be28 fix for #761 2014-12-04 07:27:57 -08:00
Tony Tam
2c4f4a6331 updated swagger-js 2014-12-03 21:55:43 -08:00
Tony Tam
6961dd7f92 merged from develop, added fix for #627 2014-12-02 22:24:47 -08:00
Tony Tam
ba5182ec05 updated swagger-js per #715 2014-11-27 07:25:36 -10:00
Tony Tam
c578fc1832 updated swagger.js 2014-11-26 17:21:20 -10:00
Tony Tam
bdcae38831 updated swagger-js per https://github.com/swagger-api/swagger-js/issues/167 2014-11-26 08:06:56 -10:00
Tony Tam
53fd2f013f fix for https://github.com/swagger-api/swagger-ui/issues/729 2014-11-18 08:28:08 -08:00
Tony Tam
af768dcdbf fix for #727 2014-11-17 17:02:05 -08:00
Tony Tam
329772af4c merged from auth_2.0 branch 2014-11-11 00:16:13 -08:00
Tony Tam
8e20a32344 updated js libs 2014-11-10 23:19:14 -08:00