func (s *IdentityService) GetOIDCAuthRequest(stateToken string) (*services.OIDCAuthRequest, error) {
	data, err := s.backend.GetVal(authRequestsPath, stateToken)
	if err != nil {
		return nil, trace.Wrap(err)
	}
	var req *services.OIDCAuthRequest
	if err := json.Unmarshal(data, &req); err != nil {
		return nil, trace.Wrap(err)
	}
	return req, nil
}
// GetOIDCAuthRequest returns OIDC auth request if found
GetOIDCAuthRequest returns OIDC auth request if found
// GetOIDCAuthRequest returns OIDC auth request if found
func (s *IdentityService) GetOIDCAuthRequest(stateToken string) (*services.OIDCAuthRequest, error) {
	data, err := s.backend.GetVal(authRequestsPath, stateToken)
	if err != nil {
		return nil, trace.Wrap(err)
	}
	var req *services.OIDCAuthRequest
	if err := json.Unmarshal(data, &req); err != nil {
		return nil, trace.Wrap(err)
	}
	return req, nil
}
func ( s * IdentityService ) GetOIDCAuthRequest ( stateToken string ) ( * services . OIDCAuthRequest , error ) { data , err := s . backend . GetVal ( authRequestsPath , stateToken ) if err != nil { return nil , trace . Wrap ( err ) } var req * services . OIDCAuthRequest if err := json . Unmarshal ( data , & req ) ; err != nil { return nil , trace . Wrap ( err ) } return req , nil }
GetOIDCAuthRequest returns OIDC auth request if found
GetOIDCAuthRequest returns OIDC auth request if found