Questions tagged [yii2-authclient]
13 questions
2
votes
1 answer
Yii2 OpenId Connect error - yii2-authclient returns 400 error "Token not provided" when I try to getUserAttributes()
I'm implementing OpenId Connect into my Yii2 app using the yii2-authclient library. I can login and exchange the code for a token with no problems. I've followed most of the code examples on the web and set a successCallback function that gets…

Nate D.
- 21
- 1
2
votes
2 answers
Yii2 composer update error authclient
Today i did a composer update on my project. During updating dektrium return error :
here is my composer:
{
"name": "my company",
"description": "my company website",
"keywords": ["computers", "advanced", "web design"],
"homepage": "here is a…

Jeni Vasileva
- 768
- 6
- 26
1
vote
1 answer
Yii2 using authclient for facebook and google login not working
Sorry people, I'm really new in Yii2 framework!!
I'm trying to do a web login using "yiisoft/yii2-authclient" at version 2.2.14
After client autentication, nothing happen and the new user is not logged in and the auth table is empty
I state that I…

Mauro S. Sequenzia
- 11
- 2
1
vote
0 answers
Yii2 : AuthClinet + Facebook login
i've create a Facebook login app and it works fine when it on localhost but when I published it online it gives me an error :
Can't Load URL: The domain of this URL isn't included in the app's domains. To be able to load this URL, add all domains…

Naeem Marzu
- 186
- 2
- 14
1
vote
1 answer
Eerror in social login in Yii2: Setting unknown property: yii\web\Application::authClientCollection
When I try to access app it get error after use yii2-authclient.
I follow Facebook Authentication using Yii2 authclient
All is setup, but this error occur:
Setting unknown property: yii\web\Application::authClientCollection
My frontend/main.php…

Rohit Sharma
- 31
- 1
- 6
1
vote
1 answer
Yii2 Api - Using Oauth to authenticate user and website?
I am building a service which handle content from different websites. Each website has their own users.
So I need to authenticate the website which is accessing my API and I need to authenticate the user who is logging in from that website.
Since…

Eduardo
- 1,781
- 3
- 26
- 61
1
vote
1 answer
Error 403: Insufficient Scope returned while using Google People Api for accessing user contacts
I am using yii2-authclient to authorize users and import google contact list
Steps I followed:
Created Project in Google Console and enabled People API
Setup config parameters, controllers, etc using docs. Tested Login and it worked fine.…

skaur
- 168
- 2
- 11
0
votes
2 answers
Yii 2 - authclient doesn't call onAuthSuccess
I am using Yii authclient to use social login. I had set everything as it is defined in docs but when I try to login with google it does not call onAuthSuccess method. When I try to login it just redirects me to returnUrl but not authenticated.…

Gvep
- 1,196
- 2
- 9
- 18
0
votes
1 answer
How to use new microsoft graph api to log users in to yii site
I'm creating a site that needs an oauth authorization through microsoft. In yii/authclient there's only live client and it is not working anymore.
I tried to write my own but something goes wrong. As far as I understood my AuthAction doesn't see…

Kirill
- 11
- 1
0
votes
1 answer
How save access_token to db using yii2-dektrium facebook login?
I'm using yii2-dektrium to allow users login with their facebook's accounts.
After the login is done, I need to make API request from my server to get data of the user's accounts. One example of request is:
$client =…

granch
- 225
- 3
- 12
0
votes
1 answer
Yii2 - Handling user access token on frontend app
I am working in a project where an API (non OAuth) returns a token and expiration date if user access info is correct.
I have an application created using Basic Template Application.
Right now after I get the token I do:
...code to get…

Eduardo
- 1,781
- 3
- 26
- 61
0
votes
0 answers
Yii2 authClientCollection showing error Missing required parameter "id" when instantiating "yii\authclient\AuthAction"
To add facebook login in my website in config/main.php i add below code and and
'authClientCollection' => [
'class' => 'yii\authclient\Collection',
'clients' => [
'facebook' => [
'class' =>…

Destroyer.0211
- 113
- 1
- 3
- 13
0
votes
1 answer
Issues in login with Facebook in yii2-authclient on production
I am using Yii 2.0.12 yii2-authclient 2.1.3 php 5.5 on production for web app
Followed the docs and made necessary changes in config file, controller file and view file.
Login with facebook is working fine on local machine
But on production i am…

Sohel Ahmed Mesaniya
- 3,344
- 1
- 23
- 29