-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Oauth apple support #221
Oauth apple support #221
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
public function getProviderOptions(array $configuration) | ||
{ | ||
return [ | ||
'clientId' => $configuration['client_id'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah, wait, client_secret
is missing here :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
apple does not have a client_secret, they use the key_file instead
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, we should remove client_secret
from the docs I think
public function getProviderOptions(array $configuration) | ||
{ | ||
return [ | ||
'clientId' => $configuration['client_id'], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In this case, we should remove client_secret
from the docs I think
type: apple | ||
# add and configure client_id and client_secret in parameters.yml | ||
client_id: '%env(OAUTH_APPLE_CLIENT_ID)%' | ||
client_secret: '%env(OAUTH_APPLE_CLIENT_SECRET)%' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No client_secret
? We need to find a way to remove this line then to avoid confusion. I wonder if we have any other clients in this bundle that don't have client_secret
as well, how do we remove this field from docs?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
at beginning i removed it and added the needed custom params, but it causes the build to fail ><
i've also tried to add a comment on the line, same, build fails..
i dunno :/
I'll fix up the README - my weird script for it probably needs to be tweaked :) |
Tagged in 1.32.0. Thanks! |
Adds support for oauth-apple