Skip to content

Commit

Permalink
Changed the deprecated redirect_uri value.
Browse files Browse the repository at this point in the history
Potential solution to: #353 (comment) and #415 (untested)

More info on this issue:

	https://developers.googleblog.com/2022/02/making-oauth-flows-safer.html
	https://developers.google.com/identity/protocols/oauth2/native-app

Alternatively, we may try "TV and Limited-Input Device Applications":

	https://developers.google.com/identity/protocols/oauth2/limited-input-device

However, this does not support posting comments.
  • Loading branch information
trizen committed May 1, 2022
1 parent dc4d533 commit aab839b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/WWW/YoutubeViewer.pm
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ my %valid_options = (
key => {valid => qr/^.{15}/, default => undef},
client_id => {valid => qr/^.{15}/, default => undef},
client_secret => {valid => qr/^.{15}/, default => undef},
redirect_uri => {valid => qr/^.{15}/, default => 'urn:ietf:wg:oauth:2.0:oob'},
redirect_uri => {valid => qr/^.{15}/, default => 'https://localhost/'}, # previous: urn:ietf:wg:oauth:2.0:oob
access_token => {valid => qr/^.{15}/, default => undef},
refresh_token => {valid => qr/^.{15}/, default => undef},
authentication_file => {valid => qr/^./, default => undef},
Expand Down

0 comments on commit aab839b

Please sign in to comment.