Skip to content

Create or edit Oauth2 provider page - unable to tick "include claims in ID token" due to malformed HTML? #7375

@aheath70

Description

@aheath70

Describe the bug
I am unable to enable the "include claims in ID token" on either a new or existing provider. It looks like there is a missing HTML anchor or something (not a HTML expert - sorry if I am using the wrong terminoloyg) on the page, and when I enable the switch and update/save, when I go back in to check it is still disabled.

To Reproduce
Steps to reproduce the behavior:

  1. Go to 'Admin Interface/Applications/Providers/' and choose to either create new or edit eisting provider
  2. Expand 'Advanced protocol settings'
  3. Malformed HTML can be seen.
  4. Click switch to turn on "include claims in ID token"
  5. Click update
  6. Go back in to provider and switch is still turned off.

Expected behavior
Not see the malformed HTML and to be able to enable the switch to "include claims in ID token".

Screenshots
image

Logs
Not relevant - no errors or warnings.
Entry in log when I update a claim

INF action=model_updated auth_via=session client_ip=<redacted> context={"geo":{"city":"<redacted>},"http_request":{"args":{},"method":"PUT","path":"/api/v3/providers/oauth2/11/"},"model":{"app":"authentik_providers_oauth2","model_name":"oauth2provider","name":"App","pk":11}} event=Created Event host=<redacted> logger=authentik.events.models pid=22 request_id=<redacted> timestamp=2023-10-29T23:50:41.809732 user={"email":"<redacted>","pk":7,"username":"<redacted>"}

Version and Deployment (please complete the following information):

  • authentik version: 2023.10.2
  • Deployment: docker-compose

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