Questions tagged [service-provider]

380 questions
2
votes
0 answers

WSO2 IS 5.10 - User Portal application missing in service provider list

My User Portal app is missing when I check the Service Providers: But when I try to create a new one it tells me that it still exists . Moreover, the User Portal works fine but I need to make some changes in the configuration. Can you please help…
2
votes
0 answers

SAML support for jersey rest application

I have a java jersey rest application. This application will be service provider and keycloak will be used as identity provider. The protocol used will be SAML. Every example that I find on the internet is using spring security SAML. Is there any…
2
votes
0 answers

Are a user's certificates linkable if he creates a new one?

If I as a user interact with a service provider twice, and obtain a new certificate each time, will the service provider then be able to know that I am the same person? If yes then how?? I cant seem to find anything about this....
2
votes
4 answers

Class 'App\Providers\FortifyServiceProvider' not found in Laravel 8.8

This is the error message that shows up in my browser: Class 'App\Providers\FortifyServiceProvider'not found in C:\xampp\htdocs\blog\vendor\laravel\framework\src\Illuminate\Foundation\ProviderRepository.php (line 209) public function…
Kenny
  • 61
  • 1
  • 2
  • 4
2
votes
1 answer

How do I pass a registered service singleton into another registered service's constructor in Laravel 7?

I have recently been learning about the AppServiceProvider. I have registered a service in the AppServiceProvider which creates a singleton - an instantiated GuzzleHttp Client, like so: $this->app->singleton('GuzzleHttp\Client', function($api) { …
party-ring
  • 1,761
  • 1
  • 16
  • 38
2
votes
0 answers

OpenID Connect redirects to client but user is not logged in

I am trying to set up OpenID Connect IdP-SP pair on a VPS on 2 different subdomains. I successfully managed to make different implementations work on local environment but on the server they don't. I am currently using the certified node.js…
2
votes
1 answer

Laravel package custom migration command

I would like to make a package which uses a custom stub for creating migrations needed for my package. More precisely, running the command should make pivot tables for models which have a specific trait present. If I make a "normal" command, I can…
Norgul
  • 4,613
  • 13
  • 61
  • 144
2
votes
1 answer

How to implement single sign on (SSO) as an identity provider & service provider

Please help. I'm aware there are several posts / docs about SSO implementations but I still can't seem to find one that addresses my use case - probably because I'm still new to SSO implementation. Scenario: I have an existing Symfony 4 application…
2
votes
1 answer

Laravel - fire service provider just when another class have own instance

I want to fire one of my Service Provider (and its bindings) just when (and only when) another given class will have own object. In another words: I want to pass Service Provider to object by Dependency injection like this: class ExampleController…
Adam Kozlowski
  • 5,606
  • 2
  • 32
  • 51
2
votes
2 answers

No service for type Identity.RoleManager - Identity.IdentityRole has been registered error

I use Microsoft Identity for the first time. I configured users and roles with IdentityUser and IdentityRole. I want to assign a role to users in Startup.cs. I wrote a method to make it which is private async Task CreateUserRoles(IServiceProvider…
colss
  • 51
  • 9
2
votes
2 answers

Problem with DTE2 for Running Commands in Visual Studio

I'm trying to make a extension for visual studio after watching a video on Youtube of how to get started. After following some instructions I ran across a littler error when trying to set up the extension for a custom command in the Menu under…
2
votes
1 answer

Unit tests for a service-provider interface in Maven

Recently our dev team has moved from Ant build files to Maven for our project management and build cycle. So far I'm really happy with the results. Since I'm still getting to grips with Maven, I don't have an answer ready for unusual build…
G_H
  • 11,739
  • 3
  • 38
  • 82
2
votes
0 answers

Is it possible to generate service provider with annotation processor in java9 modules based project

Before java9 modules there was an option to generate both service provider implementation classes and META-INF/services files. With this option service provider classes generated during annotation processing were accessible via ServiceLoader in…
2
votes
1 answer

Laravel - Initialize class only for specific routes

In my app I've got a group of routes which need some bootstraping before dispatching. To illustrate the situation: There is a special routes group with prefix 'app'. All of this routes have also some…
ficus
  • 196
  • 2
  • 17
2
votes
0 answers

Switch Condition in Laravel service provider

I was trying to get a french month using service provider. my code is, Blade::directive('frenchmonth', function($arguments){ switch($arguments) { case "January": $frmonth="Janvier"; break; case "February": …
Reshma
  • 189
  • 2
  • 5
  • 18