Describe the bug
Logging in while registering in a space returns the user to the parent TeSS, and not the space
To Reproduce
Steps to reproduce the behavior:
- OIDC is enabled in the TeSS instance
- User is not logged in, user is in the space
- User clicks on 'Register training material'
- They are in
<space-url>/materials/new with the Log in page
- They click on the institutional login (login via OIDC)
- They successfully log in, BUT they return to the parent TeSS instance in
<main-url>/materials/new.
Expected behavior
6. should be return to <space-url>/materials/new
Describe the bug
Logging in while registering in a space returns the user to the parent TeSS, and not the space
To Reproduce
Steps to reproduce the behavior:
<space-url>/materials/newwith the Log in page<main-url>/materials/new.Expected behavior
6.should be return to<space-url>/materials/new