Setting up a 8.0 DIRAC server to use tokens #7123
Replies: 5 comments 8 replies
-
So, indeed this is not yet documented because of the several PRs that modified/updated/improved thing in the meanwhile. @aldbr will do it once he's back from holiday, but if you want you can give a try to the following instructions and let us know:
Resources
{
IdProviders
{
GridPP_IAM
{
ProviderType = OAuth2
issuer = https://something-auth.web.cern.ch/
}
}
}
Then, for each CE at a time:
|
Beta Was this translation helpful? Give feedback.
-
Thanks. I just tried dirac-login against the certification server, but I got the following error:
Is that not meant to work ? |
Beta Was this translation helpful? Give feedback.
-
I also have the error:
even though I don't see anywhere that a a) have to define a port and b) what it should be. |
Beta Was this translation helpful? Give feedback.
-
Installing the TokenManager as a tornado service has triggered this bug: Having another go at the certification server, using the card from trello:
Going to the website indicated gives me:
|
Beta Was this translation helpful? Give feedback.
-
I've got one more specific complaint. |
Beta Was this translation helpful? Give feedback.
-
Hi,
I'm trying to convince one of our preprod instances to use tokens.
I'm about half a packet of chocolate cookies in and it's not going well.....
Looking at:
https://dirac.readthedocs.io/en/latest/AdministratorGuide/HowTo/authentication.html
and
https://dirac.readthedocs.io/en/latest/AdministratorGuide/Resources/identityprovider.html
(what a "Framework/Auth endpoint" in this context ? I can see that I have to install the TokenManager, but I am not sure what this is meant to tell me)
and
https://github.com/DIRACGrid/DIRAC/wiki/DIRAC-8.0 (cause I look at the upgrade nodes, but is that really a 'preview' any more ?)
there is a wild mixture of proxies and tokens and while this probably reflects reality (given that we need to use both?) I cannot find anywhere that would tell me how to configure DIRAC for the simplest (?) scenario which the WLCG experiments typically support, i.e. pilots use tokens for job submission, proxies for everything else.
Before I get a tame LHCb user to retrieve the LHCb DIRAC configuration for me from the server, is there any place in the documentation on "how to add token support" to your server that at least lists the minimum changes to the server necessary ?
I tried to do a dirac-login test, which threw (correctly as it turns out) the following error: "Cannot prepare authorization server metadata. Path /DIRAC/Security/Authorization does not exist or it's not a section", which I have now copied from the certification server, but is that documented somewhere obvious ?
I'm switching to beer now.
Daniela
Beta Was this translation helpful? Give feedback.
All reactions