oidc-mytoken / client Goto Github PK
View Code? Open in Web Editor NEWThe command line client for the mytoken service
License: MIT License
The command line client for the mytoken service
License: MIT License
Hi @zachmann,
I've set up a mytoken
client on my machine with a token issued by mytoken.data.kit.edu
and "wlcg" (wlcg.cloud.cnaf.infn.it) as provider[1]. But when I try to get an access token with it, only the error "Up-scoping is not allowed" is returned.
I don't understand the error. The (dynamically registered) client at wlcg.cloud.cnaf.infn.it allows way broader scope than I wanted the MT to use (seems like the mytoken
server UI doesn't put that as a restriction into the database). But even limiting the scope on command line yields the same error.
$ jwt_decode <.mytoken/mytoken.data.kit.edu/wlcg.cnaf.mt
{
"ver": "0.6",
"token_type": "mytoken",
"iss": "https://mytoken.data.kit.edu/",
"sub": "...",
"seq_no": 1,
"name": "gridka-monitoring",
"aud": "https://mytoken.data.kit.edu/",
"oidc_sub": "...",
"oidc_iss": "https://wlcg.cloud.cnaf.infn.it/",
"capabilities": [
"AT",
"tokeninfo"
],
"nbf": 1706085638,
"iat": 1706085638,
"auth_time": 1706085638,
"jti": "..."
}
$ mytoken at --MT-file .mytoken/mytoken.data.kit.edu/wlcg.cnaf.mt
oidc_error: invalid_scope: Up-scoping is not allowed.
$ mytoken at --MT-file .mytoken/mytoken.data.kit.edu/wlcg.cnaf.mt --scope storage.read:/
oidc_error: invalid_scope: Up-scoping is not allowed.
mytoken
has no verbose or debug mode, so I'm uncertain which party raised this error.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.