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

[Proposal] Change auth_type in login url #146

Closed
ChristianGrech opened this Issue Jul 5, 2014 · 5 comments

Comments

Projects
None yet
4 participants
@ChristianGrech

ChristianGrech commented Jul 5, 2014

I have been dealing with permissions being edited by the users and according to the documentation you need to append auth_type=rerequest to the url.

I was looking for a way of doing it using the api however, I could not find out how, so I am currently doing it manually.

It would be ideal to add a parameter in the FacebookRedirectLoginHelper->getLoginUrl() method which will let you to specify the auth_type.

@ChristianGrech ChristianGrech changed the title from Change auth_type in login url to [Proposal] Change auth_type in login url Jul 12, 2014

@rajbdilip

This comment has been minimized.

Contributor

rajbdilip commented Jul 14, 2014

Check my repository. https://github.com/rajbdilip/facebook-php-sdk-v4/
A parameter has been added to FacebookRedirectLoginHelper->getLoginUrl() which appends auth_type = rerequest to the URL. You can see it here: rajbdilip@a0508f4

@ChristianGrech

This comment has been minimized.

ChristianGrech commented Jul 14, 2014

Thanks, guys

@yguedidi

This comment has been minimized.

Collaborator

yguedidi commented Jul 14, 2014

@rajbdilip You should send a PR to this repository :)

@rajbdilip

This comment has been minimized.

Contributor

rajbdilip commented Jul 14, 2014

@yguedidi Sent a Pull Request. :)

@gfosco

This comment has been minimized.

Contributor

gfosco commented Jul 14, 2014

Landed the PR by @rajbdilip for this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment