-
Notifications
You must be signed in to change notification settings - Fork 26
Unable to create/register user in Auth #762
Comments
@pmacik are you running |
@xcoulon Yes, that's right, I'm running the I tried to run But when the
Later when I try to register a new user I get:
|
@pmacik, To run cluster service locally, you need to provide your local auth url e.g. So in short, it's loading required public keys from prod-preview, due to which token is invalid. Can you try setting auth url while running it in development mode? |
@dipak-pawar Your suggestion works for me, thanks you! |
Expected behavior
I'm trying to create/register a new user (that already exists in RHD) in the auth service using
POST /api/users
using a service account token, so I could log it in and get token for secured endpoint calls (for the purposes of contract testing)The actual code I used to create the user in auth is here.
This worked before the cluster service started to be called: (probably) #745
Actual behavior
When calling the
POST /api/users
endpoint with a valid service account token, the following error is returned:Steps to reproduce the problem
make dev
http://localhost:8089
) callSpecifications
master
branch from GHFedora 28 x86_64
The text was updated successfully, but these errors were encountered: