srb4j
srb4j copied to clipboard
A Java RESTFul backend framework, with user/password/access-token support.
Missing token/ token invalid / token expired: should use 401 + WWW-Authenticate header , **not 400** . And in this case the frontend should do a login. Insufficient scope: should...
The problem was described on https://github.com/googleapis/google-api-java-client/issues/1060 1. Use the class code shown on https://github.com/googleapis/google-api-java-client/issues/1060 2. Add the class as impl.support.social.GoogleCustomTimeoutHttpClient 3. In FoGoogleAuthHelper.java, replace HttpTransport creation code with ```` HttpTransport...
Find the occurences of JacksonJaxbJsonProvider and replace the registration statement with ```` register(new JacksonJaxbJsonProvider().configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false)); ````
Currently they are returning "long", meaning the generated ID. But that's a mistake. What's really returned is the number of rows that have been inserted. So, it will always return...
As a developer, I can choose between two schemes concerning verification status 1. VERIFICATION_REQUIRED: Without email verified, a user can't even login. They may not be able to something else....