casdoor / casdoor-go-sdk

Go client SDK for Casdoor
https://github.com/casdoor/casdoor
Apache License 2.0
82 stars 65 forks source link

[question] how to get code silently just using username and password(without ui and redirect)? #111

Closed radiorz closed 2 months ago

radiorz commented 2 months ago

how to get code silently just use username and password(without ui and redirect)?

casbin-bot commented 2 months ago

@tangyang9464 @JalinWang @imp2002

hsluoyz commented 2 months ago

@radiorz see: https://casdoor.org/docs/basic/public-api#4-by-username-and-password or see what HTTP APIs are called by web UI in Chrome F12 debug tool.