casdoor / casdoor-js-sdk

Javascript client SDK for Casdoor
https://github.com/casdoor/casdoor
Apache License 2.0
30 stars 27 forks source link

[feature] Add signout() API #43

Open hsluoyz opened 1 year ago

hsluoyz commented 1 year ago

The signout() API can be called from application's frontend to Casdoor backend, so Casdoor will delete the Beego session (and invalidate the cookie of the browser). This API will help the application users to logout application & Casdoor at the same time.

Refer to: https://github.com/casdoor/casdoor-js-sdk#sign-in

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte