Fix OAuth callback URLs
This commit is contained in:
@@ -12,7 +12,7 @@ They'll ask you for your CONSUL's auth URL, and as you can see running `rake rou
|
|||||||
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) users/omniauth_callbacks#passthru {:provider=>/twitter|facebook|google_oauth2/}
|
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) users/omniauth_callbacks#passthru {:provider=>/twitter|facebook|google_oauth2/}
|
||||||
```
|
```
|
||||||
|
|
||||||
So for example the URL for facebook application would be `yourdomain.com/users/auth/facebook.json`
|
So for example the URL for facebook application would be `yourdomain.com/users/auth/facebook/callback`
|
||||||
|
|
||||||
## 3. Set key & secret values
|
## 3. Set key & secret values
|
||||||
|
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ Te preguntarán por la URL de autenticación de tu instalación de CONSUL, y com
|
|||||||
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) users/omniauth_callbacks#passthru {:provider=>/twitter|facebook|google_oauth2/}
|
user_omniauth_authorize GET|POST /users/auth/:provider(.:format) users/omniauth_callbacks#passthru {:provider=>/twitter|facebook|google_oauth2/}
|
||||||
```
|
```
|
||||||
|
|
||||||
Por ejemplo para facebook la URL sería `yourdomain.com/users/auth/facebook.json`
|
Por ejemplo para facebook la URL sería `yourdomain.com/users/auth/facebook/callback`
|
||||||
|
|
||||||
## 3. Establece la clave y secreto
|
## 3. Establece la clave y secreto
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user