Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OidcAuthenticationRequestHandler raises RuntimeException #143

Open
febiusWeschool opened this issue Nov 11, 2021 · 1 comment
Open

OidcAuthenticationRequestHandler raises RuntimeException #143

febiusWeschool opened this issue Nov 11, 2021 · 1 comment

Comments

@febiusWeschool
Copy link

I'm calling the handler in my platform oidc/auth controller like this: $psrRequest = $this->requestFactory->createServerRequest($request->getMethod(), $request->getRequestUri()); return $this->handler->handle($psrRequest);

but it triggers a RuntimeException with this error: Resources are not supported in serialized data. Path: Nyholm\Psr7\Stream -> Nyholm\Psr7\Response

because the serializer finds a property of type resource...

Any idea what might be wrong? Since I'm using the bundle handler I'm not really sure how to avoid it.

@ekkinox
Copy link
Contributor

ekkinox commented Dec 14, 2021

hey @febiusWeschool

if you are talking about making your application offering an OIDC auth endpoint (as platform) via the LTI symfony bundle, you have nothing else to do than making sure the flex recipe correctly enabled it (it's provided by the bundle so you don't have even to code it)

please check: https://oat-sa.github.io/doc-lti1p3/bundle/doc/message/platform/#provide-platform-oidc-authentication

if the problem is something else, could you bring a bit more context so I can help ?

thx :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants