@@ -551,16 +551,16 @@ def set_external_property
551551 def provider_url ( provider )
552552 {
553553 github : "https://github.com/login/oauth/authorize?client_id=#{ ::Sorcery ::Controller ::Config . github . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope&state" ,
554- paypal : "https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize?client_id=#{ ::Sorcery ::Controller ::Config . paypal . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=openid+email &state" ,
555- google : "https://accounts.google.com/o/oauth2/auth?client_id=#{ ::Sorcery ::Controller ::Config . google . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https %3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&state" ,
556- liveid : "https://oauth.live.com/authorize?client_id=#{ ::Sorcery ::Controller ::Config . liveid . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=wl.basic+wl .emails+wl .offline_access&state" ,
554+ paypal : "https://www.paypal.com/webapps/auth/protocol/openidconnect/v1/authorize?client_id=#{ ::Sorcery ::Controller ::Config . paypal . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=openid%20email &state" ,
555+ google : "https://accounts.google.com/o/oauth2/auth?client_id=#{ ::Sorcery ::Controller ::Config . google . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email%20https %3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.profile&state" ,
556+ liveid : "https://oauth.live.com/authorize?client_id=#{ ::Sorcery ::Controller ::Config . liveid . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=wl.basic%20wl .emails%20wl .offline_access&state" ,
557557 vk : "https://oauth.vk.com/authorize?client_id=#{ ::Sorcery ::Controller ::Config . vk . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=#{ ::Sorcery ::Controller ::Config . vk . scope } &state" ,
558558 salesforce : "https://login.salesforce.com/services/oauth2/authorize?client_id=#{ ::Sorcery ::Controller ::Config . salesforce . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope#{ '=' + ::Sorcery ::Controller ::Config . salesforce . scope unless ::Sorcery ::Controller ::Config . salesforce . scope . nil? } &state" ,
559- slack : "https://slack.com/oauth/authorize?client_id=#{ ::Sorcery ::Controller ::Config . slack . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=identity.basic%2C+identity .email&state" ,
559+ slack : "https://slack.com/oauth/authorize?client_id=#{ ::Sorcery ::Controller ::Config . slack . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=identity.basic%2C%20identity .email&state" ,
560560 wechat : "https://open.weixin.qq.com/connect/qrconnect?appid=#{ ::Sorcery ::Controller ::Config . wechat . key } &redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=snsapi_login&state=#wechat_redirect" ,
561- microsoft : "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=#{ ::Sorcery ::Controller ::Config . microsoft . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=openid+email+https %3A%2F%2Fgraph.microsoft.com%2FUser.Read&state" ,
561+ microsoft : "https://login.microsoftonline.com/common/oauth2/v2.0/authorize?client_id=#{ ::Sorcery ::Controller ::Config . microsoft . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=openid%20email%20https %3A%2F%2Fgraph.microsoft.com%2FUser.Read&state" ,
562562 instagram : "https://api.instagram.com/oauth/authorize?client_id=#{ ::Sorcery ::Controller ::Config . instagram . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=#{ ::Sorcery ::Controller ::Config . instagram . scope } &state" ,
563- auth0 : "https://sorcery-test.auth0.com/authorize?client_id=#{ ::Sorcery ::Controller ::Config . auth0 . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=openid+profile+email &state" ,
563+ auth0 : "https://sorcery-test.auth0.com/authorize?client_id=#{ ::Sorcery ::Controller ::Config . auth0 . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=openid%20profile%20email &state" ,
564564 discord : "https://discordapp.com/api/oauth2/authorize?client_id=#{ ::Sorcery ::Controller ::Config . discord . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=identify&state" ,
565565 battlenet : "https://eu.battle.net/oauth/authorize?client_id=#{ ::Sorcery ::Controller ::Config . battlenet . key } &display&redirect_uri=http%3A%2F%2Fblabla.com&response_type=code&scope=openid&state"
566566 } [ provider ]
0 commit comments