creativecommons / creativecommons/commoners

[Bug] Site navigation broken after CCID login

Open
#436 1 comment 0 reactions 1 assignee Claimed by @possumbilities View on GitHub
💻 aspect: code 🔒 staff only 🚧 status: blocked 🛠 goal: fix 🟧 priority: high
Dominant language
PHP
Stars
14
Forks
10
PR merge metrics
No merged PRs in 30d

Description

## Description
After logging in to the CCGN site, one is redirected back to the CCGN site, and menu items don't lead to expected links.

## Reproduction
1. Visit: https://network.creativecommons.org/ [must not yet be logged in]
2. Click on "Members" in top navigation menu
3. Get redirected to https://login.creativecommons.org to log in (because Members is a protected area?)
4. Log in with a CCID (eg: I did with my nate@creativecommons.org CCID account)
5. Get redirected back to the CCGN home page, but now with a URL like https://network.creativecommons.org/?ticket=[long string of letters and numbers] (Note that one is not in the Members area that one first clicked on)
6. Click on "Members" in top navigation menu again
7. CCGN home page just reloads with same URL with ticket without going to https://network.creativecommons.org/members/

## Expectation
One should be able to travel from an unauthenticated state to log in and back to a URL that requires authorization seamlessly.

## Screenshots
image

## Environment
- Device: MacBook Pro laptop
- OS: MacOS Monterey 12.5
- Browser: both Brave Version 1.41.100 Chromium: 103.0.5060.134 (Official Build) (arm64) and Firefox 103.0.2 (64-bit)

## Additional context
Could possibly be related to my somewhat unique creativecommons.org email address/account?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.