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

JWT Bearer Grant type not validating scope #56

Open
mtvbrianking opened this issue Jan 23, 2015 · 0 comments
Open

JWT Bearer Grant type not validating scope #56

mtvbrianking opened this issue Jan 23, 2015 · 0 comments

Comments

@mtvbrianking
Copy link

I have managed to add scope on the jwt bearer grant type but it won't validate the scope like other grant types are doing by default.

$jwt = generateJWT($private_key, $client_id, $user_id, $scope, $audience, $expires, $nbf);
{
access_token: "30dd4b59463766d4704a3d2242f6e8b40145b79c",
expires_in: 3600,
token_type: "Bearer",
scope: "unknown_scope"
}

unknow_scope is not supported and other grant type validate that except for jwt bearer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant