Skip to content
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

Add support for option to append access_token and userid to successRedirect #223

Closed
wants to merge 3 commits into from

Conversation

kreegr
Copy link

@kreegr kreegr commented Jul 20, 2017

Description

Addresses several open issues with adding support for optionally appending the access_token and userid to the successRedirect Url. This is particularly useful when supporting iOS native clients/hybrid applications. In current implementation, it is only possible when options.session !== true.

Also, DRYs up common logic in the defaultCallback, while adding universal support for the options.domain cookie property.

If these changes are agreeable, I will append this PR with updated tests.

Related issues

  • None

Checklist

  • New tests added or existing tests modified to cover all changes
  • Code conforms with the style
    guide

Common code to set access_token and userid cookies in defaultCallback
Support cookie options.domain, independent of session.
…erId on successRedirect URL query

Makes this functionality independent of options.session. This was the behaviour only when options.session was false. Adding {Boolean} appendAccessToken to do this is helpful for mobile clients (iOS).
@slnode
Copy link

slnode commented Jul 20, 2017

Can one of the admins verify this patch? To accept patch and trigger a build add comment ".ok\W+to\W+test."

@slnode
Copy link

slnode commented Jul 20, 2017

Can one of the admins verify this patch?

2 similar comments
@slnode
Copy link

slnode commented Jul 20, 2017

Can one of the admins verify this patch?

@slnode
Copy link

slnode commented Jul 20, 2017

Can one of the admins verify this patch?

@kreegr kreegr changed the title Sl pull request Add support for option to append access_token and userid to successRedirect Jul 20, 2017
@stale stale bot added the stale label Sep 18, 2017
@stale
Copy link

stale bot commented Sep 18, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@slnode
Copy link

slnode commented Sep 18, 2017

Can one of the admins verify this patch?

@stale stale bot removed the stale label Sep 18, 2017
@cadesalaberry
Copy link
Contributor

I would love to see this PR merged !

@slnode
Copy link

slnode commented Nov 6, 2017

Can one of the admins verify this patch?

1 similar comment
@slnode
Copy link

slnode commented Nov 6, 2017

Can one of the admins verify this patch?

@stale
Copy link

stale bot commented Jan 5, 2018

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale label Jan 5, 2018
@stale
Copy link

stale bot commented Jan 19, 2018

This issue has been closed due to continued inactivity. Thank you for your understanding. If you believe this to be in error, please contact one of the code owners, listed in the CODEOWNERS file at the top-level of this repository.

@stale stale bot closed this Jan 19, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants