mirror of
https://github.com/ambieco/laravel-sign-in-with-apple.git
synced 2026-01-12 22:43:49 +08:00
Changed storing of access_token to id_token.
This commit is contained in:
@@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file.
|
||||
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
|
||||
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
|
||||
|
||||
## [0.4.4] - 2020-09-04
|
||||
### Changed
|
||||
- storing of `access_token` to `id_token`.
|
||||
|
||||
## [0.4.3] - 2020-03-06
|
||||
### Udpated
|
||||
- dependencies.
|
||||
|
||||
@@ -92,7 +92,7 @@ class SignInWithAppleProvider extends AbstractProvider implements ProviderInterf
|
||||
));
|
||||
|
||||
return $user
|
||||
->setToken(Arr::get($response, 'access_token'))
|
||||
->setToken(Arr::get($response, 'id_token'))
|
||||
->setRefreshToken(Arr::get($response, 'refresh_token'))
|
||||
->setExpiresIn(Arr::get($response, 'expires_in'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user