We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
store.NewTestClientStore() not find();
我搬过来 clientStore := store.NewClientStore() clientStore.Set("000000", &models.Client{ ID: "000000", Secret: "999999", Domain: "http://localhost", }) manager.MapClientStorage(clientStore)
找个之后走的通,但是允许 http://localhost:9096/token?grant_type=client_credentials&client_id=000000&client_secret=000000&scope=read 会错误!请求把demo写的在详细一点点!
The text was updated successfully, but these errors were encountered:
范例说明已经修复,请查看https://github.com/go-oauth2/gin-server/blob/master/README.md。一个模拟授权码模式的完整范例请查看https://github.com/go-oauth2/oauth2/tree/master/example。
Sorry, something went wrong.
@LyricTian 谢了!
No branches or pull requests
store.NewTestClientStore() not find();
我搬过来
clientStore := store.NewClientStore()
clientStore.Set("000000", &models.Client{
ID: "000000",
Secret: "999999",
Domain: "http://localhost",
})
manager.MapClientStorage(clientStore)
找个之后走的通,但是允许
http://localhost:9096/token?grant_type=client_credentials&client_id=000000&client_secret=000000&scope=read
会错误!请求把demo写的在详细一点点!
The text was updated successfully, but these errors were encountered: