This PR builds on top of #338 , so it will need a rebase after that one is merged.
It introduces a simple me handler to allow clients to retrieve info about the currently logged user.
This is useful for frontend applications which can rely on this endpoint to know who is the user that is currently logged in.
Changes
isAllowListed method now relies on an exact match for it's matching strategy, leaving the previous prefix based matching behind
nonce field is now ignored when serializing the Principal struct
Description
This PR builds on top of #338 , so it will need a rebase after that one is merged. It introduces a simple
me
handler to allow clients to retrieve info about the currently logged user. This is useful for frontend applications which can rely on this endpoint to know who is the user that is currently logged in.Changes
isAllowListed
method now relies on an exact match for it's matching strategy, leaving the previous prefix based matching behindnonce
field is now ignored when serializing thePrincipal
struct