lib/rodauth/features/oauth_jwt.rb in rodauth-oauth-1.0.0.pre.beta1 vs lib/rodauth/features/oauth_jwt.rb in rodauth-oauth-1.0.0.pre.beta2

- old
+ new

@@ -47,14 +47,14 @@ return super unless oauth_jwt_access_tokens return @authorization_token if defined?(@authorization_token) @authorization_token = begin - bearer_token = fetch_access_token + access_token = fetch_access_token - return unless bearer_token + return unless access_token - jwt_claims = jwt_decode(bearer_token) + jwt_claims = jwt_decode(access_token) return unless jwt_claims return unless jwt_claims["sub"]