Skip to content

Fix Error when using a no authenticated token #78

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

Merged
merged 2 commits into from
Oct 23, 2017
Merged

Fix Error when using a no authenticated token #78

merged 2 commits into from
Oct 23, 2017

Conversation

kesslerdev
Copy link
Contributor

When using this lib https://github.com/rezzza/SecurityBundle (for private api acces with signature security)
it create a specific token that not belongs to an user & not declare an authentication provider for it.
when sentry try to call isGranted sf want the user & call all auth providers, etc.

@Jean85
Copy link
Contributor

Jean85 commented Oct 19, 2017

Hello! Thanks for the contribution.

The tests are now broken, can you fix that?

@Jean85 Jean85 added the Bug label Oct 19, 2017
@kesslerdev
Copy link
Contributor Author

I'll fix tests tonight

@kesslerdev
Copy link
Contributor Author

@Jean85 tests pass

@Jean85
Copy link
Contributor

Jean85 commented Oct 23, 2017

Thanks for the contribution! I will add a regression test and the changelog info after merging.

@kesslerdev
Copy link
Contributor Author

Thanks too, can you publish a release after merging ?

@Jean85 Jean85 merged commit 008479a into getsentry:master Oct 23, 2017
@kesslerdev kesslerdev deleted the fix/no-authenticated-token branch October 23, 2017 09:00
@Jean85
Copy link
Contributor

Jean85 commented Oct 23, 2017

I need to backport this to the 0.8 release too, the master branch is currently for the future 1.0 release.

Jean85 added a commit that referenced this pull request Oct 23, 2017
Jean85 added a commit that referenced this pull request Oct 23, 2017
Jean85 added a commit that referenced this pull request Oct 23, 2017
@Jean85
Copy link
Contributor

Jean85 commented Oct 23, 2017

Released as 0.8.7

Jean85 added a commit that referenced this pull request Oct 24, 2017
Add regression test and changelog entry about #78
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.

2 participants