Skip to content

GitHub Social Login: Cannot pickle ResolverMatch error #4165

@johnnyhuy

Description

@johnnyhuy

Describe the bug

Followed this guide to set up social login for Authentik. However, we've encountered an error when going through the GitHub login.

Tried to test it with users not in the org and it works as expected. It's just been authentication broken with a "Permission Denied" error.

This only occurs in the latest 2022.11 version. Previous versions < 2022.11 work as expected.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the GitHub integration guide
  2. Login with a user in the GitHub org
  3. Encounter error

Expected behavior

Pass authentication with GitHub

Screenshots

image

image

Logs

{"auth_via": "unauthenticated", "event": "Policy failed to run", "exc": "PicklingError('Cannot pickle ResolverMatch.')", "host": "auth.ggs.sx", "level": "warning", "logger": "authentik.policies.process", "pid": 20, "request_id": "a5c4a6274cfd494c8f94d9f6465cce62", "timestamp": "2022-12-06T10:31:30.768589"}

Version and Deployment (please complete the following information):

  • authentik version: 2022.11
  • Deployment: Kubernetes

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions