Domain Record Showing 403 Access denied

Created on 28 January 2025, 2 months ago

Drupal Version

10.3.9

Domain module version

2.0.0-beta2

Expected Behavior

I have created 1 main default record ()
I have created the main default domain and 1 microsites
1. Default domain - https://club.main.local/ - Active, Default - Yes, Scheme - variable (https)
2. Microsite Team - https://club.main.local/team/ - Active, Default - No, Scheme - variable (https)

However for my microsite, I have a dedicated homepage, and for this,
I created a homepage(node/28) and set the domain access setting to "team".
then in the site setting set the "Default front page" to node/28.
when I tried to access the "https://club.main.local/team/" as an anonymous user I got 403 forbidden but if I access "https://club.main.local/node/28" I can access the page.

when I tried to access the "https://club.main.local/team/" when logged in as an administrator user. I can access the microsite.

in Services.yml cors config is below -
cors.config: { enabled: false, allowedHeaders: { }, allowedMethods: { }, allowedOrigins: ['*'], exposedHeaders: false, maxAge: false, supportsCredentials: false }

do I need to set any permission for this?
or update the domain setting so it's available for domains?

Actual Behavior

The Annonymous user should access the microsite domain

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom swatichouksey4u

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @swatichouksey4u
  • πŸ‡¬πŸ‡§United Kingdom swatichouksey4u
  • πŸ‡¬πŸ‡§United Kingdom swatichouksey4u

    i spent some time checking the access issues. and the 2nd team domain is using domain microsite and that had issue.
    Domain microsite still using the setting from the "domain sites settings" module not from the domain configs. and that's why It was redirecting to the default homepage settings node/1 which was dedicated only to the default domain.

  • πŸ‡ΊπŸ‡¦Ukraine EvilArgest

    I have the same problem. I have configured 2 domain records with aliases and rebuilt the permissions.

    However, the nodes for the second domain (not default) show the "You are not authorized to access this page." error. I have not selected any domain access content settings, so all content should be available for all domains by default.

Production build 0.71.5 2024