Skip to content
New issue

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

Logout #3

Open
tiwari1amrit opened this issue Jul 28, 2023 · 2 comments
Open

Logout #3

tiwari1amrit opened this issue Jul 28, 2023 · 2 comments
Assignees
Labels
question Further information is requested

Comments

@tiwari1amrit
Copy link

Hi there,
Can anybody provide me with how to do logout from Casdoor?
I tried to do login as

 guard let idToken = inksAuthLoginModel.idToken else {
            return
        }
        Task {
            do{
                let isLogout = try await casdoor.logout(idToken: idToken)
                print(isLogout)
            }catch {
                print(error)
            }
        }

But got encountered an error of

responseSerializationFailed(reason: AF.AFError.ResponseSerializationFailureReason

Can anyone please help me to fix this issue? Thanks

@casbin-bot
Copy link

@casbin-bot casbin-bot added the question Further information is requested label Jul 28, 2023
@hsluoyz
Copy link
Member

hsluoyz commented Aug 13, 2023

@Wrapping-2000

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants