-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Labels
Description
Describe the bug
In the Syncing Discord roles to Authentik groups Section of the Documentation the connection.access_token
returns a None object when following all the Steps
To Reproduce
- Follow the Steps to Implement
- Add this Code at Line > 17:
ak_create_event("discord_error", source=context["source"], code=access_token
- Run the Flow
- Check for the Event Result
- The code Part will return None (and the Flow will not sync aka. Discord will Respond with 401 response code)
Expected behavior
Access Token not being None and the Sync working
Screenshots
Token as responded (containing Bearer
part because it has been copied from authorization header)
Response Recieved from Discord (Returned Object guild_member_request
)
Version and Deployment (please complete the following information):
- authentik version: 2024.12.3
- Deployment: docker-compose
Additional context
The Guide is pretty complicated in my opinion (not beginner Friendly)
profiluefter