You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have a policy that allows anyone, including anonymous users, to access a resource.
Given that the user is anonymous I don't have a token, but the ActionAllowed method asks for it:
func (w *HTTPWarden) ActionAllowed(ctx context.Context, token string, a *ladon.Request, scopes ...string) (*Context, error) {
What should I do in this case?
The text was updated successfully, but these errors were encountered:
Suppose I have a policy that allows anyone, including anonymous users, to access a resource.
Given that the user is anonymous I don't have a token, but the
ActionAllowed
method asks for it:What should I do in this case?
The text was updated successfully, but these errors were encountered: