casdoor / casdoor-js-sdk

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

feat: support silentSignin #37

Closed jakiuncle closed 1 year ago

jakiuncle commented 1 year ago

Fix: https://github.com/casdoor/casdoor-js-sdk/issues/36

feat: silentSignin. It logs in through the hidden iframe element, and directs to the page you specify to complete the silent login after the login is successful

casbin-bot commented 1 year ago

@seriouszyx @ComradeProgrammer @Resulte please review

codecov[bot] commented 1 year ago

Codecov Report

Merging #37 (2558366) into master (3b34df2) will decrease coverage by 3.12%. The diff coverage is 0.00%.

@@            Coverage Diff            @@
##           master     #37      +/-   ##
=========================================
- Coverage   11.11%   8.00%   -3.12%     
=========================================
  Files           2       2              
  Lines          54      75      +21     
  Branches       13      18       +5     
=========================================
  Hits            6       6              
- Misses         48      69      +21     
Impacted Files Coverage Δ
src/sdk.ts 5.47% <0.00%> (-2.22%) :arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

github-actions[bot] commented 1 year ago

:tada: This PR is included in version 0.7.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: