Skip to content

Omniauth registration redirects user to authorization page #12395

@alecslupu

Description

@alecslupu

Describe the bug

When using only OmniAuth to access the platform, there is an edge case when user is being redirected to authorizations page, even though the organization does not have any authorizations available.

To Reproduce

  1. Go to a Decidim inststance in the system panel
  2. Make sure you do not have any authorizations enabled.
  3. Make sure you have oimniauth
  4. Try to login using a new Omniauth account
  5. On the omniauth provider screen, create a new account ( so that u receive the verification link from Service provider )
  6. Open the verification link in a new private window ( to simulate outlook or other desktop email client )
  7. See that you are being redirected on Oauth provider pages, then TOS, then Authorizations screen.

Expected behavior

Given that i do not have any authorizations, i should not be redirected to authorizations

Screenshots

No response

Stacktrace

No response

Extra data

  • Device: Desktop
  • Device OS: Linux
  • Browser: Chrome
  • Decidim Version: 0.27
  • Decidim installation: Citizens Platform of European Commission

Additional context

No response

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions