cisco-open / go-lanai Goto Github PK
View Code? Open in Web Editor NEWgo-lanai is an application frameworks and a set of modules that make writing applications easy
License: Other
go-lanai is an application frameworks and a set of modules that make writing applications easy
License: Other
Errors returned by some httpclient
methods, e.g. WithBaseUrl
contain strings with the raw, uninterpolated %v
verb. It appears that ErrMsg
is being set with a string is never actually formatted - the string format specified here is not processed as intended:
go-lanai/pkg/integrate/httpclient/client.go
Line 100 in e97ca50
String representation of error should not contain %v
E.g. when calling WithBaseUrl
with an empty string, the error string is cannot create client with base URL: %v
v0.13.1-0.20240330193930-c61e79fc6004
Call WithBaseUrl
using an empty string. Other methods like WithService
may be impacted similarly.
When used as OAuth2 authorization/authentication server, if client doesn't have auto-approved scopes configured, the user is asked to approve the requested scope every time when client initiate the "authorize" process. The decision is not saved even in the same session.
User's approval decision should be cached in session.
Currently the only alternative is to configure "auto-approval" for the client, which might not be desirable for certain use cases
Relavent implementation is in pkg/security/oauth2/auth/authorize/middleware.go
Please provide a description of the problem.
Please describe what you expected would happen.
Please describe what happened instead.
Please provide the version number where this issue was encountered.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.