Skip to content

Logout #3

@tiwari1amrit

Description

@tiwari1amrit

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

Metadata

Metadata

Assignees

Labels

questionFurther information is requested

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions