Package com.irurueta.authserver.bff.api.web.login
package com.irurueta.authserver.bff.api.web.login
Starts the OpenID Connect login of the BFF.
-
ClassDescriptionStarts the OpenID Connect login, as the contract
apis/bff/rest-server/bff-api-v1.yamldescribes it through the generatedLoginApi.Answers a login request whose parameters break the constraints of the contract (returnTotoo long,acrValuesof the wrong format,maxAgeout of range) with400, as the contract declares: the validation of the generated interface throws aConstraintViolationException, which would otherwise be a500.Configuration of the BFF login (bff.login.*).Sends the browser, once the OAuth2 login has succeeded, back to thereturnTothatBffLoginControllervalidated and kept in the session.Decides whether areturnTovalue asked by the browser is a safe place to send it back to after the login.Adds the step-up values thatBffLoginControllerkept in the session to the authorization request built by the delegate, as the OpenID Connectacr_valuesandmax_ageparameters, and forgets them, so they apply to one login only.Step-up values of a login (RFC 9470), kept in the session byBffLoginControlleruntilStepUpAuthorizationRequestResolveradds them to the authorization request.