Changed storing of access_token to id_token.

This commit is contained in:
Mike Bronner
2020-09-04 17:27:32 +00:00
parent e7fc992e66
commit 928844f2ce
2 changed files with 5 additions and 1 deletions

View File

@@ -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.

View File

@@ -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'));
}