Closed
Bug 1447471
Opened 8 years ago
Closed 8 years ago
Production Lando does not read user groups properly
Categories
(Conduit :: Lando, defect)
Conduit
Lando
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: imadueme, Unassigned)
References
Details
When logging and viewing a revision at https://lando.services.mozilla.com lando gives the error: "Invalid Claims: Invalid Authorization claims in token, please check the audience and issuer".
This steps from lando-api when it runs the dryrun check, which uses your login session to determine if you're allowed to land things. That's not to say that the problem is with lando-api itself, it could be our auth0 configuration.
Comment 2•8 years ago
|
||
From what I can tell looking at the network requests in the browser, Lando UI is doing what it should be. I think maybe the env vars for Lando API could be wrong.
:ckolos, what env do you have for Lando API for the following:
- OIDC_DOMAIN
- OIDC_IDENTIFIER
Flags: needinfo?(ckolos)
Comment 3•8 years ago
|
||
| invalid | ||
LANDO_API_OIDC_IDENTIFIER=https://api.lando.services.mozilla.com
OIDC_DOMAIN=auth.mozilla.auth0.com
Flags: needinfo?(ckolos)
<ignore previous comment>
I've monkey patched these to reflect the correct values and updated our codebase.
OIDC_DOMAIN=auth.mozilla.auth0.com
OIDC_IDENTIFIER=https://api.lando.services.mozilla.com
| Reporter | ||
Comment 5•8 years ago
|
||
Confirmed fixed. Thanks ckolos!
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•