Commit Graph

31 Commits

Author SHA1 Message Date
Ihnat Klimchuk
2f8bfd03f8 feat (auth): support for flow type authorization_code in oauth2-redirect.html (#6750) 2021-01-12 20:02:04 -08:00
Mickaël Derriey
48ee32faa1 refactor(csp): Update how the JavaScript run function is invoked in oauth2-redirect.html (#6393)
ref #5720
2020-09-11 13:41:10 -07:00
Irena Shaigorodsky
d7d166d0a4 fix: specify charset utf-8 in html script declaration (#6278)
ref: #5311
2020-07-31 16:51:17 -07:00
Matthew Morrissette
275c8f2ccf improvement: oauth "scopes" improvements (#6037)
* improvement: oauth "scopes" init parameter

* improvement: add "select all" and "select none" to oauth scopes popup
2020-06-10 11:27:54 -07:00
poveilleux
139592e353 feat: add PKCE support for OAuth2 Authorization Code flows (#5361)
* Add PKCE support.

* Fix tests

* Update oauth2.md

* Rename usePkce

* Fix the BrokenComponent error

* Update oauth2.md

* Remove isCode variable. Remove uuid4 dependency.

* Remove utils functions

* Import crypto

* Fix tests

* Fix the tests

* Cleanup

* Fix code_challenge generation

* Move code challenge and verifier to utils for mocks. Update tests.

* Mock the PKCE methods in the utils file properly.

* Add missing expect

* use target-method spies

* Add comments to explain test values.

* Get rid of jsrsasign.
2019-10-07 17:24:43 -07:00
Markus Poerschke
875caab173 improvement: prevent loading resources from third party CDN (via #4598)
Remove usage of Google Fonts to avoid any data protection issue. Using a
CDN will leak data to a third party that can be simply avoided by using
system fonts instead.

Furthermore the usage of CDNs can cause legal issues in EU countries.
2018-07-05 21:55:25 -05:00
kyle
bf77474a11 use HTTPS for Petstore by default (#4652) 2018-06-15 14:36:15 -07:00
kyle
dc7d7054bf fix: provide svg assets through React app instead of relying on HTML (#4429)
* fix: provide svg assets through React app instead of relying on HTML

* fix stylistic inconsistencies in HTML assets
2018-04-10 16:05:17 -07:00
wayglem
1f565b4847 show oauth error callback message when auth fails (#4058)
This change aims to display the oauth error to the user when the autnetication process fails.

Close #4048
2018-02-13 15:42:37 -08:00
Kyle Shockey
c23b884d9a Add script documentation to development docs 2017-12-05 20:33:28 -08:00
Kyle Shockey
9400c91820 Merge branch 'master' of github.com:swagger-api/swagger-ui into ft/docs 2017-12-04 20:38:09 -08:00
Kyle Shockey
345c8dee57 WIP 2017-11-01 13:30:07 -07:00
kyle
6d22e38a04 Merge branch 'master' into ft/oas3-authorization 2017-10-20 19:07:38 -07:00
Kyle Shockey
8b81bcac48 OAS3 Auth MVP 2017-10-11 16:58:24 -07:00
Race, Dale
3711d19064 Add viewport meta tag 2017-10-11 08:43:02 -05:00
HelderSepu
947953d087 fix #3624 2017-09-02 19:59:18 -04:00
Owen Conti
24882b69a8 File formatting fixes 2017-07-17 21:15:05 -06:00
Owen Conti
0622bd7179 Revert changes based on @Minasokoni's suggestion 2017-07-17 21:09:25 -06:00
Owen Conti
54b867a9bc Merge branch 'master' into bug/2903-wrong-font-for-error
# Conflicts:
#	dev-helpers/index.html
2017-07-17 18:51:04 -06:00
Owen Conti
5de1689946 Remove embedded styles from index.html files 2017-07-08 11:34:55 -06:00
Raphaël MARQUES
8ce2b309d8 Complying with request for changes 2017-07-04 09:15:43 +02:00
Raphaël MARQUES
4fe27786f4 Adding apisSorter options, taking a string or a function as a configuration value 2017-06-27 15:29:07 +02:00
Anna Bodnia
62cb9ec581 Read me for modelPropertyMacro, changed for parameterMacro 2017-05-25 18:04:21 +03:00
Anna Bodnia
918e0e46c0 read me for parameterMacro 2017-05-23 15:36:42 +03:00
Anna Bodnia
edfe88d299 modelPropertyMacro, parameterMacro 2017-05-19 18:50:51 +03:00
Furkan Ayhan
0c7119e855 Send redirect url when authenticating with oauth2-authorization_code
also fix indentations of files
2017-05-16 16:50:13 +03:00
Anna Bodnia
8aebea34c4 add configuration of auth: scope separator, client id, client secret, app name, reaml, additionalQueryParams 2017-05-11 16:30:30 +03:00
Anna Bodnia
cbd74b0c67 enable configs plugin by default 2017-05-05 17:50:22 +03:00
shockey
8c023c907d Update paths in index.html 2017-04-04 15:38:34 -07:00
Ron
7f525a8730 gone with the public 2017-04-04 14:37:45 -07:00
Kyle Shockey
229bd1df9a Fix dev server 2017-03-30 00:16:17 -07:00