Issues with PSU 1.5.0 - API Authentication configuration

Hi there,
I am not sure, but it seems that version 1.5.0 has some issues with configuring Roles, Identiy and AppToken when using the GUI …

What I did:

  1. I added a new role usign Settings–>Security–>Roles
  2. I added a new identity using Settings–>Identities
    –> here I was not able to assign my newly created role (I was abel to assign ‘old’ roles)
  3. I created a new AppToken based on the identity & role
  4. I added -Authentication -Role to my endpoint definition
  5. finally I tried to access the Endpoint using the AppToken
    –> I always get an unauthorized (401) error

Since I got the above scenario working with Release 1.4.9 I switched back and tried it once again using Release 1.4.9 …
I did the follwoing steps:

  1. I added a new role
  2. I added a new identity and assigned it the role created in step 1
  3. I used the API to create a new token
    –> Invoke-RestMethod “http://itshopdev.ethz.ch:5000/api/v1/apptoken/grant/$Identity_Id” -WebSession $Session
  4. I added -Authentication -Role to my endpoint definition
  5. finally I tried to access the Endpoint using the AppToken and everythign worked fine

Finally I swithced back to Release 1.5.0 and everthing worked fine …

Am I doing something wrong or did a bug sneak in with release 1.5.0?

Cheers Paul

Product: PowerShell Universal
Version: 1.5.0

I’ll take a look at this today.