Securing Spring boot endpoint with empty authority prefix

Hey I’ve tried to secure an endpoint in spring following the community example but it fails when try to set converter.setAuthorityPrefix(“”); with an exception: the authority prefix could not be empty. IDK what should be my authority prefix.

Hi @reynier.pupo,

Welcome to the Auth0 Community!

Can you please share a link to the example you are using?

Sure, thanks. Spring Boot Authorization Tutorial: Secure an API (Java)

I reopened the blog thread. Let’s continue the conversation there: